From ce7fa71ad0d83cc23c19d7aac7b68aafbc5dc4a0 Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Fri, 4 Dec 2026 13:45:42 +0100 Subject: [PATCH 1/2] chore: raise the jwcrypto minimum to 1.6.2 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 --- poetry.lock | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index a846026..7015757 100644 --- a/poetry.lock +++ b/poetry.lock @@ -859,18 +859,18 @@ drafts = ["pycryptodome"] [[package]] name = "jwcrypto" -version = "1.6.1" +version = "1.6.3" description = "Implementation of JOSE Web standards" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "jwcrypto-1.6.1-py3-none-any.whl", hash = "sha256:77e856818e514cb3d64a1043b6885a7d52f5cc37773f5e944de02103c8d3a54f"}, - {file = "jwcrypto-1.6.1.tar.gz", hash = "sha256:a1e1570da5c2e35dbcd375ec1d2891a24de8eb35ee2c1fe8e91978efb72cfe90"}, + {file = "jwcrypto-1.6.3-py3-none-any.whl", hash = "sha256:36c4e1a187a034b7f14172c88970d8c6e0cdbc411eef1adcd6bf289ec2ae7598"}, + {file = "jwcrypto-1.6.3.tar.gz", hash = "sha256:a1e7c6bfffc40c57e2994271834eed1ba87184b1c211a1c817a28ecc88b0f569"}, ] [package.dependencies] -cryptography = ">=49.0.0" +cryptography = ">=39.0.0" typing_extensions = ">=4.5.0" [[package]] @@ -1609,4 +1609,4 @@ zstd = ["backports-zstd (>=1.0.0) ; python_version < \"3.14\""] [metadata] lock-version = "2.1" python-versions = ">=3.10" -content-hash = "05ac2fa8950d32c03ecdf4d6c693b9e36378564977be76cf99f24f28d9f5e9ed" +content-hash = "c70038419a245a834c2b5bea39350888d1ebb73d85899bbc316d7dd39c4f34a3" diff --git a/pyproject.toml b/pyproject.toml index 032b5da..60c3704 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ authlib = "^1.9.1" # For JWT/OIDC features requests = "^2.31.0" # If you use requests for HTTP calls (e.g., discovery) httpx = "^0.28.1" cryptography = ">=45.0.1" -jwcrypto = "^1.5.7" +jwcrypto = "^1.6.2" ada-url = "^1.30.0" [tool.poetry.group.dev.dependencies] From 556642722edbcf3bf6febe72de1e56c93172a24b Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Fri, 4 Dec 2026 14:20:10 +0100 Subject: [PATCH 2/2] chore: raise the minimum jwcrypto to 1.6.3 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 --- poetry.lock | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 7015757..a1a9f4a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1609,4 +1609,4 @@ zstd = ["backports-zstd (>=1.0.0) ; python_version < \"3.14\""] [metadata] lock-version = "2.1" python-versions = ">=3.10" -content-hash = "c70038419a245a834c2b5bea39350888d1ebb73d85899bbc316d7dd39c4f34a3" +content-hash = "be55f54d0595537661013abfeba43da926b7269f5a785f8735f774789370ff89" diff --git a/pyproject.toml b/pyproject.toml index 60c3704..e1a5cca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ authlib = "^1.9.1" # For JWT/OIDC features requests = "^2.31.0" # If you use requests for HTTP calls (e.g., discovery) httpx = "^0.28.1" cryptography = ">=45.0.1" -jwcrypto = "^1.6.2" +jwcrypto = "^1.6.3" ada-url = "^1.30.0" [tool.poetry.group.dev.dependencies]