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

Migrate jws::Secret to jwk::JWK #53

Open
lawliet89 opened this issue Apr 6, 2017 · 1 comment
Open

Migrate jws::Secret to jwk::JWK #53

lawliet89 opened this issue Apr 6, 2017 · 1 comment
Labels
breaking Fixing this will cause breaking changes enhancement

Comments

@lawliet89
Copy link
Owner

Include ways to convert DER/PEM to JWK and vice-versa. ring does not seem to support this at the moment. Might have to pull in (optional?) openssl support.

@lawliet89 lawliet89 modified the milestone: v0.0.2 Apr 11, 2017
@lawliet89 lawliet89 removed this from the v0.0.2 milestone Apr 23, 2017
@lawliet89 lawliet89 added the breaking Fixing this will cause breaking changes label Mar 20, 2019
@olger
Copy link
Contributor

olger commented Jan 7, 2020

Hi @lawliet89
What would be a logical way to convert a Secret (RSA in my case) to a JWK ?

I see a convenience method jws_public_key_secret(&self) to get the RSAKeyParameters, would you expect to see a method that returns Self based on a secret there ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Fixing this will cause breaking changes enhancement
Projects
None yet
Development

No branches or pull requests

2 participants