Age | Commit message (Collapse) | Author |
|
This function is coupled to "wqflask.app", therefore requiring it's
import at the module level. This may lead circular importation issues
when working with blueprints.
|
|
* 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.
|
|
Same as:
https://github.com/genenetwork/genenetwork2/pull/422/commits/46443ec8d2cdfd7c60358a889d90a90e4f7daaf4
|
|
|
|
* wqflask/utility/hmac.py: Apply pep8 and fix typo.
|
|
See: <https://stackoverflow.com/questions/31848293/python3-and-hmac-how-to-handle-string-not-being-binary>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
|
|
queries and a missing import for the hmac functions
|
|
|
|
|