Commit graph

59 commits

Author SHA1 Message Date
Jeremy Cline
a9ab9d1bf7
Update to v46.0.6
This includes a single fix for security issue:

* **SECURITY ISSUE**: Fixed a bug where name constraints were not applied
  to peer names during verification when the leaf certificate contains a
  wildcard DNS SAN. Ordinary X.509 topologies are not affected by this bug,
  including those used by the Web PKI. Credit to **Oleh Konko (1seal)** for
  reporting the issue. **CVE-2026-34073**
2026-03-26 16:01:22 -04:00
Jeremy Cline
09809af65a
Update to v46.0.5
Changelog (https://cryptography.io/en/latest/changelog/#v46-0-5)

 - An attacker could create a malicious public key that reveals portions
   of your private key when using certain uncommon elliptic curves
   (binary curves). This version now includes additional security checks
   to prevent this attack. This issue only affects binary elliptic
   curves, which are rarely used in real-world applications. Credit to
   **XlabAI Team of Tencent Xuanwu Lab and Atuin Automated Vulnerability
   Discovery Engine** for reporting the issue. **CVE-2026-26007**

 - Support for SECT binary elliptic curves is deprecated and will be
   removed in the next release.
2026-02-10 15:15:14 -05:00
Jeremy Cline
9b487e6f58
Update to v46.0.3
- Removed the deprecated get_attribute_for_oid method on
  CertificateSigningRequest. Users should use get_attribute_for_oid()
  instead.
- Removed the deprecated CAST5, SEED, IDEA, and Blowfish classes from
  the cipher module. These are still available in Decrepit cryptography.
- In X.509, when performing a PSS signature with a SHA-3 hash, it is now
  encoded with the official NIST SHA3 OID.
- Added support for free-threaded Python 3.14.
2026-01-22 09:31:01 -05:00
Jeremy Cline
8034f94f77
Update to v45.0.4
The upstream release fixes a single issue:

- Fixed decrypting PKCS#8 files encrypted with SHA1-RC4. (This is not
  considered secure, and is supported only for backwards compatibility.)

Fixes rhbz #2371350
2025-06-11 09:31:07 -04:00
Jeremy Cline
adc63ac786
Update to v45.0.3
This fixes two issues from v45:

  - Fixed decrypting PKCS#8 files encrypted with long salts (this impacts keys encrypted by Bouncy Castle).
  - Fixed decrypting PKCS#8 files encrypted with DES-CBC-MD5. While wildly insecure, this remains prevalent.
2025-05-25 12:49:30 -04:00
Jeremy Cline
f06f4c2804
Update to v45.0.2
This update includes two backwards-incompatible changes with v44:

  - Made SSH private key loading more consistent with other private key
    loading:
    :func:`~cryptography.hazmat.primitives.serialization.load_ssh_private_key`
    now raises a TypeError if the key is unencrypted but a password is
    provided (previously no exception was raised), and raises a
    TypeError if the key is encrypted but no password is provided
    (previously a ValueError was raised).
  - The :meth:`VerifiedClient.subject
    <cryptography.x509.verification.VerifiedClient.subjects>` property
    can now be None since a custom extension policy may allow
    certificates without a Subject Alternative Name extension.

Full changelog: https://github.com/pyca/cryptography/blob/45.0.2/CHANGELOG.rst
2025-05-19 10:55:53 -04:00
Jeremy Cline
83987f70ef
Update to v44.0.0
This release is largely adding new features. One behavioral which might
cause issues is:

- Enforce the RFC 5280 requirement that extended key usage extensions must not be empty.

Complete changelog: https://github.com/pyca/cryptography/blob/44.0.0/CHANGELOG.rst
2025-01-21 15:51:57 +00:00
Jeremy Cline
696a6afd84
Update to v43.0.0
Additionally, this builds the package with OPENSSL_NO_ENGINE=1

This drops the skip-overflow-tests-32bit.patch as its included in
v43.0.0. It picks up the patch in
https://github.com/pyca/cryptography/pull/11328 to allow building with
OPENSSL_NO_ENGINE=1.
2024-07-24 16:50:41 -04:00
Jeremy Cline
cb16ef22f9
Update to 42.0.8, resolves RHBZ#2251816"
This reverts commit 2220bc3f08 and bumps
the version up from 42.0.5 to 42.0.8.

Additionally, a dependency on the openssl-devel-engine is necessary.
Longer-term this should be dropped[0].

[0] https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine

Co-authored-by: Christian Heimes <cheimes@redhat.com>
2024-07-03 09:25:42 -04:00
Miro Hrončok
2220bc3f08 Revert "Update to 42.0.5, resolves RHBZ#2251816"
This reverts commit 2b20ce4281.
2024-05-28 13:29:39 +02:00
Christian Heimes
2b20ce4281 Update to 42.0.5, resolves RHBZ#2251816 2024-03-06 10:23:38 +01:00
Benjamin A. Beasley
fdff266e83 Update to 41.0.7, fixes rhbz#2255351, CVE-2023-49083 2024-02-01 10:48:14 -05:00
Christian Heimes
bee6bfddb5 Update to 41.0.5, resolves RHBZ#2239707 2023-10-26 17:20:09 +02:00
Christian Heimes
7b18e1445d Update to 41.0.3
- Update to upstream version 41.0.3
- Use pyo3 0.19

Resolves: rhbz#2211237
2023-08-10 08:41:01 +02:00
Christian Heimes
2894c08790 Update to 40.0.2
Resolves: rhbz#2181430
2023-05-15 13:43:05 +02:00
Christian Heimes
5c59e50b4e Update to 39.0.2
Resolves: rhbz#2124729
2023-03-09 08:19:20 +01:00
Christian Heimes
58e8828364 Update to 37.0.2, resolves rhbz#2078968 2022-05-05 19:49:44 +02:00
Christian Heimes
726f08f3c2 Update to 36.0.0, fixes RHBZ#2025347 2021-11-22 23:05:16 +01:00
Christian Heimes
6fb44d50f2 Update to 35.0.0 (#2009117) 2021-09-30 08:19:15 +02:00
Stephen Gallagher
fe349e0ac6
Don't conditionalize Source: directives
This makes the specfile compatible with Fedora ELN, RHEL and
similar Fedora derivatives.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-06-18 09:10:18 -04:00
Christian Heimes
5fdccbab1d Update to 3.4.7, use vectors from sources (#1952024)
python-cryptography now uses source bundle from Github, which contains
sources of vectors, too. Tests are no longer depending on
python3-cryptography-vectors. Instead tests are using the bundles
vectors package.

Resolves RHBZ#1952024
2021-04-22 08:07:57 +02:00
Christian Heimes
7898d952a8 Update to 3.4.6 (#1927044) 2021-03-03 13:28:42 +01:00
Christian Heimes
f8b1daa766 Update to 3.4.5 (#1927044) 2021-02-15 08:22:18 +01:00
Christian Heimes
e3b20e8f26 Update to 3.4.4 (#1927044) 2021-02-10 10:59:27 +01:00
Christian Heimes
8fd31561e0 Update to 3.4.2 (#1926339)
Package no longer depends on Rust (#1926181)
2021-02-08 17:51:03 +01:00
Christian Heimes
b5705ea483 Update to 3.4.1 (#1925953) 2021-02-07 23:00:22 +01:00
Christian Heimes
bf3babc383 Update to 3.4 (#1925953)
Remove Python 2 support
Remove unused python-idna dependency
Add Rust support
2021-02-07 20:36:10 +01:00
Christian Heimes
2d60d5642f Update to 3.3.1 (#1905756) 2020-12-10 09:51:20 +01:00
Christian Heimes
6417bbcc75 Update to 3.2.1 (#1892153) 2020-10-28 07:28:58 +01:00
Christian Heimes
2abb980d58 Update to 3.2 (#1891378) 2020-10-26 09:13:36 +01:00
Christian Heimes
1811890378 Update to 3.1 (#1872978) 2020-09-07 09:00:59 +02:00
Christian Heimes
799485870e Update to 3.0 (#185897) 2020-07-21 08:06:29 +02:00
Felix Schwarz
18a3ed28c7 add source file verification 2020-05-12 10:39:43 +02:00
Christian Heimes
4d90827266 Update to 2.9 (#1820348) 2020-04-08 12:50:55 +02:00
Christian Heimes
004fe01826 Update to 2.8
Resolves: rhbz#1762779
2019-10-17 16:19:35 +02:00
Randy Barlow
0deb0e62d8 Update to 2.7 (#1715680)
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-09-03 13:06:11 -04:00
Christian Heimes
080edf5105 New upstream release 2.6.1
Resolves: RHBZ#1683691
2019-02-28 10:16:02 +01:00
Alfredo Moralejo
437c09bb12
Update to 2.5 2019-02-14 12:31:45 -05:00
Christian Heimes
aa22128d5f New upstream release 2.3, fixes security bug RHBZ#1602752 2018-07-18 15:03:14 +02:00
Christian Heimes
0bfc451d28 New upstream release 2.2.1 2018-03-21 12:22:02 +01:00
Christian Heimes
e6b5d11fb8 New upstream release 2.1.4 2018-02-18 23:04:18 +01:00
Haikel Guemar
04e173969c Upload 2.1.3 sources 2017-11-23 16:29:57 +01:00
Christian Heimes
8a8b99cdc9 New upstream release 2.1 2017-10-12 12:03:57 +02:00
Christian Heimes
f23f1efbf3 New upstream release 2.0.2 2017-08-03 13:33:04 +02:00
Christian Heimes
aababb3506 Update to 1.9 2017-06-27 21:15:34 +02:00
Christian Heimes
e0298e25e9 Update to 1.7.2 2017-02-15 09:15:03 +01:00
Matěj Cepl
e2fe49e4be Update to the latest upstream. 2017-01-05 15:15:20 +01:00
Nathaniel McCallum
e9394b6f81 Fixed botched update 2016-11-07 11:08:45 -05:00
Nathaniel McCallum
5effb8eb76 Update to v1.3.1 2016-05-03 13:03:25 -04:00
Nathaniel McCallum
7d1e28fe99 Update to v1.2.1 2016-01-09 00:47:35 -05:00