Przeglądaj źródła

fix: rsa 8192 certificate deploy issue #626

Jacky 6 miesięcy temu
rodzic
commit
ef7be186c4
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 	}