jamesnetherton commented on issue #9583:
URL: https://github.com/apache/camel-quarkus/issues/9583#issuecomment-7213563861

   `PqcTest` no longer needs disabling on `camel-main`. c69ee8518e adds a 
build-time workaround for Quarkus 4.0.x / BouncyCastle 1.86:
   
   - `PqcProcessor` remaps camel-pqc's references to the LMS / XMSS classes 
BouncyCastle 1.87 moved (`org.bouncycastle.jcajce.{spec,interfaces}.LMS*` / 
`XMSS*`) back to their 1.86 locations under `org.bouncycastle.pqc.jcajce.*`. 
The members camel-pqc uses are identical in both.
   - It turns itself off when the 1.87 classes are present, so it is a no-op 
after the Quarkus upgrade.
   - `PqcTest` gains a stateful signature test (LMS, HSS, XMSS, XMSSMT) using 
camel-pqc's default key material, which covers the remapped classes and key 
index tracking.
   
   Verified locally: `PqcTest` 14/14 on JVM and native (`PqcIT`) with 
BouncyCastle 1.86, and 14/14 on JVM with BouncyCastle 1.87 pinned, where the 
remap does not run.
   
   Remaining for this issue, once Quarkus with BouncyCastle 1.87 
(https://github.com/quarkusio/quarkus/pull/58465) is released:
   
   1. Upgrade Quarkus on `camel-main`.
   2. Remove `PqcProcessor.remapBouncyCastleLmsXmssClasses` and 
`LegacyBouncyCastleLmsXmssRemapper` (marked with a TODO).
   3. Check the JVM and native runs.
   
   I've retitled the issue to match.
   


-- 
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