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

Unified Diff: third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/importKey-failures-expected.txt

Issue 2289033002: Require extractable=false for KDF import (Closed)
Patch Set: update another test Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/importKey-failures.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/importKey-failures-expected.txt
diff --git a/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/importKey-failures-expected.txt b/third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/importKey-failures-expected.txt
similarity index 83%
copy from third_party/WebKit/LayoutTests/crypto/subtle/hkdf/importKey-failures-expected.txt
copy to third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/importKey-failures-expected.txt
index 443a1c7c0bd866c04b882f1671e4cb71d2f9a22d..e7c698151e42733f7ab8155245b978fbdae483e3 100644
--- a/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/importKey-failures-expected.txt
+++ b/third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/importKey-failures-expected.txt
@@ -1,4 +1,4 @@
-Test inputs to HKDF importKey()
+Test bad inputs to PKBDF2 importKey()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -18,6 +18,9 @@ error is: NotSupportedError: Unsupported import key format for algorithm
importKey() with empty usages...
error is: SyntaxError: Usages cannot be empty when creating a key.
+
+importKey() with extractable=true ...
+error is: SyntaxError: KDF keys must set extractable=false
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/importKey-failures.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698