-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't add 'deriveBits usage for 'raw' format X25519 keys
https://bugs.webkit.org/show_bug.cgi?id=265315 Reviewed by Žan Doberšek. When importing X25519 keys in raw format we are assuming that if the key is non-extractable, it should be imported as private key. This is not described in the spec and it's the cause of a few WPT failures. This commit updates also some helper functions used in the import/export tests and retrieves their latest version. * LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.https.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.https.any.worker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any.js: (testVectors.forEach.): (testVectors.forEach): (allValidUsages): Deleted. (parameterString): Deleted. * LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/rsa_importKey.https.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/rsa_importKey.https.any.worker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/util/helpers.js: (assert_goodCryptoKey): (allValidUsages): * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any-expected.txt: * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/okp_importKey.https.any.worker-expected.txt: * Source/WebCore/crypto/algorithms/CryptoAlgorithmX25519.cpp: (WebCore::CryptoAlgorithmX25519::importKey): Canonical link: https://commits.webkit.org/271210@main
- Loading branch information
1 parent
0c5f458
commit a4e3641
Showing
11 changed files
with
543 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 120 additions & 12 deletions
132
...ted/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.https.any-expected.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.