Repository navigation
Conversation
stianst
force-pushed
the
ml-dsa-java-keystore
branch
4 times, most recently
from
November 20, 2026 11:09
3a42ea0 to
8a9b380
Compare
stianst
marked this pull request as ready for review
November 20, 2026 12:30
stianst
force-pushed
the
ml-dsa-java-keystore
branch
from
November 23, 2026 07:57
8a9b380 to
df8e43f
Compare
stianst
marked this pull request as draft
November 23, 2026 08:06
stianst
force-pushed
the
ml-dsa-java-keystore
branch
5 times, most recently
from
November 23, 2026 12:27
83132c5 to
1f78d41
Compare
stianst
force-pushed
the
ml-dsa-java-keystore
branch
from
November 23, 2026 12:42
1f78d41 to
ae50121
Compare
stianst
force-pushed
the
ml-dsa-java-keystore
branch
from
November 23, 2026 15:08
ae50121 to
c1ad812
Compare
One tricky aspect is OpenJDK generates ML-DSA keys where the algorithm is set to ML-DSA and not the specific algorithm (i.e. ML-DSA-44). These keys can not be used by BouncyCastle. To prevent this being an issue keys are always loaded with BouncyCastle when possible, and converted otherwise. This also includes some minor updates to GeneratedMlDsaKeyProvider to make sure it uses BouncyCastle to generate keys. Closes keycloak#50679 Signed-off-by: stianst <stianst@gmail.com>
stianst
force-pushed
the
ml-dsa-java-keystore
branch
from
November 23, 2026 15:43
c1ad812 to
dacc8fe
Compare
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Cross-provider ML-DSA conversion and certificate-chain validation need BouncyCastle integration verification across JDK versions and keystore formats, since the standalone check could not validate pre-JDK-24 loading.
No open issues 🎉
1 resolved since last review
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One tricky aspect is OpenJDK generates ML-DSA keys where the algorithm is set to ML-DSA and not the specific algorithm (i.e. ML-DSA-44). These keys can not be used by BouncyCastle. To prevent this being an issue keys are always loaded with BouncyCastle when possible, and converted otherwise.
This also includes some minor updates to GeneratedMlDsaKeyProvider to make sure it uses BouncyCastle to generate keys.
Closes #50679
Signed-off-by: stianst stianst@gmail.com