-
-
Notifications
You must be signed in to change notification settings - Fork 694
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 to_jwk #466
Comments
I don't mind opening a pull request for this? I'm just a bit confused as to why 100 in the looks like 100 is an arbitrary number to make sure it will fit but then we strip the leading null bytes? |
The value for |
Here’s a summary of EC |
Made a first stab at this... |
thanks |
Should be fixed in #732 |
I've notices that RSA keys have a
to_jwk()
function inpyjwt
, but EC keys do not.I've cobbled together a dirty conversion routine:
(shared under MIT license)
Given this input:
It produces the output:
If someone wants to drop this into the codebase, that would be great!
The text was updated successfully, but these errors were encountered: