Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pyjwt from 1.7.1 to 2.1.0 #68

Merged
merged 1 commit into from
May 24, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 24, 2021

Bumps pyjwt from 1.7.1 to 2.1.0.

Release notes

Sourced from pyjwt's releases.

2.1.0

Changelog

Changed

  • Allow claims validation without making JWT signature validation mandatory. #608

Fixed

  • Remove padding from JWK test data. #628
  • Make kty mandatory in JWK to be compliant with RFC7517. #624
  • Allow JWK without alg to be compliant with RFC7517. #624
  • Allow to verify with private key on ECAlgorithm, as well as on Ed25519Algorithm. #645

Added

  • Add caching by default to PyJWKClient #611
  • Add missing exceptions.InvalidKeyError to jwt module __init__ imports #620
  • Add support for ES256K algorithm #629
  • Add from_jwk() to Ed25519Algorithm #621
  • Add to_jwk() to Ed25519Algorithm #643
  • Export PyJWK and PyJWKSet #652

2.0.1

Changelog

Changed

  • Rename CHANGELOG.md to CHANGELOG.rst and include in docs #597

Fixed

  • Fix from_jwk() for all algorithms #598

v2.0.0

Highlights

Introduce better experience for JWKs

Introduce PyJWK, PyJWKSet, and PyJWKClient.

import jwt
from jwt import PyJWKClient
token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5FRTFRVVJCT1RNNE16STVSa0ZETlRZeE9UVTFNRGcyT0Rnd1EwVXpNVGsxUWpZeVJrUkZRdyJ9.eyJpc3MiOiJodHRwczovL2Rldi04N2V2eDlydS5hdXRoMC5jb20vIiwic3ViIjoiYVc0Q2NhNzl4UmVMV1V6MGFFMkg2a0QwTzNjWEJWdENAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vZXhwZW5zZXMtYXBpIiwiaWF0IjoxNTcyMDA2OTU0LCJleHAiOjE1NzIwMDY5NjQsImF6cCI6ImFXNENjYTc5eFJlTFdVejBhRTJINmtEME8zY1hCVnRDIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.PUxE7xn52aTCohGiWoSdMBZGiYAHwE5FYie0Y1qUT68IHSTXwXVd6hn02HTah6epvHHVKA2FqcFZ4GGv5VTHEvYpeggiiZMgbxFrmTEY0csL6VNkX1eaJGcuehwQCRBKRLL3zKmA5IKGy5GeUnIbpPHLHDxr-GXvgFzsdsyWlVQvPX2xjeaQ217r2PtxDeqjlf66UYl6oY6AqNS8DH3iryCvIfCcybRZkc_hdy-6ZMoKT6Piijvk_aXdm7-QQqKJFHLuEqrVSOuBqqiNfVrG27QzAPuPOxvfXTVLXL2jek5meH6n-VWgrBdoMFH93QEszEDowDAEhQPHVs0xj7SIzA"
kid = "NEE1QURBOTM4MzI5RkFDNTYxOTU1MDg2ODgwQ0UzMTk1QjYyRkRFQw"
url = "https://dev-87evx9ru.auth0.com/.well-known/jwks.json"
jwks_client = PyJWKClient(url)
</tr></table>

... (truncated)

Changelog

Sourced from pyjwt's changelog.

v2.1.0 <https://github.com/jpadilla/pyjwt/compare/2.0.1...2.1.0>__

Changed


- Allow claims validation without making JWT signature validation mandatory. `[#608](https://github.com/jpadilla/pyjwt/issues/608) <https://github.com/jpadilla/pyjwt/pull/608>`__

Fixed


- Remove padding from JWK test data. `[#628](https://github.com/jpadilla/pyjwt/issues/628) &lt;https://github.com/jpadilla/pyjwt/pull/628&gt;`__
- Make `kty` mandatory in JWK to be compliant with RFC7517. `[#624](https://github.com/jpadilla/pyjwt/issues/624) &lt;https://github.com/jpadilla/pyjwt/pull/624&gt;`__
- Allow JWK without `alg` to be compliant with RFC7517. `[#624](https://github.com/jpadilla/pyjwt/issues/624) &lt;https://github.com/jpadilla/pyjwt/pull/624&gt;`__
- Allow to verify with private key on ECAlgorithm, as well as on Ed25519Algorithm. `[#645](https://github.com/jpadilla/pyjwt/issues/645) &lt;https://github.com/jpadilla/pyjwt/pull/645&gt;`__

Added

  • Add caching by default to PyJWKClient [#611](https://github.com/jpadilla/pyjwt/issues/611) &lt;https://github.com/jpadilla/pyjwt/pull/611&gt;__
  • Add missing exceptions.InvalidKeyError to jwt module init imports [#620](https://github.com/jpadilla/pyjwt/issues/620) &lt;https://github.com/jpadilla/pyjwt/pull/620&gt;__
  • Add support for ES256K algorithm [#629](https://github.com/jpadilla/pyjwt/issues/629) &lt;https://github.com/jpadilla/pyjwt/pull/629&gt;__
  • Add from_jwk() to Ed25519Algorithm [#621](https://github.com/jpadilla/pyjwt/issues/621) &lt;https://github.com/jpadilla/pyjwt/pull/621&gt;__
  • Add to_jwk() to Ed25519Algorithm [#643](https://github.com/jpadilla/pyjwt/issues/643) &lt;https://github.com/jpadilla/pyjwt/pull/643&gt;__
  • Export PyJWK and PyJWKSet [#652](https://github.com/jpadilla/pyjwt/issues/652) &lt;https://github.com/jpadilla/pyjwt/pull/652&gt;__

v2.0.1 &lt;https://github.com/jpadilla/pyjwt/compare/2.0.0...2.0.1&gt;__

Changed

  • Rename CHANGELOG.md to CHANGELOG.rst and include in docs [#597](https://github.com/jpadilla/pyjwt/issues/597) <https://github.com/jpadilla/pyjwt/pull/597>__

Fixed


- Fix `from_jwk()` for all algorithms `[#598](https://github.com/jpadilla/pyjwt/issues/598) <https://github.com/jpadilla/pyjwt/pull/598>`__

Added

v2.0.0 <https://github.com/jpadilla/pyjwt/compare/1.7.1...2.0.0>__

Changed


Drop support for Python 2 and Python 3.0-3.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
</tr></table> 

... (truncated)

Commits
  • 79c23d7 Bump up version to v2.1.0 (#653)
  • c7f9ac5 Export PyJWK and PyJWKSet (#652)
  • 816cbe5 [pre-commit.ci] pre-commit autoupdate (#650)
  • 0da4223 Fix incorrect documentation for jwt (#651)
  • 545931d Add to_jwk to Ed25519Algorithm. (#642) (#643)
  • 7f6a236 Clearly warn against computing algorithms from the token’s alg (#647)
  • fb86f9d Allow to verify with private key on ECAlgorithm, as well as on Ed25519Algorit...
  • bcd5728 changed 'paramenter' to 'parameter' (#638)
  • fc7a708 [pre-commit.ci] pre-commit autoupdate (#640)
  • f02fa0d [pre-commit.ci] pre-commit autoupdate (#636)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added pr: dependencies Pull requests that update a dependency file module: python Python code labels May 24, 2021
@dependabot dependabot bot force-pushed the dependabot/pip/pyjwt-2.1.0 branch 4 times, most recently from cb6ddb3 to df2f9ea Compare May 24, 2021 14:23
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 1.7.1 to 2.1.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](jpadilla/pyjwt@1.7.1...2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pyjwt-2.1.0 branch from df2f9ea to 9adc02c Compare May 24, 2021 14:25
@madeinoz67 madeinoz67 merged commit 1a9b9b2 into master May 24, 2021
@madeinoz67 madeinoz67 deleted the dependabot/pip/pyjwt-2.1.0 branch May 24, 2021 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: python Python code pr: dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant