-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v16.x backport] crypto: use WebIDL converters in WebCryptoAPI #47383
Commits on Mar 31, 2023
-
crypto: add CryptoKey Symbol.toStringTag
closes nodejs#45987 PR-URL: nodejs#46042 Fixes: 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
Configuration menu - View commit details
-
Copy full SHA for bc17568 - Browse repository at this point
Copy the full SHA bc17568View commit details -
crypto: add KeyObject Symbol.toStringTag
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
Configuration menu - View commit details
-
Copy full SHA for cca5940 - Browse repository at this point
Copy the full SHA cca5940View commit details -
crypto: handle more webcrypto errors with OperationError
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
Configuration menu - View commit details
-
Copy full SHA for c7c5011 - Browse repository at this point
Copy the full SHA c7c5011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b9738a - Browse repository at this point
Copy the full SHA 5b9738aView commit details -
crypto: fix webcrypto HMAC "get key length" in deriveKey and generateKey
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
Configuration menu - View commit details
-
Copy full SHA for ae600b9 - Browse repository at this point
Copy the full SHA ae600b9View commit details -
crypto: ensure "x" is present when importing private CFRG webcrypto keys
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
Configuration menu - View commit details
-
Copy full SHA for 252839a - Browse repository at this point
Copy the full SHA 252839aView commit details -
crypto: fix X25519 and X448 webcrypto public CryptoKey usages
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
Configuration menu - View commit details
-
Copy full SHA for a321238 - Browse repository at this point
Copy the full SHA a321238View commit details -
crypto: use DataError for webcrypto keyData import failures
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
Configuration menu - View commit details
-
Copy full SHA for b72552c - Browse repository at this point
Copy the full SHA b72552cView commit details -
crypto: validate CFRG webcrypto JWK import "d" and "x" are a pair
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
Configuration menu - View commit details
-
Copy full SHA for adca91a - Browse repository at this point
Copy the full SHA adca91aView commit details -
crypto: fix ECDH webcrypto public CryptoKey usages
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
Configuration menu - View commit details
-
Copy full SHA for 8570ffa - Browse repository at this point
Copy the full SHA 8570ffaView commit details
Commits on Apr 18, 2023
-
crypto: use WebIDL converters in WebCryptoAPI
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
Configuration menu - View commit details
-
Copy full SHA for 52e3bf8 - Browse repository at this point
Copy the full SHA 52e3bf8View commit details -
crypto: re-add padding for AES-KW wrapped JWKs
PR-URL: nodejs#46563 Reviewed-By: James M Snell <jasnell@gmail.com> Backport-PR-URL: nodejs#47383
Configuration menu - View commit details
-
Copy full SHA for 203e269 - Browse repository at this point
Copy the full SHA 203e269View commit details