| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove cli entrypointremove-cli | José Padilla | 2020-06-19 | 1 | -177/+0 |
| | | |||||
| * | Remove unnecessary compatibility shims for Python 2 (#498) | Jon Dufresne | 2020-06-19 | 2 | -18/+1 |
| | | | | | | | | | | | | As the project is Python 3 only, can remove the compatibility shims in compat.py. Type checking has been simplified where it can: - str is iterable - bytes is iterable - use isinstance instead of issubclass The remaining function bytes_from_int() has been moved to utils.py. | ||||
| * | Fix `tox -e lint` warnings and errors (#490) | Jon Dufresne | 2020-06-09 | 2 | -16/+15 |
| | | | | Now successfully passes when running `tox -e lint`. | ||||
| * | Run pyupgrade across project to use modern Python 3 conventions (#491) | Jon Dufresne | 2020-06-08 | 6 | -97/+97 |
| | | | | | | | | | pyupgrade is a tool to automatically upgrade Python syntax for newer versions of the language. Running pyupgrade removes several Python-2-isms that are no longer necessary now that the project is Python 3 only. https://github.com/asottile/pyupgrade | ||||
| * | Add support for Ed25519 / EdDSA, with unit tests (#455) | Someguy123 | 2020-05-24 | 3 | -0/+90 |
| | | |||||
| * | Require tweak (#280) | Pau Ruiz Safont | 2020-05-14 | 1 | -0/+15 |
| | | | | | | | | | | | | * Use require options as a list, instead of booleans Deprecate the use of the boolean options * Add test for the new require option * Add documentation on how to use the require option Co-authored-by: Pau Ruiz i Safont <psafont@ebi.ac.uk> | ||||
| * | Fix 406 (#454) | justinbaur | 2019-11-16 | 1 | -6/+29 |
| | | | | | | | | | | | * Added header option for encode * added tests and None check * updated quotes for consistency * format fixes after tox | ||||
| * | Remove Python 2.7 compatibility (#457) | Bastien Vallet | 2019-11-12 | 2 | -17/+3 |
| | | | | | | | * Remove py27 support * [py27] Remove useless compatibility files | ||||
| * | DX Tweaks (#450) | José Padilla | 2019-10-21 | 12 | -879/+1061 |
| | | | | | | | | | | | * Setup pre-commit hooks * Run initial `tox -e lint` * Fix package name * Fix .travis.yml | ||||
| * | Fix linter error in test_cli (#414) | Jason R. Coombs | 2019-05-04 | 1 | -1/+1 |
| | | |||||
| * | Fix pytest and pinned test dependencies1.7.1 | José Padilla | 2018-12-06 | 3 | -3/+3 |
| | | |||||
| * | Fix bug if application does not specify audience (#336) | Derek Weitzel | 2018-03-15 | 1 | -0/+9 |
| | | | | | | | | | | | * Fix bug if application does not specify audience * Update changelog * Fixing blank line * Fixing error message with missing audience | ||||
| * | Fix #315: Raise InvalidSignatureError over generic DecodeError (#316) | Markus Holtermann | 2017-12-01 | 1 | -2/+9 |
| | | |||||
| * | Allow list of valid audiences to be passed in to PyJWT.decode() (#306) | René Springer | 2017-11-26 | 3 | -4/+18 |
| | | | | Resolves #205, | ||||
| * | Fix over-eager fallback to stdin (#304) | José Padilla | 2017-11-05 | 1 | -0/+31 |
| | | | | | | | | | * Fix over-eager fallback to stdin * Ignore .eggs dir * Add test to cover when terminal is not a TTY | ||||
| * | Warn about missing algorithms arg only when verify is True | Przemysław Suliga | 2017-08-31 | 2 | -0/+31 |
| | | | | | | Since no signature verification will occur, passing in `algorithms` does not make much sense. | ||||
| * | Add warning when decoding with no algorithms specified | José Padilla | 2017-06-22 | 2 | -0/+20 |
| | | |||||
| * | Throw if key is an PKCS1 PEM-encoded public key | José Padilla | 2017-06-22 | 2 | -0/+12 |
| | | |||||
| * | Change optparse for argparse. (#238) | Froilan Irizarry | 2017-05-18 | 1 | -0/+127 |
| | | |||||
| * | Non-numeric 'iat' now raises InvalidIssuedAtError on decode()190-remove-iat-verification | Mark Adams | 2017-04-17 | 1 | -1/+1 |
| | | |||||
| * | Stop rejecting tokens with future 'iat' values | Mark Adams | 2017-04-17 | 1 | -7/+0 |
| | | | | | | | | | | | RFC 7519 does not specify or even suggest this type of validation on the 'iat' claim and it has caused issues for several consumers of PyJWT. This change removes the validation on future 'iat' values and leaves such things up to the application developer to implement. Fixes #190. | ||||
| * | Add a failing test for OpenSSH-formatted ECDSA public keys | Mark Adams | 2017-03-14 | 2 | -0/+8 |
| | | |||||
| * | Changes per code review | Landon GB | 2016-11-30 | 1 | -1/+1 |
| | | |||||
| * | Unit test for better errors when missing cryptography package | Landon GB | 2016-11-28 | 1 | -0/+6 |
| | | |||||
| * | Fix all flake8 issues tox is complaining about | Landon GB | 2016-11-28 | 2 | -0/+2 |
| | | |||||
| * | Merge pull request #219 from mike9005/es521_fix | Mark Adams | 2016-10-24 | 1 | -4/+4 |
| |\ | | | | | Fix incorrectly named ECDSA algorithm | ||||
| | * | Catch a couple more typos in tests | Michael Collis | 2016-09-26 | 1 | -2/+2 |
| | | | |||||
| | * | Fix tests to match | Michael Collis | 2016-09-21 | 1 | -2/+2 |
| | | | |||||
| * | | Add JWK support for HMAC and RSA keysadd-jwk-for-hmac-rsa | Mark Adams | 2016-08-28 | 7 | -105/+333 |
| |/ | | | | | | | - 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-key | Mark Adams | 2016-08-04 | 1 | -0/+14 |
| | | |||||
| * | Remove some erroenous @pytest.mark.skipif decoratorsmadams/cleanup-test-skips | Mark Adams | 2016-05-05 | 1 | -4/+0 |
| | | |||||
| * | binary_type verification added to make the code more future-proof | Mauricio Aizaga | 2015-10-23 | 1 | -4/+6 |
| | | |||||
| * | Fixed #183 AttributeError: 'NoneType' object has no attribute 'rsplit' | Mauricio Aizaga | 2015-10-22 | 1 | -0/+18 |
| | | | | | | | The issue also occurs when payload is int raising: AttributeError: 'int' object has no attribute 'rsplit' Test for None and int payload added | ||||
| * | Change TypeError on bad `kid` to InvalidTokenError | Gabriel Gironda | 2015-07-23 | 1 | -4/+4 |
| | | |||||
| * | Fail on encode and decode of bad JWS header values | Gabriel Gironda | 2015-07-21 | 1 | -2/+25 |
| | | | | | | | | | | | | | | | | The JWS spec: https://tools.ietf.org/html/draft-ietf-jose-json-web-signature-41#section-4.1.4 States that if `kid` is present then it **MUST** be a string. Currently, the library allows silent creation of invalid JWS (and thus, JWT), as it allows any type for `kid`. This commit adds checks to help ensure output meets the spec. * Add jwt.api_jws.PyJWS._validate_headers for validating JWS headers on encode and decode * Add tests | ||||
| * | Changed test function name | Alexandru Mihai | 2015-06-23 | 1 | -1/+1 |
| | | |||||
| * | Remove unused variable | Alexandru Mihai | 2015-06-23 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' of https://github.com/jpadilla/pyjwt | Alexandru Mihai | 2015-06-22 | 2 | -12/+60 |
| |\ | |||||
| | * | Added new options for requiring exp, iat, and nbf claims. | Mark Adams | 2015-06-02 | 2 | -12/+60 |
| | | | | | | | | | Thanks to David Black <dblack@atlassian.com> for the suggestion. | ||||
| * | | Added test for verify signature with empty algo | Alexandru Mihai | 2015-06-22 | 1 | -0/+10 |
| |/ | |||||
| * | Removed tests that are no longer necessary now that we have test vectors ↵ | Mark Adams | 2015-05-19 | 1 | -66/+33 |
| | | | | | from RFC 7520 | ||||
| * | Removed the @skipif from the RSA-PSS test vector test. | Mark Adams | 2015-05-19 | 1 | -1/+0 |
| | | |||||
| * | Merged master branch in to remove Python 3.2 support and add the new | Mark Adams | 2015-05-18 | 9 | -1/+248 |
| |\ | | | | | | | test vectors from #160 | ||||
| | * | Added test vectors from the IETF JOSE Cookbook for HMAC, RSA, and EC. | Mark Adams | 2015-05-18 | 8 | -1/+239 |
| | | | |||||
| | * | Added get_unverified_header method so that unverified headers can be ↵ | Mark Adams | 2015-05-08 | 1 | -0/+9 |
| | | | | | | | | | retrieved by the application. Closes #155 | ||||
| * | | Test signatures with wrong length | esneider | 2015-05-15 | 1 | -0/+14 |
| | | | |||||
| * | | Fix the ECDSA signature serialization format when using cryptography | esneider | 2015-05-13 | 3 | -18/+14 |
| | | | |||||
| * | | Fix the ECDSA signature serialization format | esneider | 2015-05-10 | 1 | -12/+9 |
| |/ | |||||
| * | `verify_expiration` was removed too soonbring-verify_expiration-back | José Padilla | 2015-04-26 | 1 | -0/+20 |
| | | | | | - Merge with `verify_exp` option - Add deprecation warning | ||||
| * | Split tests between PyJWS and PyJWT object responsiblities | Mark Adams | 2015-04-19 | 2 | -502/+612 |
| | | |||||
