68a54c2cf1
The padding in base64.urlsafe_b64encode()'s output is not actually URL safe, so you have to quote the result when it's of variable length. In addition, Fernet tokens can always be handled as bytes, despite being passed in from json.loads() as Unicode. Change-Id: I72dbd4ddc066706f6af6ea2f2bcd5f0a6cb9b30c Closes-Bug: 1433372 Closes-Bug: 1431669 |
||
---|---|---|
.. | ||
fernet | ||
__init__.py | ||
common.py | ||
pki.py | ||
pkiz.py | ||
uuid.py |