Add ML-KEM and ML-DSA WebCrypto support#6872
Open
thibmeu wants to merge 8 commits into
Open
Conversation
Assisted-by: Codex:gpt-5 Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Keep ML-KEM, ML-DSA, helper APIs, and JWK support. Defer SHA3, ChaCha20-Poly1305, and aws-lc Rust deps. Co-authored-by: Filip Skokan <panva.ip@gmail.com>
|
All contributors have signed the CLA ✍️ ✅ |
Member
Author
|
recheck |
Member
Author
|
I have read the CLA Document and I hereby sign the CLA |
Member
Author
|
recheck |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6872 +/- ##
==========================================
- Coverage 67.21% 66.36% -0.86%
==========================================
Files 424 426 +2
Lines 121180 122758 +1578
Branches 20175 20560 +385
==========================================
+ Hits 81447 81463 +16
- Misses 27663 29221 +1558
- Partials 12070 12074 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
This adds the first opt-in slice of modern WebCrypto:
getPublicKey()andSubtleCrypto.supports()It also adds
webcrypto_modern_algorithmsflag and gates the new API behind it.Deferred from the original PR (#6403) SHA3/cSHAKE/TurboSHAKE and ChaCha20-Poly1305
Given the code is simply taken out from @panva 's PR, they are still credited as co-author
This first PR should facilitate review and support of other (relevant) algorithms defined in https://wicg.github.io/webcrypto-modern-algos/
I have read the CLA Document and I hereby sign the CLA