Skip to content

Add [EnforceRange] instead of truncating lengths - #65

Merged
twiss merged 1 commit into
WICG:mainfrom
panva:enforce-range
Aug 6, 2026
Merged

twiss merged 1 commit into
WICG:mainfrom
panva:enforce-range

Conversation

@panva

@panva panva commented Apr 26, 2026 •

Copy link
Copy Markdown
Collaborator

@twiss twiss changed the title add [EnforceRange] instead of truncating lengths Add [EnforceRange] instead of truncating lengths Aug 6, 2026
@twiss
twiss merged commit 597a4f8 into WICG:main Aug 6, 2026
2 checks passed
@panva
panva deleted the enforce-range branch August 6, 2026 17:08
github-actions Bot added a commit that referenced this pull request Aug 6, 2026
SHA: 597a4f8
Reason: push, by twiss

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
nodejs-github-bot pushed a commit to nodejs/node that referenced this pull request Aug 8, 2026
Signed-off-by: Filip Skokan <[email protected]>
PR-URL: #65091
Refs: w3c/webcrypto#555
Refs: WICG/webcrypto-modern-algos#65
Reviewed-By: Aviv Keller <[email protected]>
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit to nodejs/node that referenced this pull request Aug 13, 2026
Signed-off-by: Filip Skokan <[email protected]>
PR-URL: #65091
Refs: w3c/webcrypto#555
Refs: WICG/webcrypto-modern-algos#65
Reviewed-By: Aviv Keller <[email protected]>
Reviewed-By: James M Snell <[email protected]>
pull Bot pushed a commit to AKJUS/servo that referenced this pull request Aug 23, 2026
The WebCrypto API specifications have updated to add [EnforceRange] to
key length parameters in WebIDL, instead of truncating lengths. We
update our implementation accordingly.

Update in the Web Cryptography API spec:
w3c/webcrypto#555

Update in the Modern Algorithms in the Web Cryptography API spec:
WICG/webcrypto-modern-algos#65

Corresponding update in WPT:
web-platform-tests/wpt#62086

Testing: Pass recently added WPT tests.

Signed-off-by: Kingsley Yung <[email protected]>
aduh95 pushed a commit to nodejs/node that referenced this pull request Aug 25, 2026
Signed-off-by: Filip Skokan <[email protected]>
PR-URL: #65091
Refs: w3c/webcrypto#555
Refs: WICG/webcrypto-modern-algos#65
Reviewed-By: Aviv Keller <[email protected]>
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit to nodejs/node that referenced this pull request Aug 27, 2026
Signed-off-by: Filip Skokan <[email protected]>
PR-URL: #65091
Refs: w3c/webcrypto#555
Refs: WICG/webcrypto-modern-algos#65
Reviewed-By: Aviv Keller <[email protected]>
Reviewed-By: James M Snell <[email protected]>
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
The WebCrypto API specifications have updated to add [EnforceRange] to
key length parameters in WebIDL, instead of truncating lengths. We
update our implementation accordingly.

Update in the Web Cryptography API spec:
w3c/webcrypto#555

Update in the Modern Algorithms in the Web Cryptography API spec:
WICG/webcrypto-modern-algos#65

Corresponding update in WPT:
web-platform-tests/wpt#62086

Testing: Pass recently added WPT tests.

Signed-off-by: Kingsley Yung <[email protected]>
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