davsclaus commented on PR #30945: URL: https://github.com/apache/camel/pull/30945#issuecomment-7291919974
@jamesnetherton can you take a look and review this one? It is the work for your CAMEL-27541, and it matters for Camel Quarkus right now: Camel main is on Bouncy Castle 1.87, while `quarkus-bom` 4.0 pins `bcprov-jdk18on` 1.86. What it changes for that case: - camel-pqc runs on both the BC 1.86 and 1.87 public API layouts. It detects each capability at runtime instead of checking the version, and a `LinkageError` from a missing class makes it try the other layout. - The `PQCDefault*Material` classes now create their key material lazily, not in static initializers. That should remove the need for runtime init and GraalVM substitutions like the ones in camel-quarkus `843f97ff7e` from September. - The BC or BCPQC provider is looked up per service at runtime. Standard ML-DSA/ML-KEM parameter sets use the JDK `NamedParameterSpec`. - BC imports are confined to three support classes, guarded by `BouncyCastleProductionImportFenceTest`. A nightly workflow tests against the latest BC. Camel CI does not test native mode, so a native run of the camel-quarkus PQC tests against this branch would be the real check. _Claude Code on behalf of davsclaus._ -- 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]
