chore(deps): move cryptography to 50.x - #317
Merged
Merged
Conversation
Follow-up to #315, which widened the constraint to ^49.0.0 as the minimal change that cleared CVE-2026-69249 and CVE-2026-69248. 50.0.1 is the current release and carries no known advisories, so this takes the extra runway rather than sitting one major behind from the day it landed. No security urgency: 49.x is already outside the vulnerable range (>=42.0.0, <=48.0.0) for both CVEs. This is purely about not needing another bump shortly. As in #315 the constraint is set in .speakeasy/gen.yaml under python.additionalDependencies.main, with the generated pyproject.toml kept in step. Generation 2.4.11 landed on top of #315 and preserved the ^49.0.0 value, confirming gen.yaml is the durable place for this. Verified against 50.0.1: resolved the runtime set (cryptography 50.0.1, PyJWT 2.14.0, python-jose 3.5.0) and exercised the ES512 thumbprint, jwt.encode and jwt.decode paths in src/gr4vy/auth.py. cryptography 50 requires Python >=3.9; this SDK requires >=3.10. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
🧪 Test coverage
Endpoint reach is measured from HTTP requests actually sent by the suite (see tests/utils/client.py). See TESTING.md. |
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.
What
Moves
cryptographyfrom^49.0.0to^50.0.1.Follow-up to #315, which took
^49.0.0as the minimal change that cleared the two open CVEs. 50.0.1 is the current release, so this takes the extra runway rather than sitting one major behind from the day it landed.No security urgency
49.x is already outside the vulnerable range (
>=42.0.0, <=48.0.0) for both CVE-2026-69249 and CVE-2026-69248, and the alerts are closed. 50.0.1 carries no known advisories. This is purely about not needing another bump shortly — merge it whenever suits.Speakeasy-managed
Same as #315: the constraint is set in
.speakeasy/gen.yamlunderpython.additionalDependencies.main, with the generatedpyproject.tomlkept in step.Worth noting as evidence the approach is sound — generation 2.4.11 landed on top of #315 and preserved the
^49.0.0value, sogen.yamlis confirmed as the durable place for this.Verification
Resolved the runtime set cleanly (
cryptography 50.0.1,PyJWT 2.14.0,python-jose 3.5.0) and exercised the real auth paths fromsrc/gr4vy/auth.pyagainst 50.0.1 — ES512 key load, JWK thumbprint,jwt.encodeandjwt.decodeall pass.cryptography50 requires Python ≥3.9; this SDK requires ≥3.10. The SDK's whole surface here isserialization.load_pem_private_keyandhashes.SHA256, both unchanged across 49→50.🤖 Generated with Claude Code