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 for newest Werkzeug safe_str_cmp removal fix #4

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

ksaadDE
Copy link

@ksaadDE ksaadDE commented Apr 16, 2022

  1. imported hmac
  2. used hmac.compare_digest to verify signature
  3. removed old str_safe_cmp import and usage.

Tested it myself by putting a valid and invalid bearer token. Should work!

Greetings from Germany
SAAD-IT

imported hmac
used hmac.compare_digest to verify signature 
removed old str_safe_cmp import and usage.

Tested it myself, should work!
@ksaadDE
Copy link
Author

ksaadDE commented Apr 16, 2022

image

@greenape greenape merged commit 2c2911a into greenape:master Jun 13, 2022
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.

2 participants