67ce03e739
With python 3, hasher.update() must be called with byte encoding. Hashing without encoding first in python 3 results in this error: TypeError: Unicode-objects must be encoded before hashing Using byte encoding also works with python 2.7, so convert tokens to bytes before hashing regardless of python version. Change-Id: I837566c669565ed8c11dacbefc273dae3ff580bb Closes-Bug: #1552443 |
||
---|---|---|
.. | ||
conf | ||
templates/auth | ||
__init__.py | ||
data_v2.py | ||
data_v3.py | ||
models.py | ||
run_tests.py | ||
settings.py | ||
tests.py | ||
urls.py |