From 6dc0b661da07c646f3800d517d9751a612d4441d Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 1 Dec 2023 14:58:59 +0100 Subject: [PATCH] Fix FTBFS caused by rsa_pkcs1_implicit_rejection OpenSSL feature [c8s] Resolves: RHEL-17873 Signed-off-by: Christian Heimes --- python-cryptography.spec | 9 +++++++-- tests/tests.yml | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 5344f58..2a0d99d 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -6,7 +6,7 @@ Name: python-%{srcname} Version: 3.2.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: PyCA's cryptography library Group: Development/Libraries @@ -75,7 +75,9 @@ find . -name .keep -print -delete rm -f tests/hazmat/primitives/test_padding.py # don't run hypothesis tests rm -rf tests/hypothesis -PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest +PYTHONPATH=%{buildroot}%{python3_sitearch} \ + %{__python3} -m pytest \ + -k "not test_decrypt_invalid_decrypt" %files -n python%{python3_pkgversion}-%{srcname} @@ -86,6 +88,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest %changelog +* Fri Dec 01 2023 Christian Heimes - 3.2.1-7 +- Fix FTBFS caused by rsa_pkcs1_implicit_rejection OpenSSL feature, resolves: RHEL-17873 + * Wed Feb 22 2023 Christian Heimes - 3.2.1-6 - Fix CVE-2023-23931: Don't allow update_into to mutate immutable objects, resolves rhbz#2172404 diff --git a/tests/tests.yml b/tests/tests.yml index 3737157..76ffd50 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -61,5 +61,6 @@ dir: "source" run: >- pytest-3 + -k "not test_decrypt_invalid_decrypt" tests/hazmat/primitives/test_[f-z]*.py tests/hazmat/primitives/twofactor