summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [pre-commit.ci] pre-commit autoupdate (#712)pre-commit-ci[bot]2021-11-231-2/+2
| | | | | | | updates: - [github.com/psf/black: 21.10b0 → 21.11b1](https://github.com/psf/black/compare/21.10b0...21.11b1) - [github.com/asottile/blacken-docs: v1.11.0 → v1.12.0](https://github.com/asottile/blacken-docs/compare/v1.11.0...v1.12.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#711)pre-commit-ci[bot]2021-11-161-1/+1
| | | | | | updates: - [github.com/PyCQA/isort: 5.10.0 → 5.10.1](https://github.com/PyCQA/isort/compare/5.10.0...5.10.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#710)pre-commit-ci[bot]2021-11-091-1/+1
| | | | | | updates: - [github.com/PyCQA/isort: 5.9.3 → 5.10.0](https://github.com/PyCQA/isort/compare/5.9.3...5.10.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#708)pre-commit-ci[bot]2021-11-041-1/+1
| | | | | | updates: - [github.com/psf/black: 21.9b0 → 21.10b0](https://github.com/psf/black/compare/21.9b0...21.10b0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Don't use implicit optionals (#705)Kyungmin Lee2021-10-223-8/+9
| | | | | | | | | | | | | * Turn off implicit-optional * Change type annotations to use explicit optional According to PEP 484, implicit Optional is no longer recommended. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add support for Python 3.10 (#699)Hugo van Kemenade2021-10-183-1/+3
|
* Bump up version to v2.3.0 (#703)2.3.0José Padilla2021-10-162-2/+15
| | | Co-authored-by: José Padilla <jpadilla@users.noreply.github.com>
* Revert "Remove arbitrary kwargs. (#657)" (#701)Asif Saif Uddin2021-10-153-24/+12
| | | This reverts commit 5fe7f2b28ffcd27a3e520be750858944889112ef.
* Add exception chaining (#702)KDH2021-10-151-5/+5
|
* [pre-commit.ci] pre-commit autoupdate (#700)pre-commit-ci[bot]2021-10-121-1/+1
| | | | | | updates: - [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Bump up version to v2.2.0 (#697)2.2.0José Padilla2021-10-062-3/+16
| | | Co-authored-by: José Padilla <jpadilla@users.noreply.github.com>
* Use timezone package as Python 3.5+ is required (#694)Kevin Kirsche2021-10-064-14/+15
| | | | | | | | | | | | | | | | | | | * Use timezone package as Python 3.5+ is required This method is deprecated: https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow Replaced with: https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow using: https://docs.python.org/3/library/datetime.html#datetime.timezone.utc which seems to indicate this was added in Python 3.2 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Chore: inline Variables that immediately Returned (#690)Yasser Tahiri2021-10-035-43/+35
| | | | | * Fix Inline variables & Refactor Code Expression * Fix Linting Issue
* Add support for Ed448/EdDSA. (#675)Ajitomi, Daisuke2021-10-037-55/+198
| | | | | * Add support for Ed448/EdDSA. * Add test for verification using EdDSA private key.
* Remove upper bound on cryptography version (#693)Richard Connon2021-10-031-2/+2
| | | | | | Cryptography has adopted a firefox-style versioning system where new feature releases always have new major versions even if they don't have backwards incompatible changes. This means that an upper bound on the dependency does not make sense.
* [pre-commit.ci] pre-commit autoupdate (#689)pre-commit-ci[bot]2021-09-281-1/+1
| | | | | | updates: - [github.com/mgedmin/check-manifest: 0.46 → 0.47](https://github.com/mgedmin/check-manifest/compare/0.46...0.47) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#686)pre-commit-ci[bot]2021-09-211-1/+1
| | | | | | updates: - [github.com/psf/black: 21.8b0 → 21.9b0](https://github.com/psf/black/compare/21.8b0...21.9b0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#684)pre-commit-ci[bot]2021-08-311-2/+2
| | | | | | | updates: - [github.com/psf/black: 21.7b0 → 21.8b0](https://github.com/psf/black/compare/21.7b0...21.8b0) - [github.com/asottile/blacken-docs: v1.10.0 → v1.11.0](https://github.com/asottile/blacken-docs/compare/v1.10.0...v1.11.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Assume JWK is valid for signing if "use" is omitted (#668)Klavionik2021-08-123-1/+16
| | | | | * PyJWKClient: Assume JWK is intended for signing if 'use' claim is either 'sig' or not present * Update CHANGELOG
* Remove arbitrary kwargs. (#657)Ajitomi, Daisuke2021-08-084-12/+26
| | | | | * Remove arbitrary kwargs. * Update CHANGELOG.
* Fix docsJosé Padilla2021-08-081-1/+1
|
* Make typ optional (#644)Ajitomi, Daisuke2021-08-084-0/+89
| | | | | | | | | | | | | | | | | | | | | * Make typ optional. * Update doc. * Update CHANGELOG. * Refine parameter order of for backward compatibility. * Remove comment. * Add Optional to typ. * Keep order of JWT header parameter (typ, alg). * Make typ optional with headers argument. * Make typ optional with headers argument. * Remove unused log.
* DOC: Clarify RSA encoding and decoding depend on the cryptography package (#664)Thomas P2021-08-082-0/+5
| | | | | | | | | * DOC: Clarify RSA encoding and decoding depend on the cryptography package Followup to #208 * DOC: Add a reference to the cryptography section in the installation file Fixes missing reference in the previously edited file
* Prefer headers['alg'] to algorithm parameter in encode(). (#673)Ajitomi, Daisuke2021-08-055-4/+36
| | | | | | | | | | | * Prefer headers['alg'] to algorithm parameter in encode(). * Fix lack of @crypto_required. * Prefer headers['alg'] to algorithm parameter in encode(). * Prefer headers['alg'] to algorithm parameter in encode(). * Make algorithm parameter of encode() Optioanl explicitly.
* [pre-commit.ci] pre-commit autoupdate (#678)pre-commit-ci[bot]2021-08-031-1/+1
| | | | | | updates: - [github.com/PyCQA/isort: 5.9.2 → 5.9.3](https://github.com/PyCQA/isort/compare/5.9.2...5.9.3) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fix aud validation to support {'aud': null} case. (#670)Ajitomi, Daisuke2021-07-303-8/+28
| | | | | * Fix aud validation to support {'aud': null} case. * Fix aud validation to support {'aud': null} case.
* [pre-commit.ci] pre-commit autoupdate (#667)pre-commit-ci[bot]2021-07-201-2/+2
| | | | | | | updates: - [github.com/psf/black: 21.6b0 → 21.7b0](https://github.com/psf/black/compare/21.6b0...21.7b0) - [github.com/PyCQA/isort: 5.8.0 → 5.9.2](https://github.com/PyCQA/isort/compare/5.8.0...5.9.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#658)pre-commit-ci[bot]2021-06-151-3/+3
| | | | | | | | updates: - [github.com/psf/black: 21.4b2 → 21.6b0](https://github.com/psf/black/compare/21.4b2...21.6b0) - [github.com/PyCQA/flake8: 3.9.1 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.9.1...3.9.2) - [github.com/pre-commit/pre-commit-hooks: v3.4.0 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v3.4.0...v4.0.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#656)pre-commit-ci[bot]2021-05-081-1/+1
| | | | | | updates: - [github.com/psf/black: 21.4b0 → 21.4b2](https://github.com/psf/black/compare/21.4b0...21.4b2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Ignore coverage files generated during test runs (#617)Steven Pitts2021-04-291-0/+1
|
* Complete `jwt` documentation (#654)Johannes Jarbratt2021-04-291-13/+68
| | | | | | | * Add warning and clarify how default values are set * Copy `jwt.decode` documentation to `jwt.decode_complete` * Customize `jwt.decode_complete` documentation
* Bump up version to v2.1.0 (#653)2.1.0José Padilla2021-04-282-2/+14
|
* Export PyJWK and PyJWKSet (#652)José Padilla2021-04-282-0/+4
| | | | | * Export PyJWK and PyJWKSet. Closes #646 * Update CHANGELOG
* [pre-commit.ci] pre-commit autoupdate (#650)pre-commit-ci[bot]2021-04-283-4/+4
| | | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 20.8b1 → 21.4b0](https://github.com/psf/black/compare/20.8b1...21.4b0) - [github.com/PyCQA/flake8: 3.9.0 → 3.9.1](https://github.com/PyCQA/flake8/compare/3.9.0...3.9.1) * Update after pre-commit run Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: José Padilla <jpadilla@webapplicate.com>
* Fix incorrect documentation for jwt (#651)Johannes Jarbratt2021-04-281-7/+12
| | | | | | | | | | | | | * Fix incorrect default values * Added verify_nbf * Fix incorrect `require` option * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add to_jwk to Ed25519Algorithm. (#642) (#643)JohannesWill2021-04-283-0/+69
| | | | | | | | | | | | | | | * Add to_jwk to Ed25519Algorithm. (#642) * add test for invalid key * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update CHANGELOG for #643 * remove alg from jwk Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Clearly warn against computing algorithms from the token’s alg (#647)Anders Kaseorg2021-04-282-3/+24
| | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Allow to verify with private key on ECAlgorithm, as well as on ↵Ajitomi, Daisuke2021-04-163-0/+10
| | | | | | | Ed25519Algorithm. (#645) * Add private key support for ECAlgorithm verify. * Update CHANGELOG.
* changed 'paramenter' to 'parameter' (#638)leftovervirus2021-04-161-1/+1
| | | Co-authored-by: leftovervirus <leftovervirus@Steve-PC.localdomain>
* [pre-commit.ci] pre-commit autoupdate (#640)pre-commit-ci[bot]2021-04-061-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#636)pre-commit-ci[bot]2021-03-271-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Update CHANGELOG for #624. (#635)Ajitomi, Daisuke2021-03-221-0/+2
|
* Support JWK without alg. (#624)Ajitomi, Daisuke2021-03-222-3/+192
| | | | | | | | | | | * Support JWK without alg. * Make kty mandatory on PyJWK. * Add tests for kty=OKP. * Add tests for OKP-type JWK. * Add support for ES256K.
* Update doc for ES256K. (#632)Ajitomi, Daisuke2021-03-201-1/+2
|
* Add from_jwk to Ed25519Algorithm (Support kty: OKP). (#623)Ajitomi, Daisuke2021-03-185-0/+110
| | | | | * Support from_jwk on Ed25519Algorithm. * Update CHANGELOG.
* Add missing exceptions.InvalidKeyError to jwt module __init__ imports. (#620)Aaron Campbell2021-03-182-0/+3
| | | | | | | | | * Add missing exceptions.InvalidKeyError to jwt module __init__ imports. * flake8 * Update CHANGELOG.rst Co-authored-by: José Padilla <jpadilla@webapplicate.com>
* [pre-commit.ci] pre-commit autoupdate (#630)pre-commit-ci[bot]2021-03-181-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Support ES256K. (#629)Ajitomi, Daisuke2021-03-186-1/+34
| | | | | | | | | * Support ES256K. * Add tests for ES256K. * Add api_jws tests. * Update CHANGELOG.
* Remove padding from JWK test data. (#628)Ajitomi, Daisuke2021-03-184-7/+9
| | | | | | | * Remove padding from JWK test data. * Remove padding from test key string. * Update CHANGELOG.
* [pre-commit.ci] pre-commit autoupdate (#625)pre-commit-ci[bot]2021-03-141-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>