summaryrefslogtreecommitdiff
path: root/jwt/algorithms.py
Commit message (Expand)AuthorAgeFilesLines
* Refactor error handling in Algorithm.prepare_key() methodsfix-key-errorsMark Adams2017-03-141-31/+47
* Add support for public keys in OpenSSH (RFC 4253) format.Mark Adams2017-03-141-1/+4
* python2.6 does not support set literalsLandon GB2016-11-301-2/+2
* Changes per code reviewLandon GB2016-11-301-39/+14
* Fix all flake8 issues tox is complaining aboutLandon GB2016-11-281-2/+1
* Removing accidently comma (no, this shouldn't be a tupple)Landon GB2016-11-281-1/+1
* Merge remote-tracking branch 'upstream/master'Landon GB2016-11-281-14/+146
|\
| * Add back 'ES512' for backward compatibility (for now)ecdsa-bkwards-compatMark Adams2016-10-241-0/+1
| * Merge pull request #219 from mike9005/es521_fixMark Adams2016-10-241-1/+1
| |\
| | * Fix typo in AlgorithmsMichael Collis2016-09-211-1/+1
| * | Add JWK support for HMAC and RSA keysadd-jwk-for-hmac-rsaMark Adams2016-08-281-14/+144
| |/
* | Better error messages when missing cryptography packageLandon GB2016-11-281-11/+40
|/
* Fix a bug where a PEM private key as bytes raises a TypeErrorfix-type-error-on-bytes-keyMark Adams2016-08-041-7/+7
* Changed RSA-PSS algorithm to use the digest size of the hash function for the...Mark Adams2015-05-191-2/+2
* Fix python3 and pep8 issuesesneider2015-05-131-1/+1
* Fix the ECDSA signature serialization format when using cryptographyesneider2015-05-131-2/+10
* Added support for RSASSA-PSS algorithms (PS256, PS384, PS512)Mark Adams2015-04-081-7/+45
* Fixed some warnings in algorithms.py related to the relocation of some crypto...Mark Adams2015-03-181-5/+11
* Added the ability to specify both a global alg whitelist for a PyJWT object a...Mark Adams2015-03-171-13/+18
* Fix typoJosé Padilla2015-03-171-1/+1
* Added tests to cover invalid string validations on HMACMark Adams2015-03-171-1/+7
* Corrected a typo in an exception nameMark Adams2015-03-171-1/+1
* None algorithm now converts empty string to None prior to validationMark Adams2015-03-171-1/+4
* Added a check to raise an error if alg = 'none' and a key is specified. (Fixe...Mark Adams2015-03-171-1/+4
* Fixed indentation and spacing to pass PEP8Mark Adams2015-03-171-2/+1
* Added a check so that asymmetric keys cannot be used as HMAC secrets to fix #105Mark Adams2015-03-171-0/+7
* Added back some parenthesis now that I remember how to write PythonMark Adams2015-03-171-3/+3
* Removed extra parenthesis around algorithm defaults.Mark Adams2015-03-171-6/+6
* Refactored api.py so that all JWT functions are now part of a PyJWT class.Mark Adams2015-03-171-12/+11
* Rearranged the way the SHA hash functions were laid out.Mark Adams2015-03-171-6/+11
* Made algorithm class dependence on hash functions more direct.Mark Adams2015-03-151-11/+17
* Changed header's alg parameter to be case sensitive per the JWT spec.Mark Adams2015-01-241-1/+1
* Added missing `sig` parameter to `sign()` method of the None algorithm.Mark Adams2015-01-241-1/+1
* Cleanup __init__ moduleJosé Padilla2015-01-181-2/+2
* Tweak comment blocksJosé Padilla2015-01-181-14/+19
* Accidentally replaced a reference to bytes with text_type inadvertantly. Reve...Mark Adams2015-01-181-1/+1
* Replaced reference to basestring with string_types that I missed when rebasin...Mark Adams2015-01-181-1/+1
* Added comments for algorithms module and register_algorithm.Mark Adams2015-01-181-0/+30
* Fixed a couple of anomalies after the last rebase.Mark Adams2015-01-181-11/+6
* Algorithm base class methods now raise NotImplementedErrorMark Adams2015-01-181-3/+3
* Fixed some style issues (reordered imports, removed unused imports, PEP8, etc.)Mark Adams2015-01-181-1/+1
* Created utils.py to hold functions like constant_time_compare and base64-enco...Mark Adams2015-01-181-27/+2
* Fixes #70. Refactored all HMAC, RSA, and EC code into seperate classes in the...Mark Adams2015-01-181-0/+200