mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
increase rsa key size by default
This commit is contained in:
@@ -32,7 +32,7 @@ public class CertificateTools {
|
||||
|
||||
public static KeyPair generateKeyPair() throws NoSuchAlgorithmException {
|
||||
KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
|
||||
keyGen.initialize(1024); //FIXME:
|
||||
keyGen.initialize(2048); //FIXME:
|
||||
return keyGen.generateKeyPair();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user