Closed sheharyarn closed 6 years ago
Hmm, that isn't something that ExCrypto currently supports but I see how support could be added. We'd need to be able to supply the password to pem_entry_decode
on this line:
I think we could add a load/2
function which takes the password as a 2nd argument and passes it all the way through to pem_entry_decode/2
. Is that something you would want to create a PR for? If not I could probably add support for this relatively quickly.
Sure, let me give it a shot :D
I have RSA keys that are encrypted using a password. How would I go about loading them from disk and using them? Currently, when trying to load them, gives this error: