Closed alexandrebodin closed 9 years ago
You've a typo in the verifier typeof check
(On my phone, commenting on the line directly is hard)
Thanks!
I have a problem with the version of the crypto api... in node v10.39 the sign method expects a buffer or a string... but in node v0.11.8+ objects are allowed...
Mind adding a process.version
check in the tests or somesuch, so that we can still run the tests in 0.10?
Would either not run the password-protected PEM tests, or would assert that they throw 'Not a buffer'
On it
@brianloveswords This LGTM. Would like to publish current master as a patch version before merging this as a minor.
@brianloveswords FYI, I don't have npm access so I can't action the above
@omsmith added you as co-owner of jws
and jwa
!
This allows using passphrase protection for rsa keys