From commits-return-11016-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Mon Jan 14 23:00:34 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5C149180608 for ; Mon, 14 Jan 2019 23:00:34 +0100 (CET) Received: (qmail 67296 invoked by uid 500); 14 Jan 2019 22:00:33 -0000 Mailing-List: contact commits-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list commits@kafka.apache.org Received: (qmail 67287 invoked by uid 99); 14 Jan 2019 22:00:33 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2019 22:00:33 +0000 From: GitBox To: commits@kafka.apache.org Subject: [kafka] Diff for: [GitHub] junrao merged pull request #6096: KAFKA-7789: Increase size of RSA keys used by TestSslUtils Message-ID: <154750323281.21800.6233195429752367043.gitbox@gitbox.apache.org> Date: Mon, 14 Jan 2019 22:00:32 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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