jamesnetherton commented on PR #30945:
URL: https://github.com/apache/camel/pull/30945#issuecomment-7308303919

   I checked this from the Camel Quarkus side and it LGTM.
   
   Quarkus 4.0.x provides BouncyCastle 1.86, while Camel main is now built 
against 1.87, so this covers exactly the mismatch we run into.
   
   I ran the Camel Quarkus PQC integration tests (FALCON, DILITHIUM, 
SPHINCSPLUS, XMSS, LMS, KYBER encapsulate/extract) on BouncyCastle 1.86:
   
   - Current Camel main, without this PR: 7/10 fail in JVM mode with 
NoClassDefFoundError: org/bouncycastle/jcajce/interfaces/XMSSPrivateKey. ML-DSA 
signing fails too, because the producer touches the stateful-key interfaces on 
every sign operation.
   - With this PR: 10/10 pass in both JVM and native mode, with no changes on 
the Camel Quarkus side.
   
   So this seems to be a decent improvement from our POV.
   
   We should treat the BC 1.86 fallback for stateful keys in 
`BouncyCastlePqcCompatibility` as temporary and drop it once when BC versions 
are in sync, rather than adding a fallback for each BouncyCastle release's 
class layout.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to