Repository navigation
feat: add ML-DSA-44/65/87 key and signature support - #121
Conversation
Signed-off-by: Welhelha <martin.evain2005@icloud.com>
Signed-off-by: Welhelha <martin.evain2005@icloud.com>
🦋 Changeset detectedLatest commit: 38d1393 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Update: Askar v0.6.0-dev.1 has just been published as a pre-release. It contains the native ML-DSA support this PR relies on. The stable 0.6.0 release is still pending, so for now ML-DSA works with this pre-release native library (or any build that includes it). |
genaris
left a comment
There was a problem hiding this comment.
Note that we need to bump the native library to v0.6.0-dev.1 in both nodejs and react-native's package.json files.
Signed-off-by: Welhelha <martin.evain2005@icloud.com>
|
Thanks for the review! I’ve addressed the feedback in commit 38d1393: updated the native Askar version, split the changesets, and fixed the ML-DSA test cleanup and naming. |
Summary
Adds support for ML-DSA (FIPS 204) keys and signatures (
ML-DSA-44,ML-DSA-65andML-DSA-87) toaskar-shared, the shared API layer used by the Askar JavaScript wrappers.Native ML-DSA support is available since Askar 0.6.0
(openwallet-foundation/askar#500, openwallet-foundation/askar#507,
version bump in openwallet-foundation/askar#515).
Related: openwallet-foundation/askar#349 (FIPS 204 support request).
Changes
alg,pubandprivfields (as used by theAKPkey type from RFC 9964), and make
crv/xoptional, since ML-DSA keys do not use them.Requirements
version 0.6.0 or later, built with ML-DSA support.
Verification
git diff --checkpassespnpm test: 56/56 tests pass locally, including the ML-DSA tests inkeys.test.tspnpm buildsucceeds for all three packagespnpm types:checkpasses