You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by eb...@apache.org on 2020/04/21 13:27:46 UTC

[tomcat-jakartaee-migration] branch master updated: Change the curve of the EC key to run the tests on OpenJDK 15 or later

This is an automated email from the ASF dual-hosted git repository.

ebourg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git


The following commit(s) were added to refs/heads/master by this push:
     new 102f42a  Change the curve of the EC key to run the tests on OpenJDK 15 or later
102f42a is described below

commit 102f42ade3e94a14e64e20ce187295c4a4597674
Author: Emmanuel Bourg <eb...@apache.org>
AuthorDate: Tue Apr 21 15:26:40 2020 +0200

    Change the curve of the EC key to run the tests on OpenJDK 15 or later
---
 pom.xml                         |   7 +++++++
 src/test/resources/keystore.p12 | Bin 3848 -> 3450 bytes
 2 files changed, 7 insertions(+)

diff --git a/pom.xml b/pom.xml
index 3ddfc68..6aaa90d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -137,6 +137,13 @@
                   </manifest>
                 </jar>
 
+                <!-- Generate the signed jar files -->
+                <!--
+                  The keystore contains 3 keys (RSA, DSA and EC) and was generated with Java 12:
+                    keytool -genkey -validity 3650 -keystore keystore.p12 -storetype pkcs12 -dname CN=Test -alias rsa -keyalg RSA -keysize 1024
+                    keytool -genkey -validity 3650 -keystore keystore.p12 -storetype pkcs12 -dname CN=Test -alias dsa -keyalg DSA -keysize 1024
+                    keytool -genkey -validity 3650 -keystore keystore.p12 -storetype pkcs12 -dname CN=Test -alias ec  -keyalg EC  -groupname secp384r1
+                -->
                 <parallel>
                   <sequential>
                     <copy file="target/test-classes/hellocgi.jar" tofile="target/test-classes/hellocgi-signed-rsa.jar"/>
diff --git a/src/test/resources/keystore.p12 b/src/test/resources/keystore.p12
index 6f1cf7a..8332948 100644
Binary files a/src/test/resources/keystore.p12 and b/src/test/resources/keystore.p12 differ


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org