Browse Source

Merge pull request #1519 from haoyixin/develop

Modify minimumKeySize of RSA to 1024 for old keys.
pull/1523/head
无闻 9 years ago
parent
commit
0b97290c07
  1. 2
      models/publickey.go

2
models/publickey.go

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

Loading…
Cancel
Save