[java-opensaml] branch main updated: Bump key for test directory server to 4096 bits

Ian Young ian at iay.org.uk
Fri Sep 9 16:08:58 UTC 2022


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

iay pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=438ae324ee223813f16fcf95a1a681af6e1d6578

The following commit(s) were added to refs/heads/main by this push:
     new 438ae324e Bump key for test directory server to 4096 bits
438ae324e is described below

commit 438ae324ee223813f16fcf95a1a681af6e1d6578
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri Sep 9 17:08:51 2022 +0100

    Bump key for test directory server to 4096 bits
---
 .../org/opensaml/security/ldap/impl/README.md        |   4 ++--
 .../org/opensaml/security/ldap/impl/test-ldap.key    |  19 ++++++++++++-------
 .../opensaml/security/ldap/impl/test-ldap.keystore   | Bin 2501 -> 4326 bytes
 3 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/README.md b/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/README.md
index 22baeffc8..aededa082 100644
--- a/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/README.md
+++ b/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/README.md
@@ -4,11 +4,11 @@ This directory contains resources to construct an in-memory directory server
 for use in tests.
 
 * `test-ldap.keystore` contains a single `PrivateKeyEntry`
-    * created by `keytool -genkey -keyalg RSA -keystore test-ldap.keystore -storepass changeit -validity 3600 -keysize 2048 -dname CN=localhost,DC=shibboleth,DC=net`
+    * created by `keytool -genkey -keyalg RSA -keystore test-ldap.keystore -storepass changeit -validity 3600 -keysize 4096 -dname CN=localhost,DC=shibboleth,DC=net`
     * the keystore password is `changeit`
     * the self-signed certificate is for `CN=localhost, DC=shibboleth, DC=net`
     * the certificate's expiration date is set 10 years after creation
-* `test-ldap.key` is the 2018-bit RSA public key
+* `test-ldap.key` is the 4096-bit RSA public key
     * extract certificate: `keytool -keystore test-ldap.keystore -storepass changeit -exportcert -file temp.crt`
     * extract key: `openssl x509 -inform der -in temp.crt -noout -pubkey >test-ldap.key`
     * display using `openssl rsa -pubin -noout -text -in test-ldap.key`
diff --git a/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.key b/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.key
index caa68752e..a17dce726 100644
--- a/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.key
+++ b/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.key
@@ -1,9 +1,14 @@
 -----BEGIN PUBLIC KEY-----
-MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgK4BD3v9QQSXTXj8z1c1
-ZfRC/j5N7nKhDDIoN4uar1iqxXf+Ts44nFFPh5XMoIM6PFHEZrvaeKtYq0+QIsnP
-VLhOWfHyDCifXE+r6vcXGcWfsizG3kB71BIp5229vfzcKcaZKDenI9RQBuP9A5Nd
-6OkasknkNi25s7+svVSqMAIZK3oW+/SxelVH8GWzvCxC0Xd4m3Rl9LzynZrGDl7B
-/ZWaNZp5sqWpdFf4EImLzqlqjBpw3IQUAezrT7+Qm0lMKTqR+me9YsQPlwF75PrI
-RX8jreOD+ajdzW9QOIUV1tNnnsQEDX1IjmqkIslwt+048ZCn2x/8Iim3FD6EgiVi
-lQIDAQAB
+MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAq4SN0aWRFwpTmLSPztah
+KId2yfp8LLwvke99LEAgOkJf/1sMxu8GuR3qQgpNfOmr1ly+wkNVcn4RtGEgH7GD
+1gGGGstIy7FBMWQ5TjimvakmH1nwELi5T4xfNFtBSBiOONti0GnJbDd769z3XF48
+PTDY4uGqPBQLpEs20Cc2cWhxJefEGS7swF8PeLZYJBCFaM7g59K+7sdtzMI75tXg
+lTXWAUc5d+s9X7yXIWQKknHRjt/XEGXQ8HadtPS3PlGhRgWfUajGeP+UCyO6NfOv
+OYuPboAKhkG9NYyiwFzviPRm9B+BE0I27JhCJkxqkUNEH67urM6uFtsfpO5eyf4G
+bZD4+MIc4St2zsf4CgrNZ9CuAi6DLg+X3r2hjf/UBjJjS2GG98WJuFuFfvdsmsmk
+NzIfi0o855SL73NZXcw/juAWNNVSScs+HzWju0+/FILBOQ29dER8H33NSqCT3ajY
+LRvbek22dIKwdsGsQK38C/GJOuUq2enLgd0hXtQtjQKn9PhbRFA2HPNV9ew7ltxy
+cs1DtNhir9bZkR0S/yYk3NCqSxwuA+eLpbf5f0LlIDlumDT9Gw//zMBDSZiclC58
+qTNVSnbNpHyhnWIC2+0TjOhL9nmbdLkh7FITHVX2cVnSdLYmpLzRnZZW4EeCiywZ
+QjndrHB/fz5gldO3zC2o4ksCAwEAAQ==
 -----END PUBLIC KEY-----
diff --git a/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.keystore b/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.keystore
index f0d704be7..488cc52a8 100644
Binary files a/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.keystore and b/opensaml-security-impl/src/test/resources/org/opensaml/security/ldap/impl/test-ldap.keystore differ

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


More information about the commits mailing list