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

Cryptography dependency is missing in 0.2.7 #72

Open
JuR-0 opened this issue Oct 9, 2024 · 1 comment · May be fixed by #74
Open

Cryptography dependency is missing in 0.2.7 #72

JuR-0 opened this issue Oct 9, 2024 · 1 comment · May be fixed by #74

Comments

@JuR-0
Copy link

JuR-0 commented Oct 9, 2024

You removed cryptography from requirements but it's necessary to decode RS256 tokens.
PyJWT doesn't include cryptography lib in its requirements:
https://pyjwt.readthedocs.io/en/stable/installation.html#cryptographic-dependencies-optional

@schang1146 schang1146 linked a pull request Dec 10, 2024 that will close this issue
@schang1146
Copy link

Hitting the same issue when trying to decode a RS256 JWT. We've found a workaround to manually specify pyjwt[crypto] as a dependency but rather avoid having to pin and remember to update both at the same time.

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 a pull request may close this issue.

2 participants