Explorar el Código

fix: rsa 8192 certificate deploy issue #626

Jacky hace 6 meses
padre
commit
ef7be186c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      internal/validation/key_type.go

+ 1 - 1
internal/validation/key_type.go

@@ -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
 	}