소스 검색

fix: rsa 8192 certificate deploy issue #626

Jacky 6 달 전
부모
커밋
ef7be186c4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 	}