summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add Python 3.5 to CI buildsadd-python-35Mark Adams2016-05-064-5/+10
|
* Merge pull request #192 from gthb/patch-1Mark Adams2016-01-181-1/+1
|\ | | | | Reflect that --no-verify also ignores claims
| * Reflect that --no-verify also ignores claimsGunnlaugur Thor Briem2015-11-301-1/+1
|/ | | The --no-verify option disables both signature verification and claims verification (e.g. expiry); reflect that in the command-line help.
* Merge pull request #189 from mattijohn/masterJosé Padilla2015-11-111-2/+2
|\ | | | | Fix imports in installation docs code example
| * Fix imports in code exampleMatti John2015-11-111-2/+2
|/
* Merge pull request #188 from sampwing/masterJosé Padilla2015-10-261-1/+1
|\ | | | | Fixed example usage
| * Fixed example usageSam Wing2015-10-261-1/+1
|/
* Merge pull request #186 from jpadilla/add-docsMark Adams2015-10-2410-342/+917
|\ | | | | Make documentation awesome and add support for "Read the Docs"
| * Updated README with a link to docs and removed old docs contentadd-docsMark Adams2015-10-231-342/+7
| |
| * Added docs/ with awesome new documentation 🎉Mark Adams2015-10-239-0/+910
| |
* | Merge pull request #184 from maoaiz/masterMark Adams2015-10-233-1/+27
|\ \ | |/ |/| Fixed #183 AttributeError: 'NoneType' object has no attribute 'rsplit'
| * binary_type verification added to make the code more future-proofMauricio Aizaga2015-10-233-8/+13
| |
| * Fixed syntax for python 2.6Mauricio Aizaga2015-10-221-1/+1
| |
| * Fixed #183 AttributeError: 'NoneType' object has no attribute 'rsplit'Mauricio Aizaga2015-10-222-0/+21
|/ | | | | | The issue also occurs when payload is int raising: AttributeError: 'int' object has no attribute 'rsplit' Test for None and int payload added
* Merge pull request #180 from mark-adams/make-pytest-runner-conditionalMark Adams2015-10-091-1/+4
|\ | | | | Made pytest-runner installation in setup.py conditional. Fixes #179
| * Made pytest-runner installation in setup.py conditional. Fixes #179Mark Adams2015-10-091-1/+4
|/ | | | Based on instructions on pytest-runner: https://bitbucket.org/pytest-dev/pytest-runner
* Merge pull request #182 from mark-adams/fix-pytestMark Adams2015-10-092-4/+1
|\ | | | | Fixes an issue where the newer versions of Pytest can't detect deprecation warnings
| * Removed unneeded dependencies in tox.iniMark Adams2015-10-091-3/+0
| |
| * Fixes an issue where the newer versions of Pytest can't detect deprecation ↵Mark Adams2015-10-091-1/+1
| | | | | | | | | | | | warnings This was fixed in https://github.com/pytest-dev/pytest/pull/1081 but is not released yet.
* | Merge pull request #174 from gabrielg/masterMark Adams2015-07-232-6/+40
|\ \ | | | | | | Fail on encode and decode of bad JWS header values
| * | Change TypeError on bad `kid` to InvalidTokenErrorGabriel Gironda2015-07-232-6/+6
| | |
| * | Fail on encode and decode of bad JWS header valuesGabriel Gironda2015-07-212-4/+38
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Bump up version to v1.4.01.4.0José Padilla2015-07-162-2/+3
| |
* | Merge pull request #171 from alexm92/masterJosé Padilla2015-06-232-1/+11
|\ \ | | | | | | Fixed #167 throw InvalidAlgorithmError if alg not in header
| * | Changed test function nameAlexandru Mihai2015-06-231-1/+1
| | |
| * | Remove unused variableAlexandru Mihai2015-06-231-1/+1
| | |
| * | Merge branch 'master' of https://github.com/jpadilla/pyjwtAlexandru Mihai2015-06-227-29/+136
| |\ \ | |/ / |/| |
* | | Merge pull request #166 from mark-adams/opts-for-requiring-claimsMark Adams2015-06-227-29/+136
|\ \ \ | | | | | | | | Added new options for requiring exp, iat, and nbf claims.
| * | | Added and improved some documentation for claim verification optionsMark Adams2015-06-221-12/+40
| | | |
| * | | Added new options for requiring exp, iat, and nbf claims.Mark Adams2015-06-026-17/+96
| | | | | | | | | | | | | | | | Thanks to David Black <dblack@atlassian.com> for the suggestion.
| | * | Added test for verify signature with empty algoAlexandru Mihai2015-06-221-0/+10
| | | |
| | * | Fixed #167 throw InvalidAlgorithmError if alg not in headerAlexandru Mihai2015-06-221-1/+1
| |/ / |/| |
* | | Merge pull request #169 from kelvintaywl/masterJosé Padilla2015-06-071-1/+1
|\ \ \ | |/ / |/| | fix small typo in README
| * | fix small typo in READMEKelvin Tay2015-06-071-1/+1
|/ /
* | Use travis svg badgeJosé Padilla2015-05-301-1/+1
| |
* | Add Appveyor badgeJosé Padilla2015-05-301-0/+3
| |
* | Fixes #165José Padilla2015-05-302-0/+8
| |
* | Update README.mdJosé Padilla2015-05-261-1/+1
| |
* | Merge pull request #164 from mark-adams/release-1.31.3.0José Padilla2015-05-222-5/+10
|\ \ | |/ |/| Preparing for 1.3 release
| * Preparing for 1.3 releaseMark Adams2015-05-222-5/+10
|/
* Merge pull request #163 from mark-adams/fix-rsa-pssMark Adams2015-05-223-69/+36
|\ | | | | RSA-PSS should use the proper salt value when creating and verifying signatures
| * Updated the CHANGELOGMark Adams2015-05-191-0/+1
| |
| * Changed RSA-PSS algorithm to use the digest size of the hash function for ↵Mark Adams2015-05-191-2/+2
| | | | | | | | the salt length instead of the maximum salt length per the JWA spec. Fixes #162.
| * Removed tests that are no longer necessary now that we have test vectors ↵Mark Adams2015-05-191-66/+33
| | | | | | | | from RFC 7520
| * Removed the @skipif from the RSA-PSS test vector test.Mark Adams2015-05-191-1/+0
|/
* Merge pull request #161 from mark-adams/158-fix-ecdsaMark Adams2015-05-188-35/+94
|\ | | | | RE: Fix the ECDSA signature serialization format
| * Updated the CHANGELOGMark Adams2015-05-181-0/+4
| |
| * Merged master branch in to remove Python 3.2 support and add the newMark Adams2015-05-1821-246/+497
| |\ | |/ |/| | | test vectors from #160
* | Merge pull request #160 from mark-adams/add-test-vectorsMark Adams2015-05-189-3/+241
|\ \ | | | | | | Added test vectors from the IETF JOSE Cookbook for HMAC, RSA, and EC.
| * | Fixed tox.ini where flake8 wasn't running properly.Mark Adams2015-05-181-2/+2
| | |