1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 15:48:16 -05:00
denoland-deno/tests/unit_node/crypto
Yoshiya Hinosawa 91150706d8
fix(ext/node): make getCiphers return supported ciphers (#27466)
Currently we only supports 7 ciphers (`aes-(128|192|256)-ecb` and
`aes-(128|256)-(cbc|gcm)`) in `node:crypto`, but `crypto.getCiphers`
returns other supported cipher names. That confuses `npm:openpgp`
package and causes https://github.com/denoland/deno/issues/26875.

This PR makes `getCiphers` return actually supported cipher names.

With this change, the example given in #26875 can create private and
public key files.

closes #26875
2024-12-26 13:24:28 +09:00
..
testdata feat(ext/node): rewrite crypto keys (#24463) 2024-08-07 08:43:58 +02:00
crypto_cipher_gcm_test.ts fix(ext/node): update aead-gcm-stream to 0.3 (#25261) 2024-08-28 18:34:18 +05:30
crypto_cipher_test.ts fix(ext/node): make getCiphers return supported ciphers (#27466) 2024-12-26 13:24:28 +09:00
crypto_hash_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
crypto_hkdf_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
crypto_import_export.ts feat(ext/node): rewrite crypto keys (#24463) 2024-08-07 08:43:58 +02:00
crypto_key_test.ts fix(node/crypto): support promisify on generateKeyPair (#26913) 2024-11-19 01:39:40 +01:00
crypto_misc_test.ts fix(ext/node): timingSafeEqual account for AB byteOffset (#26292) 2024-10-16 14:27:28 +05:30
crypto_pbkdf2_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
crypto_scrypt_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
crypto_sign_test.ts fix(ext/crypto): support md4 digest algorithm (#25656) 2024-09-16 11:04:40 +00:00
ec_private_secp256r1.pem chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
gcmEncryptExtIV128.json chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
gcmEncryptExtIV256.json chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
generate_fixture.mjs fix(ext/node): rewrite digest handling (#24392) 2024-07-05 10:10:22 +02:00
generate_keys.mjs chore: update the copyright of c, mjs, and jsx (#25005) 2024-08-12 12:41:32 -04:00