diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-03-09 18:13:11 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 18:13:11 +0530 |
commit | a5957f46ee577e69556f0d0e1d645df4390634b5 (patch) | |
tree | 3923008aa34e062e726c43c204c55bd75339d254 | |
parent | 85cb6f256341b262ef4f0f67ddba034bea3033b1 (diff) |
chore(ext/crypto): remove old todos (#13887)
-rw-r--r-- | cli/tests/unit/webcrypto_test.ts | 3 | ||||
-rw-r--r-- | ext/crypto/00_crypto.js | 1 |
2 files changed, 0 insertions, 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"); } |