Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: third_party/WebKit/LayoutTests/crypto/subtle/rsa-oaep/key-manipulation-expected.txt

Issue 2165713002: Change the error message in WebCrypto when using a key that has BOTH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/crypto/subtle/rsa-oaep/key-manipulation-expected.txt
diff --git a/third_party/WebKit/LayoutTests/crypto/subtle/rsa-oaep/key-manipulation-expected.txt b/third_party/WebKit/LayoutTests/crypto/subtle/rsa-oaep/key-manipulation-expected.txt
index 8247e2bc8049058bbc3712cc3b37a39ef090368b..8bed89737c9815160d946c3c96fe2c5c357ef3a7 100644
--- a/third_party/WebKit/LayoutTests/crypto/subtle/rsa-oaep/key-manipulation-expected.txt
+++ b/third_party/WebKit/LayoutTests/crypto/subtle/rsa-oaep/key-manipulation-expected.txt
@@ -18,8 +18,10 @@ PASS keyPair.privateKey.usages is ["decrypt", "unwrapKey"]
PASS bytesToHexString(keyPair.privateKey.algorithm.publicExponent) is '010001'
PASS keyPair.privateKey.algorithm.hash.name is 'SHA-1'
-Testing that the keys can't be used with different algorithms...
-error is: InvalidAccessError: key.usages does not permit this operation
+Using the RSA-OAEP private key for AES-CBC encryption...
+error is: InvalidAccessError: key.algorithm does not match that of operation
+
+Using the RSA-OAEP public key for AES-CBC encryption...
error is: InvalidAccessError: key.algorithm does not match that of operation
Trying to export keys to raw...

Powered by Google App Engine
This is Rietveld 408576698