52
rated 0 times
[
59]
[
7]
/ answers: 1 / hits: 15637
/ 9 Years ago, fri, february 27, 2015, 12:00:00
Using nodejs
and only javascript, how do I extract a public key from a private key pem?
The private key that I have in hand is a PEM formatted private key; I'd like to extract the public key so I can distribute it to collaborators.
I regularly use the pure javascript node-forge
module but have not yet discovered how to extract the public key from the private key.
I am also aware of, and presently use the ursa
module to accomplish this; but I would like a pure javascript or pure nodejs solution if available.
More From » node.js