Using encrypted private keys with Deno
So it seems to me that Deno doesn't provide any helpers for making HTTPS requests with encrypted private keys. (This is readily available in Node.js!)
Is it possible at all make HTTPS requests with encrypted private keys in Deno? Not exactly sure how all of TLS works, and on what level it would need to be implemented.
4 Replies
you can use it per-request with https://deno.land/api@v1.33.4?unstable=&s=Deno.createHttpClient
no sir bob, i cannot 🙂 it doesn't support encrypted private keys, and i'm not 100% sure what that means. can i just use
std/crypto
to decrypt the private key before feeding it into createHttpClient
?I think so
i hope so 🙂