chore(deps-dev): Update cryptography requirement from <51.0,>=50.0.1 to >=50.0.2,<51.0 in /agent-governance-python/agent-os #4319
All Vouch review confidence checks passed
Residual risk 0.30 = Change Risk (0.75) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.75 · 649 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.075
Real PR Conversation Timeline
1 comments
"Review active on #4319"
general
weight: 0.35
MohammadHaroonAbuomar
[//]: # (dependabot-start)
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
---
[//]: # (dependabot-end)
Updates the requirements on cryptography to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p>
<blockquote>
<p>50.0.2 - 2026-09-30</p>
<pre><code>
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 4.0.3.
Added `
abi3.abi3twheels for free-threaded CPython 3.15 and later.Updated to PyO3 0.29.2, which fixes building
cryptographyon Cygwin and~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_derMSYS2.
<p>.. _v50-0-1:</p>
<p>50.0.1 - 2026-08-25
</code></pre></p>
<ul>
<li>Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 4.0.2.</li>
</ul>
<p>.. _v50-0-0:</p>
<p>50.0.0 - 2026-07-31</p>
<pre><code>
SECURITY ISSUE:
:func:
and its PEM and S/MIME variants no longer expose distinguishable errors or
timing when unwrapping a
RecipientInfo'sencryptedKey, which could3218act as a Bleichenbacher oracle for callers that decrypt untrusted messages.
A random key is now substituted on failure, as described in :rfc:
.
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.dhand loading FFDH keys orparameters with the key loading APIs. Users should migrate to a more
modern key exchange algorithm.
Added
xof()class methods to~cryptography.hazmat.primitives.hashes.SHAKE128:class:
and~cryptography.hazmat.primitives.hashes.SHAKE256:class:
for constructing~cryptography.hazmat.primitives.hashes.XOFHashalgorithm instances configured for use with
:class:
.X.509 verification <cryptography.x509.verification>The :mod:
APIs are now/cobblestoneconsidered stable and are subject to our API stability policy.
Added the :doc:
recipe, an implementation of theC2SPCobblestone-128 and Cobblestone-256 instantiations of the
chunked-encryption specification
<https://c2sp.org/chunked-encryption>
_ for streaming authenticated~cryptography.x509.Nameencryption 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:
as a field type in/hazmat/asn1/indexthe :doc:
module.
Loading a public key or an EC private key now rejects DER where the </tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyca/cryptography/commit/4dda5c7fe4ae71b8925f2551910a0ef959df9c7a"><code>4dda5c7</code></a> [50.0.x] Bump for 50.0.2 release + changelog (<a href="https://redirect.github.com/pyca/cryptography/issues/15733">#15733</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/70c881cd7ea97d38df09f57c1117470cd1a5a2f7"><code>70c881c</code></a> [50.0.x] Bump pyo3 to 0.29.2 (<a href="https://redirect.github.com/pyca/cryptography/issues/15731">#15731</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/a8c45c449b8d29908a14561afd45fee8bf27d044"><code>a8c45c4</code></a> [50.0.x] Build abi3.abi3t wheels for CPython 3.15+ (<a href="https://redirect.github.com/pyca/cryptography/issues/15496">#15496</a>) (<a href="https://redirect.github.com/pyca/cryptography/issues/15732">#15732</a>)</li>
<li>See full diff in <a href="https://github.com/pyca/cryptography/compare/50.0.1...50.0.2">compare view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
will rebase this PRwill recreate this PR, overwriting any edits that have been made to itwill show all of the ignore conditions of the specified dependencywill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)</details>