Skip to content

crypto: improve SubtleCrypto.supports() accuracy - #65222

Open
panva wants to merge 3 commits into
nodejs:mainfrom
panva:better-supports-again
Open

crypto: improve SubtleCrypto.supports() accuracy#65222
panva wants to merge 3 commits into
nodejs:mainfrom
panva:better-supports-again

Conversation

@panva

@panva panva commented Aug 11, 2026

Copy link
Copy Markdown
Member

Constrain context parameters, ML-KEM derived-key imports, HKDF output lengths, and RSA key generation.

Refs: https://redirect.github.com/w3c/webcrypto/pull/558
Refs: https://redirect.github.com/WICG/webcrypto-modern-algos/pull/76
Refs: https://redirect.github.com/WICG/webcrypto-modern-algos/pull/77

Some of it we already had, some genuinely were false positives before and return false from SubtleCrypto.supports() now.

Constrain context parameters, ML-KEM derived-key imports, HKDF output
lengths, and RSA key generation.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
@panva panva added crypto Issues and PRs related to the crypto subsystem. webcrypto labels Aug 11, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Aug 11, 2026
@panva panva added the experimental Issues and PRs related to experimental features. label Aug 11, 2026
@nodejs-github-bot

This comment was marked as outdated.

@aduh95 aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 11, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. crypto Issues and PRs related to the crypto subsystem. experimental Issues and PRs related to experimental features. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. webcrypto

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants