This update includes a few backwards-incompatible changes. Aside from a few simple renames, the other incompatibilities are correctness-related. * **BACKWARDS INCOMPATIBLE:** Removed the deprecated ``PUBLIC_KEY_TYPES``, ``PRIVATE_KEY_TYPES``, ``CERTIFICATE_PRIVATE_KEY_TYPES``, ``CERTIFICATE_ISSUER_PUBLIC_KEY_TYPES``, and ``CERTIFICATE_PUBLIC_KEY_TYPES`` type aliases. Use ``PublicKeyTypes``, ``PrivateKeyTypes``, ``CertificateIssuerPrivateKeyTypes``, ``CertificateIssuerPublicKeyTypes``, and ``CertificatePublicKeyTypes`` instead. These were deprecated in version 40.0. * **BACKWARDS INCOMPATIBLE:** :class:`~cryptography.hazmat.primitives.ciphers.algorithms.ChaCha20` now treats the first 4 bytes of the ``nonce`` as a 32-bit little-endian block counter (as defined in :rfc:`7539`) and tracks the number of bytes processed. Attempting to encrypt or decrypt more data than the counter allows before it would overflow now raises a :class:`ValueError` rather than silently diverging from RFC 7539. Setting the counter portion of the ``nonce`` to zero allows encrypting up to 256 GiB with a given nonce. * **BACKWARDS INCOMPATIBLE:** Loading an X.509 certificate whose ECDSA or DSA signature ``AlgorithmIdentifier`` contains encoded NULL parameters now raises a :class:`ValueError`. Such certificates are invalid, but older versions of Java emitted them; previously they loaded with a deprecation warning. Complete changelog: https://github.com/pyca/cryptography/blob/49.0.0/CHANGELOG.rst
29 lines
780 B
Diff
29 lines
780 B
Diff
From 90ddb902ed292b3da77cbcbe9bbd699a702bf523 Mon Sep 17 00:00:00 2001
|
|
From: Jeremy Cline <jeremycline@microsoft.com>
|
|
Date: Tue, 5 May 2026 07:43:30 -0400
|
|
Subject: [PATCH] Lower cc dependency
|
|
|
|
It's a docblock-only fix release compared to .60 and I can't be bothered
|
|
to rebuild it.
|
|
|
|
Signed-off-by: Jeremy Cline <jeremycline@microsoft.com>
|
|
---
|
|
Cargo.toml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Cargo.toml b/Cargo.toml
|
|
index d045bb077..680344f95 100644
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -23,7 +23,7 @@ license = "Apache-2.0 OR BSD-3-Clause"
|
|
[workspace.dependencies]
|
|
asn1 = { version = "0.24.1", default-features = false }
|
|
base64 = "0.22"
|
|
-cc = "1.2.63"
|
|
+cc = "1.2.62"
|
|
cfg-if = "1"
|
|
foreign-types = "0.3"
|
|
foreign-types-shared = "0.1"
|
|
--
|
|
2.54.0
|
|
|