Skip to content

Python: bump cryptography upper bound from <45 to <47#389

Open
matthiasgoergens wants to merge 1 commit intoTrueLayer:mainfrom
matthiasgoergens:bump-cryptography-upper-bound
Open

Python: bump cryptography upper bound from <45 to <47#389
matthiasgoergens wants to merge 1 commit intoTrueLayer:mainfrom
matthiasgoergens:bump-cryptography-upper-bound

Conversation

@matthiasgoergens
Copy link
Copy Markdown

cryptography 46.0.5 fixes GHSA-vqmq-vfhg-gg2m (subgroup attack due to missing subgroup validation for SECT curves). The current <45 upper bound in pyproject.toml prevents downstream users from upgrading to the patched version.

This bumps the constraint to <47 to allow cryptography 45.x and 46.x, following the same pattern as PR #343 which bumped from <44 to <45.

cryptography 46.0.5 fixes GHSA-vqmq-vfhg-gg2m (subgroup attack on
SECT curves). The current <45 cap prevents users from upgrading.
Copilot AI review requested due to automatic review settings February 18, 2026 07:31
@matthiasgoergens matthiasgoergens requested a review from a team as a code owner February 18, 2026 07:31
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR relaxes the upper bound constraint on the cryptography dependency from <45 to <47, allowing downstream users to upgrade to cryptography versions 45.x and 46.x to address security vulnerabilities, particularly GHSA-vqmq-vfhg-gg2m fixed in 46.0.5.

Changes:

  • Updated cryptography version constraint in pyproject.toml from >=39,<45 to >=39,<47
  • Regenerated poetry.lock with Poetry 2.3.2, which normalized the astroid version constraint format to PEP 440 compliance

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
python/pyproject.toml Relaxed cryptography upper bound constraint from <45 to <47
python/poetry.lock Updated Poetry generator version and normalized astroid version format; updated content hash

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants