diff options
author | BonfaceKilz | 2020-10-28 23:14:35 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-10-28 23:14:35 +0300 |
commit | ca22bbfdd36351e2b7d8f346b5a3ab81c94f7203 (patch) | |
tree | e53b8e22efab4f4a85e5c078063894a88d32ccfc /wqflask/tests/utility/test_authentication_tools.py | |
parent | 2120392705c6aa652bab280e98c84b9c33bc5902 (diff) | |
download | genenetwork2-ca22bbfdd36351e2b7d8f346b5a3ab81c94f7203.tar.gz |
Use latin-1 encoding when converting hmac secret to bytes
* wqflask/utility/hmac.py (hmac_creation): Use latin-1 when
serializing the hmac secret. This ensures that the behaviour
of *verify_cookie* remains the same as in the python2 tip.
Diffstat (limited to 'wqflask/tests/utility/test_authentication_tools.py')
0 files changed, 0 insertions, 0 deletions