Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Generate ML-DSA and SLH-DSA Certificates with Keytool: ContextParameterSpec Issue? #1946

Open
yuhh0328 opened this issue Dec 18, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@yuhh0328
Copy link
Contributor

I am encountering an issue when attempting to generate ML-DSA and SLH-DSA certificates using the Java keytool. It seems to be related to the ContextParameterSpec. Specifically, I am unsure if this is a bug or if there are additional options that need to be provided when running the keytool command.

keytool-MLDSA44

@dghgit
Copy link
Contributor

dghgit commented Dec 22, 2024

Thanks for the report. Hmmm. Okay, there's no encoding rules for the ContextParameter spec at the moment, while we're probably going to see one eventually, given issues like this we should be returning null if the default zero length context is in use since pretty much every non-BC based tool is likely to break with the new algorithms.

Try what's in https://downloads.bouncycastle.org/betas and let us know how it goes.

@dghgit dghgit self-assigned this Dec 22, 2024
hubot pushed a commit that referenced this issue Dec 22, 2024
@dghgit dghgit added the enhancement New feature or request label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants