denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
98.07k stars 5.4k forks source link

Move webcrypto key store to Rust #13890

Open littledivy opened 2 years ago

littledivy commented 2 years ago

To avoid passing the serialized key to every op.

It lives in JS atm: https://github.com/denoland/deno/blob/8b2989c417db9090913f1cb6074ae961f4c14d5e/ext/crypto/00_crypto.js#L362

lucacasonato commented 2 years ago

This is blocked on GCable resources.

ghost commented 2 years ago

Can you explain what you mean by GCable resources? There seems to be 31 references of this const within https://github.com/denoland/deno/blob/8b2989c417db9090913f1cb6074ae961f4c14d5e/ext/crypto/00_crypto.js#L362

image