cryptography icon indicating copy to clipboard operation
cryptography copied to clipboard

Converting ECPrivateKey SEC1 to PCKS8

Open romgrm opened this issue 1 year ago • 0 comments

Hello ! I'm currently generating an EC keypair that I encode in PEM format.

The back end to which I send the keys tells me that they need the Pkcs8 format and not SEC1.

I wonder if it's possible with this lib, to convert an ECPrivateKey to Pcks8? Or is it only for RSA keys?

Thanks :)

romgrm avatar Jul 08 '23 12:07 romgrm