-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
crypto: support ML-DSA KeyObject, sign, and verify #59259
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
Conversation
Review requested:
|
18133e1
to
2f37933
Compare
This comment was marked as outdated.
This comment was marked as outdated.
cc @nodejs/cpp-reviewers 🙏 |
521deae
to
7a6c57c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7c37a1c
to
3c220b4
Compare
3c220b4
to
7bd6d1e
Compare
7bd6d1e
to
a08d556
Compare
The
notable-change
Please suggest a text for the release notes if you'd like to include a more detailed summary, then proceed to update the PR description with the text or a link to the notable change suggested text comment. Otherwise, the commit will be placed in the Other Notable Changes section. |
Landed in 24e28c4 |
PR-URL: nodejs#59259 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: James M Snell <[email protected]>
This allows
node:crypto
to recognize the following asymmetric KeyObject types (keyObject.asymmetricKeyType
) when built with or linked to OpenSSL 3.5 (#59234):'ml-dsa-44'
,'ml-dsa-65'
,'ml-dsa-87'
(https://docs.openssl.org/3.5/man7/EVP_PKEY-ML-DSA/)And the following functionality for them:
crypto.createPublicKey()
SPKI/JWKcrypto.createPrivateKey()
PKCS#8/JWKkeyObject.export()
SPKI/PKCS#8/JWKcrypto.generateKeyPair(Sync)()
into KeyObject, PEM, DER, JWKcrypto.sign()
and signature verification viacrypto.verify()
notable-changePRs with changes that should be highlighted in changelogs.
ML-DSA support in
node:crypto
kicks off post-quantum cryptography efforts in Node.js. This is part of a broader effort to support NIST's post-quantum cryptography standards for future-proofing applications against quantum computing threats.