JoshKaufman / ursa

URSA - RSA public/private key OpenSSL bindings for Node.js
Other
618 stars 135 forks source link

Is there any way of programatically adding the passphrase programatically #168

Open moda20 opened 6 years ago

moda20 commented 6 years ago

Hey !

I am using the ursa module in my nodeJS project using passphrase protected keys. The thing is that i have multiple keys and reading those is done dynamically so it is crucial that passphrases if they exist be added programatically.

Is there anyway of doing so using ursa because the docs don't say that. and everytime i have to write the passphrase in the server's console.