Raise min asymmetric key length for all ciphers to 2048 bit
This commit is contained in:
1 parent
eff59b4645
commit
dfce5449c2
22 files changed
+63
-61
No files matched your search
@@ -171,8 +171,8 @@ public class PgpKeyOperation {
|
||||
log.add(LogType.MSG_CR_ERROR_NO_KEYSIZE, indent);
|
||||
return null;
|
||||
}
|
||||
if (add.mKeySize < 512) {
|
||||
log.add(LogType.MSG_CR_ERROR_KEYSIZE_512, indent);
|
||||
if (add.mKeySize < 2048) {
|
||||
log.add(LogType.MSG_CR_ERROR_KEYSIZE_2048, indent);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user