Skip to content

Fix ML-KEM private key encoding - #5934

Open
falko-strenzke wants to merge 5 commits into
randombit:masterfrom
falko-strenzke:fix-mlkem-priv-key-encoding
Open

falko-strenzke wants to merge 5 commits into
randombit:masterfrom
falko-strenzke:fix-mlkem-priv-key-encoding

Conversation

@falko-strenzke

@falko-strenzke falko-strenzke commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

This is the follow up to #5307, which it is based on, and which fixes the ML-KEM private key encoding in PKCS#8 files, which is currently incompliant to the RFC that defines ML-KEM in the X.509 context.

As a next step, once #5307 and this one here are merged, I plan to factor out more common code from ML-DSA and ML-KEM regarding the DER encoding and align the corresponding test cases.

@falko-strenzke
falko-strenzke force-pushed the fix-mlkem-priv-key-encoding branch from 99e07d3 to 0188697 Compare September 21, 2026 14:41
@falko-strenzke

Copy link
Copy Markdown
Collaborator Author

@randombit Since #5307 is scheduled for 3.14, it would make sense to include this one as well. Otherwise the interfaces to the ML-* will be awkwardly different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant