Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle RSA passphrase #6

Closed
alexandrebodin opened this issue Jul 3, 2015 · 2 comments
Closed

Handle RSA passphrase #6

alexandrebodin opened this issue Jul 3, 2015 · 2 comments

Comments

@alexandrebodin
Copy link
Contributor

Hello,

I would like to use a {key : cert, passphrase: 'pass'} has key to pass on to the crypto lib for signing and using protected pem files.

Looking at the NodeJs Crypto documentation I found that this is faisable.

The only problem is that you check if the provided key is a buffer or a string. I believe this is not necessary as the lib handles it.

@alexandrebodin
Copy link
Contributor Author

The PR #7 fixes it

@omsmith
Copy link
Collaborator

omsmith commented Jul 16, 2015

Fixed by #7.

Published in 1.1.0

@omsmith omsmith closed this as completed Jul 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants