| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Refactored JWS-specific logic out of PyJWT and into PyJWS superclass | Mark Adams | 2015-04-19 | 1 | -7/+7 |
| | | |||||
| * | Fixed some PEP8 issues | Mark Adams | 2015-04-14 | 1 | -3/+1 |
| | | |||||
| * | Fixed some squirly looking tests. | Mark Adams | 2015-04-14 | 1 | -12/+8 |
| | | |||||
| * | Removed all references to unittest | Mark Adams | 2015-04-14 | 6 | -299/+270 |
| | | |||||
| * | Minor refactorings to move some utils code around and remove unneeded code. | Mark Adams | 2015-04-14 | 3 | -8/+8 |
| | | |||||
| * | Converted all unittest constructs to pytest | Mark Adams | 2015-04-14 | 5 | -189/+199 |
| | | |||||
| * | Merge pull request #135 from mark-adams/minor-updates | José Padilla | 2015-04-14 | 2 | -16/+32 |
| |\ | | | | | Minor refactorings to make things a little cleaner | ||||
| | * | Added a test to improve coverage and cleaned up some existing tests. | Mark Adams | 2015-04-12 | 2 | -10/+29 |
| | | | |||||
| | * | Changed PyJWT.default_options to options | Mark Adams | 2015-04-12 | 1 | -6/+3 |
| | | | | | | | | | and updated the CHANGELOG | ||||
| * | | Added a deprecation warning for using verify= instead of options= on decode() | Mark Adams | 2015-04-12 | 1 | -0/+21 |
| |/ | |||||
| * | Added support for RSASSA-PSS algorithms (PS256, PS384, PS512) | Mark Adams | 2015-04-08 | 2 | -7/+72 |
| | | |||||
| * | refactor option merging, add myself to AUTHORS, s/dict()/{} | Michael Davis | 2015-04-08 | 1 | -2/+2 |
| | | |||||
| * | Remove dict comprehension for py26 compatibility | Michael Davis | 2015-04-06 | 1 | -0/+2 |
| | | |||||
| * | Add flexible and complete verification options | Michael Davis | 2015-04-06 | 1 | -2/+67 |
| | | | | | Attempts to fix #127 | ||||
| * | Made some PEP8 fixes that came from the last commit. | Mark Adams | 2015-03-29 | 1 | -3/+3 |
| | | |||||
| * | Added checks on iat to make sure that a token can't be issued for the | Mark Adams | 2015-03-29 | 1 | -5/+13 |
| | | | | | | future Changed nbf exception to ImmatureSignatureError | ||||
| * | Moved claims validation into a seperate private method to make it simpler to ↵ | Mark Adams | 2015-03-29 | 1 | -3/+0 |
| | | | | | understand the code. | ||||
| * | Fixed some PEP8 errors from the last commit. | Mark Adams | 2015-03-29 | 1 | -2/+0 |
| | | |||||
| * | Removed private APIs from tests and refactored tests to focus on public APIs | Mark Adams | 2015-03-29 | 1 | -216/+62 |
| | | |||||
| * | Added validation for 'nbf' claim to ensure it is an int value. #121 | Mark Adams | 2015-03-29 | 1 | -0/+9 |
| | | |||||
| * | Added validation for 'iat' claim to ensure it is an int value. #121 | Mark Adams | 2015-03-29 | 1 | -2/+10 |
| | | |||||
| * | Added validation for 'exp' claim to ensure it is an int value. #121 | Mark Adams | 2015-03-29 | 1 | -0/+10 |
| | | |||||
| * | Fixed a flaky test by making sure we actually make the signature invalid ↵ | Mark Adams | 2015-03-18 | 1 | -3/+2 |
| | | | | | from within the base64 instead of afterwards. | ||||
| * | Added the ability to specify both a global alg whitelist for a PyJWT object ↵ | Mark Adams | 2015-03-17 | 1 | -18/+37 |
| | | | | | and a whitelist for calls to decode. (Fixes #107) | ||||
| * | Added tests to cover invalid string validations on HMAC | Mark Adams | 2015-03-17 | 2 | -1/+61 |
| | | |||||
