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 jwk usage #249

Merged
merged 4 commits into from
Nov 7, 2022
Merged

Fix jwk usage #249

merged 4 commits into from
Nov 7, 2022

Conversation

decentralgabe
Copy link
Member

Support generating generic JWK objects. Add validation so that it's impossible to generate signers/verifiers with unsupported key types/algorithms.

@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2022

Codecov Report

Merging #249 (0ede2df) into main (6dad71a) will decrease coverage by 0.52%.
The diff coverage is 45.60%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
- Coverage   59.37%   58.85%   -0.52%     
==========================================
  Files          38       38              
  Lines        4292     4437     +145     
==========================================
+ Hits         2548     2611      +63     
- Misses       1340     1414      +74     
- Partials      404      412       +8     
Impacted Files Coverage Δ
crypto/jwk.go 63.61% <34.55%> (-15.93%) ⬇️
crypto/jwt.go 47.96% <61.43%> (+9.66%) ⬆️
cryptosuite/jsonwebkey2020.go 44.67% <100.00%> (ø)

Copy link
Contributor

@andresuribe87 andresuribe87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small suggestion

crypto/jwk.go Outdated Show resolved Hide resolved
Gabe and others added 2 commits November 7, 2022 13:06
Co-authored-by: Andres Uribe <andresuribe87@gmail.com>
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 this pull request may close these issues.

4 participants