Closed Akretsch closed 5 days ago
Hey @Akretsch,
Thanks for catching this, it looks like the provider is not adding the specific parameter set name and is instead defaulting to just "SLH-DSA" (instead of "SLH-DSA-SHA2-128S" for the example above).
Patching it soon, ~ Roy Basmacier
Hey @Akretsch, Fixed! The following changes can be found in the beta download
Thanks for the fix, it works.
I tested with 1.79-SNAPSHOT dated September 13, 2024 from https://downloads.bouncycastle.org/betas/.
The mapping style of signature algorithms in
org.bouncycastle.jcajce.provider.asymmetric.SLHDSA
is different from e.g. the mapping inorg.bouncycastle.jcajce.provider.asymmetric.MLDSA
.The code below demonstrates the problem: