[root@ibm-p9z-27-lp13 components]# git diff camel-crypto/src/test/java/org/apache/camel/component/crypto/ECDSASignatureTest.java diff --git a/components/camel-crypto/src/test/java/org/apache/camel/component/crypto/ECDSASignatureTest.java b/components/camel-crypto/src/test/java/org/apache/camel/component/crypto/ECDSASignatureTest.java index 7b20ee38c739..6a1804750df1 100644 --- a/components/camel-crypto/src/test/java/org/apache/camel/component/crypto/ECDSASignatureTest.java +++ b/components/camel-crypto/src/test/java/org/apache/camel/component/crypto/ECDSASignatureTest.java @@ -63,7 +63,8 @@ public class ECDSASignatureTest extends CamelTestSupport { // see if we can load the keystore et all try { - KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); + //KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); + KeyStore keyStore = KeyStore.getInstance("ECDSA"); InputStream in = ECDSASignatureTest.class.getResourceAsStream("/org/apache/camel/component/crypto/ecdsa.jks"); keyStore.load(in, "security".toCharArray()); privateKey = (PrivateKey) keyStore.getKey("ECDSA", "security".toCharArray()); [root@ibm-p9z-27-lp13 components]# [root@ibm-p9z-27-lp13 components]# mvn test -pl camel-crypto [INFO] Scanning for projects... [INFO] [INFO] -------------------< org.apache.camel:camel-crypto >-------------------- [INFO] Building Camel :: Crypto 2.23.2.fuse-7_13_0-00013-redhat-00001 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- buildmetadata-maven-plugin:1.7.0:provide-buildmetadata (build-metadata) @ camel-crypto --- [INFO] Executing: /bin/sh -c cd /root/camel-st/fuse-qe/bash/camel/components/camel-crypto && git rev-parse --verify HEAD [INFO] Working directory: /root/camel-st/fuse-qe/bash/camel/components/camel-crypto [INFO] Executing: /bin/sh -c cd /root/camel-st/fuse-qe/bash/camel/components/camel-crypto && git whatchanged --date=iso HEAD^..028844b5cb00e512e3319689dd05e1e22e9693e2 -- /root/camel-st/fuse-qe/bash/camel/components/camel-crypto [INFO] Working directory: /root/camel-st/fuse-qe/bash/camel/components/camel-crypto [INFO] Writing properties '/root/camel-st/fuse-qe/bash/camel/components/camel-crypto/target/classes/META-INF/build.metadata'... [INFO] [INFO] --- maven-bundle-plugin:3.5.1:cleanVersions (versions) @ camel-crypto --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ camel-crypto --- [INFO] Executing: /bin/sh -c cd /root/camel-st/fuse-qe/bash/camel/components/camel-crypto && git rev-parse --verify HEAD [INFO] Working directory: /root/camel-st/fuse-qe/bash/camel/components/camel-crypto [INFO] Storing buildNumber: 028844b5cb00e512e3319689dd05e1e22e9693e2 at timestamp: 1716127975509 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref [INFO] Executing: /bin/sh -c cd /root/camel-st/fuse-qe/bash/camel/components/camel-crypto && git rev-parse --verify HEAD [INFO] Working directory: /root/camel-st/fuse-qe/bash/camel/components/camel-crypto [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- project-sources-maven-plugin:0.3:archive (project-sources-archive) @ camel-crypto --- [INFO] Skipping the assembly in this project because it's not the Execution Root [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ camel-crypto --- [INFO] [INFO] --- camel-package-maven-plugin:2.23.2.fuse-7_13_0-00013-redhat-00001:prepare-components (prepare) @ camel-crypto --- [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ camel-crypto --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] Copying 3 resources [INFO] Copying 1 resource [INFO] Copying 1 resource [INFO] skip non existing resourceDirectory /root/camel-st/fuse-qe/bash/camel/components/camel-crypto/target/generated/camel/languages [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ camel-crypto --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ camel-crypto --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 15 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ camel-crypto --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 15 source files to /root/camel-st/fuse-qe/bash/camel/components/camel-crypto/target/test-classes [WARNING] [options] bootstrap class path not set in conjunction with -source 8 [WARNING] /root/camel-st/fuse-qe/bash/camel/components/camel-crypto/src/test/java/org/apache/camel/converter/crypto/SpringPGPDataFormatTest.java:[26,33] [deprecation] springCamelContext(String) in SpringCamelContext has been deprecated [WARNING] /root/camel-st/fuse-qe/bash/camel/components/camel-crypto/src/test/java/org/apache/camel/converter/crypto/SpringPGPDataFormatNoPassPhraseTest.java:[26,33] [deprecation] springCamelContext(String) in SpringCamelContext has been deprecated [WARNING] /root/camel-st/fuse-qe/bash/camel/components/camel-crypto/src/test/java/org/apache/camel/converter/crypto/SpringCryptoDataFormatTest.java:[45,33] [deprecation] springCamelContext(String) in SpringCamelContext has been deprecated [WARNING] /root/camel-st/fuse-qe/bash/camel/components/camel-crypto/src/test/java/org/apache/camel/component/crypto/SpringSignatureTest.java:[38,33] [deprecation] springCamelContext(String) in SpringCamelContext has been deprecated [WARNING] /root/camel-st/fuse-qe/bash/camel/components/camel-crypto/src/test/java/org/apache/camel/component/crypto/ECDSASignatureTest.java:[49,12] [deprecation] isJava16() in TestSupport has been deprecated [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ camel-crypto --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.camel.component.crypto.ECDSASignatureTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.86 s - in org.apache.camel.component.crypto.ECDSASignatureTest [INFO] Running org.apache.camel.component.crypto.SpringSignatureTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.624 s - in org.apache.camel.component.crypto.SpringSignatureTest [INFO] Running org.apache.camel.converter.crypto.CryptoDataFormatTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.758 s - in org.apache.camel.converter.crypto.CryptoDataFormatTest [INFO] Running org.apache.camel.converter.crypto.HMACAccumulatorTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.camel.converter.crypto.HMACAccumulatorTest [INFO] Running org.apache.camel.converter.crypto.HexUtilsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.85 s - in org.apache.camel.converter.crypto.HexUtilsTest [INFO] Running org.apache.camel.converter.crypto.PGPDataFormatDynamicTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.537 s - in org.apache.camel.converter.crypto.PGPDataFormatDynamicTest [INFO] Running org.apache.camel.converter.crypto.PGPDataFormatElGamalTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.apache.camel.converter.crypto.PGPDataFormatElGamalTest [INFO] Running org.apache.camel.converter.crypto.PGPDataFormatTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.128 s - in org.apache.camel.converter.crypto.PGPDataFormatTest [INFO] Running org.apache.camel.converter.crypto.SpringCryptoDataFormatTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.29 s - in org.apache.camel.converter.crypto.SpringCryptoDataFormatTest [INFO] Running org.apache.camel.converter.crypto.SpringPGPDataFormatNoPassPhraseTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.852 s - in org.apache.camel.converter.crypto.SpringPGPDataFormatNoPassPhraseTest [INFO] Running org.apache.camel.converter.crypto.SpringPGPDataFormatTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.379 s - in org.apache.camel.converter.crypto.SpringPGPDataFormatTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 96, Failures: 0, Errors: 0, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:04 min [INFO] Finished at: 2024-05-19T10:13:45-04:00 [INFO] ------------------------------------------------------------------------ [root@ibm-p9z-27-lp13 components]#