[java-support] branch master updated: Remove spurious warning on key size

Rod Widdowson rdw at steadingsoftware.com
Thu Oct 10 11:04:33 EDT 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=55b7d8bee244e33dede1436f63196bee070360af

The following commit(s) were added to refs/heads/master by this push:
       new  55b7d8b   Remove spurious warning on key size
55b7d8b is described below

commit 55b7d8bee244e33dede1436f63196bee070360af
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Oct 10 16:04:10 2019 +0100

    Remove spurious warning on key size
---
 .../java/support/security/SelfSignedCertificateGenerator.java         | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/security/SelfSignedCertificateGenerator.java b/src/main/java/net/shibboleth/utilities/java/support/security/SelfSignedCertificateGenerator.java
index 4ec0628..8fe09dc 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/security/SelfSignedCertificateGenerator.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/security/SelfSignedCertificateGenerator.java
@@ -256,10 +256,6 @@ public class SelfSignedCertificateGenerator {
 
     /** Validates the settings. */
     protected void validate() {
-        if (args.keySize > 2048) {
-            log.warn("Key size is greater than 2048, this may cause problems with some JVMs");
-        }
-
         if (args.hostname == null || args.hostname.length() == 0) {
             throw new IllegalArgumentException("A non-empty hostname is required");
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list