summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Renamed jwt CLI script to jwt-cli to avoid issues with jwt script ↵fix-cli-scriptMark Adams2016-10-243-3/+10
| | | | overlapping with the jwt package. Fixes #130
* Merge pull request #225 from jpadilla/ecdsa-bkwards-compatMark Adams2016-10-241-0/+1
|\ | | | | Add back 'ES512' for backward compatibility (for now)
| * Add back 'ES512' for backward compatibility (for now)ecdsa-bkwards-compatMark Adams2016-10-241-0/+1
| |
* | Merge pull request #196 from kepkin/patch-1Mark Adams2016-10-241-1/+1
|\ \ | |/ |/| Fix rpm build
| * Fix rpm buildkepkin2016-02-031-1/+1
| | | | | | ```python3 setup.py bdist_rpm ``` failed because of non asci symbol.
* | Merge pull request #219 from mike9005/es521_fixMark Adams2016-10-243-6/+6
|\ \ | | | | | | Fix incorrectly named ECDSA algorithm
| * | Catch a couple more typos in testsMichael Collis2016-09-261-2/+2
| | |
| * | Fix tests to matchMichael Collis2016-09-211-2/+2
| | |
| * | Fix typo in rstMichael Collis2016-09-211-1/+1
| | |
| * | Fix typo in AlgorithmsMichael Collis2016-09-211-1/+1
| | |
* | | Merge pull request #220 from adamchainz/readthedocs.ioMark Adams2016-10-241-1/+1
|\ \ \ | | | | | | | | Convert readthedocs link for their .org -> .io migration for hosted projects
| * | | Convert readthedocs link for their .org -> .io migration for hosted projectsAdam Chainz2016-09-291-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
* | | Merge pull request #202 from jpadilla/add-jwk-for-hmac-rsaMark Adams2016-10-2411-130/+554
|\ \ \ | |/ / |/| | Add JWK support for HMAC and RSA keys
| * | Add JWK support for HMAC and RSA keysadd-jwk-for-hmac-rsaMark Adams2016-08-2811-130/+554
| | | | | | | | | | | | | | | | | | | | | - 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
* | | Merge pull request #218 from vimalloc/patch-1Mark Adams2016-09-141-0/+5
|\ \ \ | |/ / |/| | Add readthedocs link in README.md
| * | Add readthedocs link in README.mdLandon2016-09-141-0/+5
|/ /
* | Bump version to 1.4.2 and update CHANGELOG1.4.2Mark Adams2016-08-082-1/+20
| |
* | Merge pull request #213 from jpadilla/fix-type-error-on-bytes-keyMark Adams2016-08-073-9/+27
|\ \ | | | | | | Fix a bug where a PEM private key as bytes raises a TypeError
| * | Fix a bug where a PEM private key as bytes raises a TypeErrorfix-type-error-on-bytes-keyMark Adams2016-08-044-10/+30
| | |
* | | Merge pull request #214 from jpadilla/fix-flake8Mark Adams2016-08-051-1/+3
|\ \ \ | |/ / |/| | Flake8 now ignores .tox
| * | Flake8 now ignores .toxfix-flake8Mark Adams2016-08-051-1/+3
|/ /
* | Bump up version1.4.1José Padilla2016-07-131-1/+1
| |
* | Merge pull request #203 from jpadilla/add-python-35José Padilla2016-05-074-5/+10
|\ \ | | | | | | Add Python 3.5 to CI builds
| * | Add Python 3.5 to CI buildsadd-python-35Mark Adams2016-05-064-5/+10
| |/
* | Merge pull request #201 from jpadilla/madams/cleanup-test-skipsMark Adams2016-05-061-4/+0
|\ \ | |/ |/| Remove some erroneous @pytest.mark.skipif decorators
| * Remove some erroenous @pytest.mark.skipif decoratorsmadams/cleanup-test-skipsMark Adams2016-05-051-4/+0
|/
* 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
| | |