Skip to content

chore(deps-dev): update cryptography requirement from <50.0,>=49.0.0 to >=50.0.0,<51.0 in /agent-governance-python/agent-mesh - #3607

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/agent-governance-python/agent-mesh/cryptography-gte-50.0.0-and-lt-51.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/agent-governance-python/agent-mesh/cryptography-gte-50.0.0-and-lt-51.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on cryptography to permit the latest version.

Changelog

Sourced from cryptography's changelog.

50.0.0 - 2026-07-31


* **SECURITY ISSUE**:
  :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_der`
  and its PEM and S/MIME variants no longer expose distinguishable errors or
  timing when unwrapping a ``RecipientInfo``'s ``encryptedKey``, which could
  act as a Bleichenbacher oracle for callers that decrypt untrusted messages.
  A random key is now substituted on failure, as described in :rfc:`3218`.
  Credit to **@X1AOxiang** for reporting the issue. **CVE-2026-69247**
* Deprecated Diffie-Hellman key exchange over finite fields (FFDH).
  Everything FFDH is deprecated, including the types in
  ``cryptography.hazmat.primitives.asymmetric.dh`` and loading FFDH keys or
  parameters with the key loading APIs. Users should migrate to a more
  modern key exchange algorithm.
* Added ``xof()`` class methods to
  :class:`~cryptography.hazmat.primitives.hashes.SHAKE128` and
  :class:`~cryptography.hazmat.primitives.hashes.SHAKE256` for constructing
  algorithm instances configured for use with
  :class:`~cryptography.hazmat.primitives.hashes.XOFHash`.
* The :mod:`X.509 verification <cryptography.x509.verification>` APIs are now
  considered stable and are subject to our API stability policy.
* Added the :doc:`/cobblestone` recipe, an implementation of the
  Cobblestone-128 and Cobblestone-256 instantiations of the `C2SP
  chunked-encryption specification
  <https://c2sp.org/chunked-encryption>`_ for streaming authenticated
  encryption of large messages.
* Parsing a Signed Certificate Timestamp list now rejects encodings that
  carry trailing bytes after the list or after an individual SCT, instead of
  silently ignoring them.
* Added support for using :class:`~cryptography.x509.Name` as a field type in
  the :doc:`/hazmat/asn1/index` module.
* Loading a public key or an EC private key now rejects DER where the
  ``subjectPublicKey`` (or EC ``publicKey``) ``BIT STRING`` declares a non-zero
  number of unused bits, instead of silently ignoring it.
* Parsing a CRL entry's ``InvalidityDate`` extension now rejects a
  ``GeneralizedTime`` that carries fractional seconds or another non-DER form,
  matching the strict encoding already required for every other X.509 time
  field.
* :func:`~cryptography.x509.ocsp.load_der_ocsp_request` and
  :func:`~cryptography.x509.ocsp.load_der_ocsp_response` now reject a request
  or response whose ``version`` field is not ``v1``, the only version defined
  by RFC 6960, matching the version validation already performed when loading
  certificates, CSRs and CRLs.
* :class:`~cryptography.hazmat.primitives.hashes.XOFHash` is now supported
  when building against AWS-LC.
* HMAC (and therefore PBKDF2-HMAC) with SHA-3 hashes is now supported when
  building against AWS-LC.
* Diffie-Hellman (:doc:`/hazmat/primitives/asymmetric/dh`) is now supported
  when building against AWS-LC.
</tr></table> 

... (truncated)

Commits

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 4, 2026
Copilot AI lite review requested due to automatic review settings August 4, 2026 09:15
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the Python dependency constraints for cryptography in the agent-mesh package.

Changes:

  • Bumped cryptography from >=49.0.0,<50.0 to >=50.0.0,<51.0.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

PR Review Summary

Check Status Details
🔍 Code Review ⚠️ Missing No current-run comment
🛡️ Security Scan ⚠️ Missing No current-run comment
🔄 Breaking Changes ⚠️ Missing No current-run comment
📝 Docs Sync ⚠️ Missing No current-run comment
🧪 Test Coverage ⚠️ Missing No current-run comment

Verdict: ⚠️ AI review incomplete; ready for human review

AI review comments are untrusted advisory output. The summary reports workflow-generated completion status only, not model-authored pass/fail claims.

@github-actions github-actions Bot added the agent-mesh agent-mesh package label Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added the size/XS Extra small PR (< 10 lines) label Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

📦 Dependency diff (SBOM)

Comparing main → dependabot/pip/agent-governance-python/agent-mesh/cryptography-gte-50.0.0-and-lt-51.0.

✅ No dependency changes detected.

Copilot AI review requested due to automatic review settings August 4, 2026 22:21
@dependabot
dependabot Bot force-pushed the dependabot/pip/agent-governance-python/agent-mesh/cryptography-gte-50.0.0-and-lt-51.0 branch from 2b572bb to 088c6e2 Compare August 4, 2026 22:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

liamcrumm pushed a commit that referenced this pull request Aug 4, 2026
The core metapackage's <50.0 cap is disjoint with the dependabot
dev-extra widens to >=50.0 (#3607/#3610), so their test matrices die
at pip install with ResolutionImpossible before a single test runs.
Same shape as the 49-cycle widen (#3070).

Compatibility evidence for 50.0.0: the full agent-mesh suite passes
under cryptography 50 with this cap lifted (3601 passed; the two
failures are sandbox-environment subprocess denials, not crypto), on
top of the cloud-board/nexus verification from #3588 (85 tests; no
applicable 49/50 breaking changes on Ed25519/AESGCM surfaces).

Signed-off-by: MohammadHaroonAbuomar <40180927+MohammadHaroonAbuomar@users.noreply.github.com>
@MohammadHaroonAbuomar

Copy link
Copy Markdown
Collaborator

Dependabot (@dependabot) rebase

Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@49.0.0...50.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 50.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Copilot AI review requested due to automatic review settings August 4, 2026 23:40
@dependabot
dependabot Bot force-pushed the dependabot/pip/agent-governance-python/agent-mesh/cryptography-gte-50.0.0-and-lt-51.0 branch from 088c6e2 to 7476170 Compare August 4, 2026 23:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

liamcrumm pushed a commit that referenced this pull request Aug 5, 2026
…together (#3621)

Dependabot raised the two widens separately (#3607/#3610), but
docker-compose-test co-installs every package, so each PR conflicts
with the other package's still-capped <50.0 dev extra and neither can
go green alone. Land both in one change; dependabot closes its PRs
automatically once the manifests move.

Compatibility evidence for 50.0.0 is already on record: full
agent-mesh suite passes under 50 (3601 tests, incl. all 238
crypto-surface tests), cloud-board/nexus verified in the #3588 review,
and the core/marketplace runtime caps were widened in #3615/#3604.

Signed-off-by: MohammadHaroonAbuomar <40180927+MohammadHaroonAbuomar@users.noreply.github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Looks like cryptography is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Aug 5, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/agent-governance-python/agent-mesh/cryptography-gte-50.0.0-and-lt-51.0 branch August 5, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-mesh agent-mesh package dependencies Pull requests that update a dependency file size/XS Extra small PR (< 10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants