Skip to content

feat(crypto): Add support for additional key usages - #334

Merged
andreiltd merged 4 commits into
bytecodealliance:mainfrom
VirtualTim:new-key-usages
Oct 22, 2026
Merged

andreiltd merged 4 commits into
bytecodealliance:mainfrom
VirtualTim:new-key-usages

Conversation

@VirtualTim

@VirtualTim VirtualTim commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

New usages are [encapsulateKey, encapsulateBits, decapsulateKey, decapsulateBits], added in WICG/webcrypto-modern-algos@f655363.

These were added to fix Ed25519 WPT tests, so I'm not sure if this should count as a feat or a fix.

Note that uint8_t was changed to a uint16_t, as there's now 12 values in the enum.

+240 passing test cases.

New usages are [encapsulateKey, encapsulateBits, decapsulateKey, decapsulateBits].

@andreiltd andreiltd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@andreiltd
andreiltd merged commit 9e64d00 into bytecodealliance:main Oct 22, 2026
7 checks passed
@VirtualTim
VirtualTim deleted the new-key-usages branch October 22, 2026 12:52
@VirtualTim VirtualTim changed the title feta(crypto): Add support for additional key usages feat(crypto): Add support for additional key usages Oct 22, 2026
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.

2 participants