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

Fix the jwk field (.web_key) to contain a proper JWK #189

Merged
merged 3 commits into from
Jan 25, 2021

Conversation

g2p
Copy link
Contributor

@g2p g2p commented Jan 22, 2021

The jwk field was unusable prior to this change; a string was not valid in this context.

g2p added 3 commits January 23, 2021 12:26
allow(unknown_lints) is now sufficient.
Into is blanket implemented anyway, this now allows .from()
as well.

Fixes the remaining Clippy lint in nightly.
@lawliet89 lawliet89 added the breaking Fixing this will cause breaking changes label Jan 25, 2021
@lawliet89
Copy link
Owner

lawliet89 commented Jan 25, 2021

Thanks for the PR.

On the one hand I am wondering if we should add a generic type to support additional parameters in the JWK. On the other hand it'll make the types become really unwiedly.

I'll merge this in first and see if there is any feedback in the future about supporting more generics.

@lawliet89 lawliet89 merged commit edecad6 into lawliet89:master Jan 25, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants