1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-29 08:17:31 -04:00

Merge pull request #1519 from haoyixin/develop

Modify minimumKeySize of RSA to 1024 for old keys.
This commit is contained in:
无闻 2015-08-21 16:01:32 +08:00
commit 0b97290c07

View File

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