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

Unified Diff: third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html

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
Index: third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html
diff --git a/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html b/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html
index 22b5a950be5bf653a6ebe7ac7cb0e2db92cba928..a6d11fafd959f1105364548505e99d35f29e43bf 100644
--- a/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html
+++ b/third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits.html
@@ -22,7 +22,7 @@ kHkdfAlgorithm = {
info: new Uint8Array()
};
-var extractable = true;
+var extractable = false;
Promise.resolve(null).then(function(result) {
// Set up the test by creating an HKDF key.
return crypto.subtle.importKey("raw", hexStringToUint8Array(kHkdfKey), {name: "HKDF"}, extractable, ['deriveKey', 'deriveBits']);

Powered by Google App Engine
This is Rietveld 408576698