From a5957f46ee577e69556f0d0e1d645df4390634b5 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 9 Mar 2022 18:13:11 +0530 Subject: chore(ext/crypto): remove old todos (#13887) --- cli/tests/unit/webcrypto_test.ts | 3 --- ext/crypto/00_crypto.js | 1 - 2 files changed, 4 deletions(-) diff --git a/cli/tests/unit/webcrypto_test.ts b/cli/tests/unit/webcrypto_test.ts index 1082cbb57..bdb99e8b7 100644 --- a/cli/tests/unit/webcrypto_test.ts +++ b/cli/tests/unit/webcrypto_test.ts @@ -26,7 +26,6 @@ Deno.test(async function testImportArrayBufferKey() { await subtle.sign({ name: "HMAC" }, cryptoKey, new Uint8Array(8)); }); -// TODO(@littledivy): Remove this when we enable WPT for sign_verify Deno.test(async function testSignVerify() { const subtle = window.crypto.subtle; assert(subtle); @@ -99,7 +98,6 @@ const hashPlainTextVector = [ }, ]; -// TODO(@littledivy): Remove this when we enable WPT for encrypt_decrypt Deno.test(async function testEncryptDecrypt() { const subtle = window.crypto.subtle; assert(subtle); @@ -717,7 +715,6 @@ Deno.test(async function testAesCtrEncryptDecrypt() { } }); -// TODO(@littledivy): Enable WPT when we have importKey support Deno.test(async function testECDH() { const namedCurve = "P-256"; const keyPair = await crypto.subtle.generateKey( diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index ed179a313..b4b317b3c 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -1003,7 +1003,6 @@ case "AES-KW": { return exportKeyAES(format, key, innerKey); } - // TODO(@littledivy): ECDSA default: throw new DOMException("Not implemented", "NotSupportedError"); } -- cgit v1.2.3