You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add support for private keys with passphrase and cypher fields #234
unfortunately this won't be in our powers to deliver, in node >= 11.6 you may pass your encrypted keys to crypto.createPrivateKey with the passphrase and get a keyobject that you export as non-encrypted pem to pass to to JWK.importKey.
Can I take it then that this project is no longer being actively supported?
On the contrary, we do support the current API but in light of this feature being part of native node stable branch already I don't feel like we need to have this in a package.
FWIW for environments other than node this feature doesn't make much sense anyway.
I think it’s rhen at least worth clarifying in the documentation that node-Jose is incompatible with pems that have passwords. Right now it just silently fails which is frustrating to debug.
Activity
panva commentedon Jan 25, 2019
unfortunately this won't be in our powers to deliver, in node >= 11.6 you may pass your encrypted keys to
crypto.createPrivateKeywith the passphrase and get a keyobject that you export as non-encryptedpemto pass to toJWK.importKey.davesag commentedon Jan 25, 2019
Can I take it then that this project is no longer being actively supported?
panva commentedon Jan 25, 2019
On the contrary, we do support the current API but in light of this feature being part of native node stable branch already I don't feel like we need to have this in a package.
FWIW for environments other than node this feature doesn't make much sense anyway.
davesag commentedon Jan 25, 2019
I think it’s rhen at least worth clarifying in the documentation that node-Jose is incompatible with pems that have passwords. Right now it just silently fails which is frustrating to debug.
panva commentedon Jan 25, 2019
I agree. Thanks for pointing that out.