Closed LUS24 closed 2 years ago
safe_str_cmp has been removed from the werkzeug package:
safe_str_cmp
werkzeug
The recommendation is to use hmac.compare_digest instead.
hmac.compare_digest
This PR changes all the lecture codes to use hmac.compare_digest instead of werkzeug.safe_str_cmp.
werkzeug.safe_str_cmp
safe_str_cmp
has been removed from thewerkzeug
package:The recommendation is to use
hmac.compare_digest
instead.This PR changes all the lecture codes to use
hmac.compare_digest
instead ofwerkzeug.safe_str_cmp
.