aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/base/test_trait.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-10-28 23:14:35 +0300
committerBonfaceKilz2020-10-28 23:14:35 +0300
commitca22bbfdd36351e2b7d8f346b5a3ab81c94f7203 (patch)
treee53b8e22efab4f4a85e5c078063894a88d32ccfc /wqflask/tests/base/test_trait.py
parent2120392705c6aa652bab280e98c84b9c33bc5902 (diff)
downloadgenenetwork2-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/base/test_trait.py')
0 files changed, 0 insertions, 0 deletions