---
title: "cryptography 51.0.0 Breaking Changes on Homebrew | Since.dev"
description: "What each cryptography release removed, renamed or changed: 13 breaking changes in 1 version on Homebrew, each with its source."
canonical_url: https://since.dev/packages/homebrew/cryptography
last_updated: 2026-12-04
---

# cryptography breaking changes

cryptography 51.0.0 (December 3, 2026) is its newest release with breaking changes, 13 of them. The first: cryptography 51.0.0 drops support for PyPy 3.11. Every breaking API change we have recorded in cryptography on Homebrew: 13 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `51.0.0`, released December 3, 2026. Apache-2.0 OR BSD-3-Clause license. [Source repository](https://github.com/pyca/cryptography)

## cryptography 51.0.0 breaking changes

cryptography 51.0.0, released December 3, 2026: 13 breaking changes.

- **Removed**  

PyPy 3.11 no longer gets prebuilt wheels; users on it must install from source. PyPy 3.12 wheels are now published. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateNumbers.private_key`  

EllipticCurvePrivateNumbers.private_key now raises ValueError when private_value is not smaller than the curve's order. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.hazmat.primitives.serialization.load_pem_private_key`  

load_pem_private_key now raises ValueError for an encrypted traditional PEM whose DEK-Info IV length does not match the cipher. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.x509.CertificatePolicies`  

Constructing CertificatePolicies with an empty policies list now raises ValueError. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.x509.ExtendedKeyUsage`  

Constructing ExtendedKeyUsage with an empty list now raises ValueError. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.x509.IssuerAlternativeName`  

Constructing IssuerAlternativeName with an empty list now raises ValueError. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.x509.Name`  

Parsing and serializing X.509 names now fails when an IA5String attribute contains non-ASCII characters. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.x509.SubjectAlternativeName`  

Parsing a subjectAltName or issuerAltName extension with an empty GeneralNames sequence is now rejected. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `cryptography.x509.verification.PolicyBuilder.build_server_verifier`  

Passing a DNSName that is an IP address now raises ValueError; IP addresses must be passed as an IPAddress. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `decrypt_into`  

The AEAD decrypt_into methods and update_into on the decryption classes now zero the output buffer when authentication fails. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Behavior changed** `encrypt_into`  

Methods such as encrypt_into, update_into and derive_into now raise ValueError when input and output buffers overlap. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Configuration changed**  

The minimum supported Rust version rises from 1.83.0 to 1.85.0, so source builds with older Rust will fail. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)
- **Configuration changed**  

On Python 3.15 the package needs CFFI 2.1.1 or newer; older CFFI versions are no longer accepted. [github.com](https://github.com/pyca/cryptography/blob/51.0.0/CHANGELOG.rst)

## Related packages

- [cryptography](https://since.dev/packages/pypi/cryptography.md):  on PyPI

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
