mirror of https://github.com/apache/lucene.git
SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048.
This commit is contained in:
parent
cbd4b671ff
commit
7330010e1d
|
@ -59,6 +59,8 @@ New Features
|
||||||
Bug Fixes
|
Bug Fixes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
* SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048. (Mark Miller)
|
||||||
|
|
||||||
Optimizations
|
Optimizations
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -287,8 +287,8 @@ public final class CryptoKeys {
|
||||||
|
|
||||||
// If this ever comes back to haunt us see the discussion at
|
// If this ever comes back to haunt us see the discussion at
|
||||||
// SOLR-9609 for background and code allowing this to go
|
// SOLR-9609 for background and code allowing this to go
|
||||||
// into security.json
|
// into security.json. Also see SOLR-12103.
|
||||||
private static final int DEFAULT_KEYPAIR_LENGTH = 1024;
|
private static final int DEFAULT_KEYPAIR_LENGTH = 2048;
|
||||||
|
|
||||||
public RSAKeyPair() {
|
public RSAKeyPair() {
|
||||||
KeyPairGenerator keyGen = null;
|
KeyPairGenerator keyGen = null;
|
||||||
|
|
Loading…
Reference in New Issue