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

Support from_jwk for Ed25519Algorithm #621

Closed
dajiaji opened this issue Feb 28, 2021 · 2 comments · Fixed by #623
Closed

Support from_jwk for Ed25519Algorithm #621

dajiaji opened this issue Feb 28, 2021 · 2 comments · Fixed by #623

Comments

@dajiaji
Copy link
Contributor

dajiaji commented Feb 28, 2021

I'd like to use get_signing_key_from_jwk() for JWT with alg=EdDSA.

But, at the moment, it seems that pyjwt does not support it because Ed25519Algorithm does not have from_jwk().

Do you have a plan to support that?
If you don't have the plan, I can send a PR for that.

I'd appreciate it if you can tell me the plan to support EdDSA-based token.

@crgwbr
Copy link

crgwbr commented Mar 4, 2021

For reference, looks like the spec for this is in RFC 8037.

@dajiaji
Copy link
Contributor Author

dajiaji commented Mar 5, 2021

Yes, in other words, I need from_jwt() for JWT kty=OKP compliant with RFC8037.

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

Successfully merging a pull request may close this issue.

2 participants