Skip to content

Bump cryptography from 49.0.0 to 50.0.0 - #13319

Merged
github-actions[bot] merged 1 commit into
3.15from
dependabot/pip/3.15/cryptography-50.0.0
Aug 6, 2026
Merged

Bump cryptography from 49.0.0 to 50.0.0#13319
github-actions[bot] merged 1 commit into
3.15from
dependabot/pip/3.15/cryptography-50.0.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps cryptography from 49.0.0 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 the dependencies Pull requests that update a dependency file label Aug 4, 2026
@dependabot
dependabot Bot requested review from asvetlov and webknjaz as code owners August 4, 2026 10:47
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 10:47
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (b9ff891) to head (93a0c8f).
⚠️ Report is 6 commits behind head on 3.15.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             3.15   #13319   +/-   ##
=======================================
  Coverage   98.27%   98.27%           
=======================================
  Files         136      136           
  Lines       49417    49417           
  Branches     2666     2666           
=======================================
+ Hits        48563    48564    +1     
  Misses        674      674           
+ Partials      180      179    -1     
Flag Coverage Δ
CI-GHA 98.27% <ø> (+<0.01%) ⬆️
OS-Linux 98.05% <ø> (+<0.01%) ⬆️
OS-Windows 95.73% <ø> (ø)
OS-macOS 97.22% <ø> (ø)
Py-3.10 97.39% <ø> (+0.01%) ⬆️
Py-3.11 97.67% <ø> (ø)
Py-3.12 97.76% <ø> (ø)
Py-3.13 97.74% <ø> (ø)
Py-3.14 97.84% <ø> (-0.01%) ⬇️
Py-3.14t 96.84% <ø> (+<0.01%) ⬆️
Py-pypy-3.11 96.66% <ø> (ø)
VM-macos 97.22% <ø> (ø)
VM-ubuntu 98.05% <ø> (+<0.01%) ⬆️
VM-windows 95.73% <ø> (ø)
cython-coverage 38.51% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@codspeed-hq

codspeed-hq Bot commented Aug 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 84 untouched benchmarks
⏩ 86 skipped benchmarks1


Comparing dependabot/pip/3.15/cryptography-50.0.0 (93a0c8f) with 3.15 (b9ff891)2

Open in CodSpeed

Footnotes

  1. 86 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on 3.15 (d6e8cca) during the generation of this report, so b9ff891 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Bumps [cryptography](https://github.com/pyca/cryptography) from 49.0.0 to 50.0.0.
- [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: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/3.15/cryptography-50.0.0 branch from 821c5f9 to 93a0c8f Compare August 6, 2026 11:10
@github-actions
github-actions Bot merged commit ffb8405 into 3.15 Aug 6, 2026
45 of 46 checks passed
@github-actions
github-actions Bot deleted the dependabot/pip/3.15/cryptography-50.0.0 branch August 6, 2026 11:23
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants