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

AttributeError if jwks file does not contain the verifier key #8

Closed
DontPanicO opened this issue Feb 18, 2021 · 1 comment · Fixed by #9
Closed

AttributeError if jwks file does not contain the verifier key #8

DontPanicO opened this issue Feb 18, 2021 · 1 comment · Fixed by #9
Assignees

Comments

@DontPanicO
Copy link
Owner

DontPanicO commented Feb 18, 2021

Describe the bug
Running --find-key-from-jwks raise AttributeError if jwks file does not contain a key that can verify the token

To Reproduce

  1. Get a token
  2. Get a JWKS file that does not contain the key that can verify the token signature
  3. run jwtxpl <token> --find-key-from-jwks <jwks_file>

Expected behavior
No AttributeError should be raised

Additional context
This is due to a typo an attribute has been typed incorrectly), and not for an unhandled exception

@DontPanicO DontPanicO self-assigned this Feb 18, 2021
@DontPanicO
Copy link
Owner Author

This issues is going to be closed next hours, with an early merge of develop in main. Also an early release is going to exit, fixing this issue in distribution packages.

@DontPanicO DontPanicO linked a pull request Feb 18, 2021 that will close this issue
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.

1 participant