testing

pyOpenSSL-26.2.0-1.fc44, python-cryptography-49.0.0-1.fc44, & 1 more

FEDORA-2026-84131822ac created by jcline 4 days ago for Fedora 44

Update the Python cryptography and pyOpenSSL libraries. Both contain modest backwards incompatible changes and I'm not really certain about pushing this to stable, so auto-request for stable is off.

cryptography v49:

  • 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.

pyOpenSSL 26.2.0:

  • Removed deprecated OpenSSL.crypto.X509Extension, OpenSSL.crypto.X509Req.add_extension, OpenSSL.crypto.X509Req.get_extensions, OpenSSL.crypto.X509.add_extension, OpenSSL.crypto.X509.get_extensions. cryptography.x509 should be used instead.

  • It is now an error to calling any mutating method on OpenSSL.SSL.Context after it has been used to create a Connection. This was previously deprecated and has always been unsafe.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-84131822ac

This update's test gating status has been changed to 'waiting'.

4 days ago

This update has been submitted for testing by bodhi.

4 days ago

This update's test gating status has been changed to 'passed'.

4 days ago

This update has been pushed to testing.

3 days ago
karma
User Icon rai510 provided feedback 2 days ago
karma

This update can be pushed to stable now if the maintainer wishes

2 days ago
User Icon rai510 provided feedback 2 days ago
karma
User Icon derekenz commented & provided feedback 2 days ago
karma

Works

User Icon filiperosset commented & provided feedback a day ago
karma

no regressions noted here

User Icon besser82 commented & provided feedback a day ago
karma

Works great! LGTM! =)


Please log in to add feedback.

Metadata
Type
enhancement
Karma
5
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Thresholds
Minimum Karma
+2
Minimum Testing
14 days
Dates
submitted
4 days ago
in testing
3 days ago
approved
2 days ago

Automated Test Results