summaryrefslogtreecommitdiff
path: root/jwt/compat.py
Commit message (Collapse)AuthorAgeFilesLines
* Add JWK support for HMAC and RSA keysadd-jwk-for-hmac-rsaMark Adams2016-08-281-5/+23
| | | | | | | - JWKs for RSA and HMAC can be encoded / decoded using the .to_jwk() and .from_jwk() methods on their respective jwt.algorithms instances - Replaced tests.utils ensure_unicode and ensure_bytes with jwt.utils versions
* Fix a bug where a PEM private key as bytes raises a TypeErrorfix-type-error-on-bytes-keyMark Adams2016-08-041-2/+6
|
* binary_type verification added to make the code more future-proofMauricio Aizaga2015-10-231-0/+2
|
* Removed constant_time_compare branch that was only needed for Python 3.2Mark Adams2015-05-161-8/+3
|
* Removed json from compat since this only applies to Python < 2.6 and pyjwt ↵Mark Adams2015-01-251-6/+0
| | | | only builds on >= 2.6.
* Handle string and text types like sixJosé Padilla2015-01-081-8/+12
|
* Add timedelta_total_seconds compat branchingJosé Padilla2015-01-071-1/+14
|
* Handle compatibility branching in a compat moduleJosé Padilla2015-01-071-0/+46