Skip to content

chore(deps): bump cryptography from 48.0.1 to 50.0.0 - #362

Merged
Paulo Lacerda (placerda) merged 1 commit into
mainfrom
dependabot/uv/cryptography-50.0.0
Aug 7, 2026
Merged

chore(deps): bump cryptography from 48.0.1 to 50.0.0#362
Paulo Lacerda (placerda) merged 1 commit into
mainfrom
dependabot/uv/cryptography-50.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor

Bumps cryptography from 48.0.1 to 50.0.0.

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 dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 5, 2026
@placerda
Paulo Lacerda (placerda) changed the base branch from main to develop August 7, 2026 14:13
@placerda

Copy link
Copy Markdown
Contributor

Dependabot (@dependabot) rebase

Bumps [cryptography](https://github.com/pyca/cryptography) from 48.0.1 to 50.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@48.0.1...50.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot changed the base branch from develop to main August 7, 2026 14:21
@dependabot
dependabot Bot force-pushed the dependabot/uv/cryptography-50.0.0 branch from 588ed1c to fa619af Compare August 7, 2026 14:21
@placerda
Paulo Lacerda (placerda) merged commit 9ea82d7 into main Aug 7, 2026
12 checks passed
@placerda
Paulo Lacerda (placerda) deleted the dependabot/uv/cryptography-50.0.0 branch August 7, 2026 14:31
Paulo Lacerda (placerda) added a commit that referenced this pull request Aug 7, 2026
…p below 2.0 (#385)

* chore(deps): bump mcp from 1.27.1 to 1.28.1 (#356)

Bumps [mcp](https://github.com/modelcontextprotocol/python-sdk) from 1.27.1 to 1.28.1.
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases)
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md)
- [Commits](modelcontextprotocol/python-sdk@v1.27.1...v1.28.1)

---
updated-dependencies:
- dependency-name: mcp
  dependency-version: 1.28.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cryptography from 48.0.1 to 50.0.0 (#362)

Bumps [cryptography](https://github.com/pyca/cryptography) from 48.0.1 to 50.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@48.0.1...50.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): pin mcp floor to 1.28.1 and document Dependabot security-update targeting

Raises the mcp extra floor to >=1.28.1 (matching the version synced from main)
and keeps the <2 upper bound: mcp 2.0.0 is a breaking rewrite that replaces
FastMCP with MCPServer, and src/agentops/mcp/server.py targets the 1.x API.

Also documents in .github/dependabot.yml why security PRs land on main despite
target-branch: develop, and the correct way to re-cut them.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Paulo Lacerda (placerda) added a commit that referenced this pull request Aug 7, 2026
Dependabot security updates always target the default branch and ignore
`target-branch: develop` in dependabot.yml. Two of them (#356 mcp, #362
cryptography) squash-merged straight into `main`, leaving `main` two
commits ahead of `develop`.

Their content was already cherry-picked into `develop` via #385, and
`develop` has since moved further ahead:

  package       develop    main
  aiohttp       3.14.3     3.14.1
  cryptography  50.0.0     50.0.0
  mcp           1.28.1     1.28.1
  nltk          3.10.0     3.9.4

So `develop` is a strict superset. What was missing was only the
ancestry link, and that gap is not cosmetic: `git merge-tree
origin/main origin/develop` reproduces a real CONFLICT in `uv.lock`.
The next `release/vX.Y.Z` -> `main` merge would have hit that conflict.

This uses `-s ours` deliberately. Both main-only commits touch `uv.lock`
and nothing else, and `develop` already carries equal-or-newer versions
of every package they bumped, so discarding their tree loses nothing.
The merge exists to advance the merge-base, not to move files.

Verified after merging: `git diff HEAD origin/develop` is empty (no file
changed) and `git log origin/develop..origin/main` is empty (ancestry
closed).

Refs #366

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bcb9c0b6-d506-46dc-90d2-8120413166ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant