Skip to content

[v16.x backport] crypto: use WebIDL converters in WebCryptoAPI - #47383

Closed
panva wants to merge 12 commits into
nodejs:v16.x-stagingfrom
panva:backport-46067-to-v16.x
Closed

[v16.x backport] crypto: use WebIDL converters in WebCryptoAPI#47383
panva wants to merge 12 commits into
nodejs:v16.x-stagingfrom
panva:backport-46067-to-v16.x

Conversation

@panva

@panvapanva commented Apr 3, 2023

Copy link
Copy Markdown
Member

Like #46252 but for v16.x

Backports #46067 (and its followup #46563), which is semver-majorPRs that contain breaking changes and should be released in the next major version. chilling in main until the 20.0.0 release in April, to v16.x where WebCryptoAPI is still experimentalIssues and PRs related to experimental features. .


notable-changePRs with changes that should be highlighted in changelogs. summary

Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations.
This further improves interoperability with other implementations of Web Crypto API.


blockedPRs that are blocked by other issues or PRs. , waiting with the backport until the changes land on a v20.x and v18.x release

panva added 10 commits March 31, 2023 13:24
closesnodejs#45987
PR-URL: nodejs#46042Fixes: nodejs#45987
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#46043
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#45320
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#44917
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#45569
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#45569
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#45569
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#45569
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Backport-PR-URL: nodejs#47336
PR-URL: nodejs#45569
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Backport-PR-URL: nodejs#47336
@panvapanva added crypto Issues and PRs related to the crypto subsystem. blocked PRs that are blocked by other issues or PRs. notable-change PRs with changes that should be highlighted in changelogs. experimental Issues and PRs related to experimental features. needs-ci PRs that need a full CI run. webcrypto v16.x labels Apr 3, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-botnodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Apr 3, 2023
@panva
panvaforce-pushed the backport-46067-to-v16.x branch from 9d0fdf7 to 15c3756CompareApril 3, 2023 12:48
panva added 2 commits April 18, 2023 14:33
WebCryptoAPI functions' arguments are now coersed and validated as per
their WebIDL definitions like in other Web Crypto API implementations.
This further improves interoperability with other implementations of
Web Crypto API.
PR-URL: nodejs#46067
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Backport-PR-URL: nodejs#47383
PR-URL: nodejs#46563
Reviewed-By: James M Snell <jasnell@gmail.com>
Backport-PR-URL: nodejs#47383
@panva
panvaforce-pushed the backport-46067-to-v16.x branch from 15c3756 to 203e269CompareApril 18, 2023 12:34
@panvapanva closed this May 15, 2023
@panva
panva deleted the backport-46067-to-v16.x branch May 15, 2023 19:05
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blockedPRs that are blocked by other issues or PRs.cryptoIssues and PRs related to the crypto subsystem.experimentalIssues and PRs related to experimental features.lib / srcIssues and PRs related to general changes in the lib or src directory.needs-ciPRs that need a full CI run.notable-changePRs with changes that should be highlighted in changelogs.webcrypto

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@panva@nodejs-github-bot