Skip to content

Commit

Permalink
fix: rsa 8192 certificate deploy issue #626
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Oct 19, 2024
1 parent 2a9ac5d commit ef7be18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/validation/key_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

func autoCertKeyType(fl val.FieldLevel) bool {
switch certcrypto.KeyType(fl.Field().String()) {
case "", certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096,
case "", certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096, certcrypto.RSA8192,
certcrypto.EC256, certcrypto.EC384:
return true
}
Expand Down

0 comments on commit ef7be18

Please sign in to comment.