| Index: LayoutTests/crypto/aes-export-key.html
|
| diff --git a/LayoutTests/crypto/aes-export-key.html b/LayoutTests/crypto/aes-export-key.html
|
| index 0fe35a19ec72fa7ef604fe2ef754ead2069014e1..e4da05cb6e79ab10c5d4159ee8c4b4296eeb25d1 100644
|
| --- a/LayoutTests/crypto/aes-export-key.html
|
| +++ b/LayoutTests/crypto/aes-export-key.html
|
| @@ -18,7 +18,7 @@ var nonExtractable = false;
|
|
|
| var jwkKey = {
|
| kty: "oct",
|
| - k: "jnOw99oOZFLIEPMrgJB55WL46tJSLGt7"
|
| + k: "jnOw99oOZFLIEPMrgJB55WL46tJSLGt7jnOw99oOZFI"
|
| };
|
|
|
| var jwkKeyAsArrayBuffer = asciiToUint8Array(JSON.stringify(jwkKey));
|
| @@ -65,15 +65,15 @@ Promise.resolve(null).then(function(result) {
|
| return crypto.subtle.exportKey("raw", key);
|
| }).then(function(result) {
|
| exportedData = result;
|
| - shouldBe("bytesToHexString(new Uint8Array(exportedData))", "'8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b'");
|
| + shouldBe("bytesToHexString(new Uint8Array(exportedData))", "'8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b8e73b0f7da0e6452'");
|
|
|
| debug("Exporting the key as JWK...");
|
| return crypto.subtle.exportKey("jwk", key);
|
| }).then(function(result) {
|
| exportedJWK = JSON.parse(bytesToASCIIString(result));
|
| shouldBe("exportedJWK.kty", "'oct'");
|
| - shouldBe("exportedJWK.k", "'jnOw99oOZFLIEPMrgJB55WL46tJSLGt7'");
|
| - shouldBe("exportedJWK.alg", "'A192CBC'");
|
| + shouldBe("exportedJWK.k", "'jnOw99oOZFLIEPMrgJB55WL46tJSLGt7jnOw99oOZFI'");
|
| + shouldBe("exportedJWK.alg", "'A256CBC'");
|
| shouldBe("exportedJWK.ext", "true");
|
| shouldBe("exportedJWK.use", "undefined");
|
| shouldBe("exportedJWK.key_ops", "['encrypt', 'decrypt', 'wrapKey', 'unwrapKey']");
|
|
|