Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting ECPrivateKey SEC1 to PCKS8 #153

Open
romgrm opened this issue Jul 8, 2023 · 0 comments
Open

Converting ECPrivateKey SEC1 to PCKS8 #153

romgrm opened this issue Jul 8, 2023 · 0 comments

Comments

@romgrm
Copy link

romgrm commented Jul 8, 2023

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 romgrm changed the title Converting ECPrivateKey SEC1 to PCKS8 #99 Converting ECPrivateKey SEC1 to PCKS8 Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant