SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048.

This commit is contained in:
markrmiller 2018-03-16 11:50:52 -05:00
parent cbd4b671ff
commit 7330010e1d
2 changed files with 4 additions and 2 deletions

View File

@ -59,6 +59,8 @@ New Features
Bug Fixes
----------------------
* SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048. (Mark Miller)
Optimizations
----------------------

View File

@ -287,8 +287,8 @@ public final class CryptoKeys {
// If this ever comes back to haunt us see the discussion at
// SOLR-9609 for background and code allowing this to go
// into security.json
private static final int DEFAULT_KEYPAIR_LENGTH = 1024;
// into security.json. Also see SOLR-12103.
private static final int DEFAULT_KEYPAIR_LENGTH = 2048;
public RSAKeyPair() {
KeyPairGenerator keyGen = null;