Repository navigation
chore: raise the jwcrypto minimum to 1.6.3 - #171
Open
frederikprijck wants to merge 2 commits into
Open
frederikprijck wants to merge 2 commits into
frederikprijck wants to merge 2 commits into
Conversation
Raise the declared jwcrypto minimum from ^1.5.7 to ^1.6.2. 1.6.2 is the first release that parses a JWKS containing keys of an unknown type and supports newer JOSE algorithms and the AKP key type without requiring a newer cryptography than the repo declares (jwcrypto 1.5.9 to 1.6.1 require cryptography>=49.0.0, 1.6.2 requires >=39.0.0). Same major version, so this is not a breaking change. poetry.lock now resolves jwcrypto 1.6.3 (was 1.6.1); cryptography stays at 51.0.0 and the declared cryptography>=45.0.1 and Python >=3.10 are unchanged. Co-Authored-By: Claude <noreply@anthropic.com>
1.6.3 contains the fix for CVE-2026-142105, which affects every release up to 1.6.2. It has the same requirements as 1.6.2 (cryptography>=39.0.0), and the lockfile already resolved it. Co-Authored-By: Claude <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Raise the declared
jwcryptominimum from^1.5.7to^1.6.3inpyproject.toml, and refreshpoetry.lock(Poetry 2.3.4 format).Why: 1.6.3 is the first release with all the security fixes since 1.5.7 (CVE-2026-80179 (fixed in 1.5.9), CVE-2026-84185 (1.6.0), CVE-2026-92091 (1.6.1) and CVE-2026-142105 (1.6.3); the last affects every release up to 1.6.2) and, like 1.5.9 and later, parses a JWKS containing keys of an unknown type and supports newer JOSE algorithms and the
AKPkey type without requiring a newercryptographythan the repo declares. jwcrypto 1.5.9 through 1.6.1 requirecryptography>=49.0.0; 1.6.2 and later requirecryptography>=39.0.0(all withrequires_python >=3.9), so the repo'scryptography>=45.0.1andpython >=3.10stay valid. This is a same-major bump, not a breaking change.jwcryptoentry (1.6.1 to 1.6.3, which also relaxes itscryptographyrequirement from>=49.0.0to>=39.0.0) and thecontent-hashchange.cryptographystays at 51.0.0.jwcryptois only used byencryption.py(JWE helpers forAbstractTokenStore); access token and DPoP verification useauthlib..snykwaiver forjwcrypto.requirements.txtdoes not listjwcrypto, so it is unchanged.^1.5.9was rejected because it would forcecryptography>=49.0.0on consumers while this repo declares>=45.0.1.^1.6.2was rejected because it still allows 1.6.2, which is affected by CVE-2026-142105.References
Testing
No new tests: this is a dependency metadata change with no source changes. On Python 3.12 with the refreshed lockfile,
poetry run pytestgives 506 passed (same as before the change) andpoetry run ruff check .passes. CI runs the Python 3.10 to 3.14 matrix. Reviewers can runpoetry install && poetry run pytest && poetry run ruff check ..Checklist
🤖 Generated with Claude Code