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

EC private key support #705

Open
gugu opened this issue Aug 28, 2024 · 0 comments
Open

EC private key support #705

gugu opened this issue Aug 28, 2024 · 0 comments

Comments

@gugu
Copy link

gugu commented Aug 28, 2024

There is a new elliptic curve private key notation, which is different to the average private key. jwt.io currently does not support this. jsonwebtoken module handles both of them correctly.

It is possible to convert EC public key to supported format manually using this command:

openssl pkcs8 -topk8 -nocrypt -in ec1.pem -out ec2.pem

but it would be greate to have it supported natively. It will solve issues like #606

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