deno/ext/crypto
Filip Skokan 0d042d8e54
fix(ext/crypto): interoperable import/export (#16153)
This PR updates RSA key import/export to a state which is interoperable
with other implementations.

For RSA the only OID in and out is `rsaEncryption`.
For EC the only OID in and out is `id-ecpublickey` (fixed in #16152).

see https://github.com/w3c/webcrypto/issues/307#issuecomment-995813032
see https://github.com/w3c/webcrypto/issues/307
see https://github.com/w3c/webcrypto/pull/305
see https://github.com/nodejs/node/pull/42816
2022-10-04 17:37:59 +05:30
..
00_crypto.js fix(ext/crypto): ECDH and X25519 non byte length and 0 length fixes (#16146) 2022-10-04 16:54:05 +05:30
01_webidl.js fix(ext/crypto): use EcKeyImportParams dictionary (#13894) 2022-03-11 19:35:40 +05:30
Cargo.toml 1.26.0 2022-09-29 00:10:44 +02:00
decrypt.rs upgrade deps (#15914) 2022-09-16 19:11:30 -04:00
ed25519.rs fix(ext/crypto): curve25519 import export (#16140) 2022-10-03 23:06:25 -07:00
encrypt.rs upgrade deps (#15914) 2022-09-16 19:11:30 -04:00
export_key.rs fix(ext/crypto): ecdh spki key import/export roundtrip (#16152) 2022-10-04 17:09:41 +05:30
generate_key.rs chore(ext/crypto): update webcrypto deps (#14452) 2022-06-20 16:53:57 +05:30
import_key.rs fix(ext/crypto): interoperable import/export (#16153) 2022-10-04 17:37:59 +05:30
key.rs chore: fix clippy warnings (#15944) 2022-09-19 10:25:03 +02:00
lib.deno_crypto.d.ts docs: add category tag for built-in APIs (#15480) 2022-08-17 13:12:24 +10:00
lib.rs fix(ext/crypto): interoperable import/export (#16153) 2022-10-04 17:37:59 +05:30
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
shared.rs fix(ext/crypto): interoperable import/export (#16153) 2022-10-04 17:37:59 +05:30
x25519.rs fix(ext/crypto): curve25519 import export (#16140) 2022-10-03 23:06:25 -07:00

deno_crypto

This crate implements the Web Cryptography API.

Spec: https://www.w3.org/TR/WebCryptoAPI/