Skip to content

chore(deps): update cryptography requirement from >=42.0.0 to >=51.0.0 - #33

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cryptography-gte-51.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cryptography-gte-51.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 6, 2026

Copy link
Copy Markdown

Updates the requirements on cryptography to permit the latest version.

Changelog

Sourced from cryptography's changelog.

51.0.0 - 2026-12-01


* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 4.1.1.
* We no longer publish wheels for PyPy 3.11; it can still be installed from
  source. We now publish wheels for PyPy 3.12.
* Added :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP224R1`
  and :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP320R1`,
  Brainpool curves specified in :rfc:`5639`.
* Added support for loading elliptic curve keys that contain explicit encodings
  of the curves ``brainpoolP224r1``, ``brainpoolP256r1``, ``brainpoolP320r1``,
  ``brainpoolP384r1``, and ``brainpoolP512r1``.
* :class:`~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder`
  now retains additional certificates when ``set_data`` or ``add_signer`` is
  called after ``add_certificate``.
* Require CFFI 2.1.1 or newer on Python 3.15 to avoid an ABI issue in
  earlier CFFI releases.
* X.509 names now reject IA5String attributes containing non-ASCII
  characters when parsing and serializing.
* :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key`
  and :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key`
  now accept :rfc:`5958` ``OneAsymmetricKey`` (PKCS8 version 2).
* Updated the minimum supported Rust version (MSRV) to 1.85.0, from 1.83.0.
* Fixed a deadlock when multiple threads concurrently derived keys with
  :class:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id` (and the other
  Argon2 variants) using ``lanes`` greater than 1.
* Deprecated DSA. Everything DSA is deprecated, including the types in
  ``cryptography.hazmat.primitives.asymmetric.dsa`` and loading DSA keys with
  the key loading APIs (including from X.509 certificates and certificate
  signing requests). Users should migrate to a more modern signature
  algorithm.
* The ``*_into`` methods (e.g. ``encrypt_into``, ``update_into``, and
  ``derive_into``) now raise ``ValueError`` if the input and output buffers
  overlap. Previously, overlapping buffers could silently produce incorrect
  output.
* Parsing a ``subjectAltName`` or ``issuerAltName`` extension now rejects an
  empty ``GeneralNames`` sequence, matching the ``SIZE (1..MAX)`` constraint
  RFC 5280 4.2.1.6/4.2.1.7 places on the field and the strictness already
  applied to ``extendedKeyUsage``.
* :class:`~cryptography.x509.ExtendedKeyUsage`,
  :class:`~cryptography.x509.SubjectAlternativeName` and
  :class:`~cryptography.x509.IssuerAlternativeName` now raise ``ValueError``
  when constructed with an empty list.
* :class:`~cryptography.x509.CertificatePolicies` now raises ``ValueError``
  when constructed with an empty ``policies`` list, matching the
  ``SIZE (1..MAX)`` constraint RFC 5280 4.2.1.4 places on the field and the
  check :class:`~cryptography.x509.ExtendedKeyUsage` already performs.
* :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateNumbers.private_key`
  now raises ``ValueError`` when ``private_value`` is not smaller than the
  curve's order, matching
</tr></table> 

... (truncated)

Commits

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 commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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@42.0.0...51.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Dec 6, 2026
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 Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants