[
https://issues.apache.org/jira/browse/CAMEL-16959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Yue Fang resolved CAMEL-16959.
--------------------------------------
Fix Version/s: 3.12.0
Resolution: Fixed
> tests in camel-crypto failed with JDK17
> ---------------------------------------
>
> Key: CAMEL-16959
> URL: https://issues.apache.org/jira/browse/CAMEL-16959
> Project: Camel
> Issue Type: Sub-task
> Components: camel-crypto
> Reporter: Freeman Yue Fang
> Assignee: Freeman Yue Fang
> Priority: Major
> Fix For: 3.12.0
>
>
> we can see from the log
> {code}
> java.security.SignatureException:
> java.security.InvalidAlgorithmParameterException: Legacy SunEC curve
> disabled: sect409r1 [NIST B-409] (1.3.132.0.37)
> at sun.security.ec.ECDSASignature.engineSign(ECDSASignature.java:472)
> ~[jdk.crypto.ec:?]
> at java.security.Signature$Delegate.engineSign(Signature.java:1424)
> ~[?:?]
> at java.security.Signature.sign(Signature.java:713) ~[?:?]
> at
> org.apache.camel.component.crypto.processor.SigningProcessor.process(SigningProcessor.java:42)
> ~[classes/:?]
> at
> org.apache.camel.component.crypto.DigitalSignatureProducer.process(DigitalSignatureProducer.java:37)
> ~[classes/:?]
> at
> org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66)
> ~[camel-support-3.12.0-SNAPSHOT.jar:3.12.0-SNAPSHOT]
> at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:172)
> ~[camel-core-processor-3.12.0-SNAPSHOT.jar:3.12.0-SNAPSHOT]
> at
> org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:469)
> ~[camel-core-processor-3.12.0-SNAPSHOT.jar:3.12.0-SNAPSHOT]
> {code}
> this error actually exists since JDK16, and I believe this is caused by the
> JDK change(Remove the legacy elliptic curves) tracked by
> https://bugs.openjdk.java.net/browse/JDK-8251547
--
This message was sent by Atlassian Jira
(v8.3.4#803005)