feat: fix cert's ES options

This commit is contained in:
Yang Luo
2024-03-10 19:30:05 +08:00
parent e4e225db32
commit e5da57a005
5 changed files with 31 additions and 47 deletions

View File

@ -37,7 +37,7 @@ func TestGenerateRsaKeys(t *testing.T) {
func TestGenerateEsKeys(t *testing.T) {
fileId := "token_jwt_key"
certificate, privateKey, err := generateEsKeys(4096, 256, 20, "Casdoor Cert", "Casdoor Organization")
certificate, privateKey, err := generateEsKeys(256, 20, "Casdoor Cert", "Casdoor Organization")
if err != nil {
panic(err)
}