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

more convenience methods #22

Merged
merged 9 commits into from
Jan 19, 2024
Merged

more convenience methods #22

merged 9 commits into from
Jan 19, 2024

Conversation

guillp
Copy link
Owner

@guillp guillp commented Jan 9, 2024

Next round of QA.

  • made InvalidSignature exception more generic (to be used also for JWS tokens)
  • add JwsCompact.verify() method
  • ruff and mypy related fixes

A few breaking changes:

  • JwtSigner.__init__(), JwtSigner.sign() and JweCompact.decrypt() and now takes their optional parameters as kwarg only. JwkSigner takes a key param instead of jwk (for consistency with the rest of the API).

@guillp guillp changed the title Verify() more convenience methods Jan 11, 2024
@guillp guillp merged commit 6a73468 into main Jan 19, 2024
6 checks passed
@guillp guillp deleted the verify() branch January 19, 2024 12:09
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.

None yet

2 participants