Closed alexandrebodin closed 9 years ago
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.
The PR #7 fixes it
Fixed by #7.
Published in 1.1.0
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.