mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
4fa8869f24
This completely rewrites how we handle key material in ext/node. Changes in this PR: - **Signing** - RSA - RSA-PSS 🆕 - DSA 🆕 - EC - ED25519 🆕 - **Verifying** - RSA - RSA-PSS 🆕 - DSA 🆕 - EC 🆕 - ED25519 🆕 - **Private key import** - Passphrase encrypted private keys 🆕 - RSA - PEM - DER (PKCS#1) 🆕 - DER (PKCS#8) 🆕 - RSA-PSS - PEM - DER (PKCS#1) 🆕 - DER (PKCS#8) 🆕 - DSA 🆕 - EC - PEM - DER (SEC1) 🆕 - DER (PKCS#8) 🆕 - X25519 🆕 - ED25519 🆕 - DH - **Public key import** - RSA - PEM - DER (PKCS#1) 🆕 - DER (PKCS#8) 🆕 - RSA-PSS 🆕 - DSA 🆕 - EC 🆕 - X25519 🆕 - ED25519 🆕 - DH 🆕 - **Private key export** - RSA 🆕 - DSA 🆕 - EC 🆕 - X25519 🆕 - ED25519 🆕 - DH 🆕 - **Public key export** - RSA - DSA 🆕 - EC 🆕 - X25519 🆕 - ED25519 🆕 - DH 🆕 - **Key pair generation** - Overhauled, but supported APIs unchanged This PR adds a lot of new individual functionality. But most importantly because of the new key material representation, it is now trivial to add new algorithms (as shown by this PR). Now, when adding a new algorithm, it is also widely supported - for example previously we supported ED25519 key pair generation, but we could not import, export, sign or verify with ED25519. We can now do all of those things. |
||
---|---|---|
.. | ||
_fs | ||
crypto | ||
internal | ||
testdata | ||
_test_utils.ts | ||
assert_test.ts | ||
assertion_error_test.ts | ||
async_hooks_test.ts | ||
buffer_test.ts | ||
child_process_test.ts | ||
console_test.ts | ||
dgram_test.ts | ||
domain_test.ts | ||
events_test.ts | ||
fetch_test.ts | ||
fs_test.ts | ||
http2_test.ts | ||
http_test.ts | ||
module_test.ts | ||
net_test.ts | ||
os_test.ts | ||
path_test.ts | ||
perf_hooks_test.ts | ||
process_test.ts | ||
punycode_test.ts | ||
querystring_test.ts | ||
readline_test.ts | ||
repl_test.ts | ||
stream_test.ts | ||
string_decoder_test.ts | ||
timers_test.ts | ||
tls_test.ts | ||
tty_test.ts | ||
util_test.ts | ||
v8_test.ts | ||
vm_test.ts | ||
worker_threads_test.ts | ||
zlib_test.ts |