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

Add coverage and improve performance of is_ssh_key #940

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bdraco
Copy link

@bdraco bdraco commented Jan 20, 2024

After looking though cryptography's code, checking if the key starts with the 6 known types is enough here.

jwt/utils.py Outdated Show resolved Hide resolved
tests/test_utils.py Outdated Show resolved Hide resolved
@bdraco bdraco marked this pull request as ready for review January 20, 2024 22:08
@github-actions github-actions bot added the stale Issues without activity for more than 60 days label Mar 21, 2024
@bdraco
Copy link
Author

bdraco commented Mar 23, 2024

No stale

@github-actions github-actions bot removed the stale Issues without activity for more than 60 days label Mar 24, 2024
@jpadilla jpadilla added the keep label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants