kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [kafka] Diff for: [GitHub] junrao merged pull request #6096: KAFKA-7789: Increase size of RSA keys used by TestSslUtils
Date Mon, 14 Jan 2019 22:00:32 GMT
diff --git a/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java b/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java
index 90b6d8d83cf..b2de0e6a2b5 100644
--- a/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java
+++ b/clients/src/test/java/org/apache/kafka/test/TestSslUtils.java
@@ -89,7 +89,7 @@ public static X509Certificate generateCertificate(String dn, KeyPair pair,
 
     public static KeyPair generateKeyPair(String algorithm) throws NoSuchAlgorithmException
{
         KeyPairGenerator keyGen = KeyPairGenerator.getInstance(algorithm);
-        keyGen.initialize(1024);
+        keyGen.initialize(2048);
         return keyGen.genKeyPair();
     }
 


With regards,
Apache Git Services

Mime
View raw message