Modify minimumKeySize of RSA to 1024 for old keys.

tokarchuk/v1.17
Yixin Hao 9 years ago
parent 50cd67cd4b
commit 5f25553b0d
  1. 2
      models/publickey.go

@ -123,7 +123,7 @@ var minimumKeySizes = map[string]int{
"(NTRU)": 1087,
"(MCE)": 1702,
"(McE)": 1702,
"(RSA)": 2048,
"(RSA)": 1024,
"(DSA)": 1024,
}

Loading…
Cancel
Save