From 6151424564ec6bf2d32667928e52d604f9d3e21a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 23 Oct 2017 13:37:50 -0400 Subject: [PATCH 1/4] Change Requires to openssl-libs The openssl package has been split quite a while, and this package only needs the shared library. I'm making this change because `openssl` today `Requires: make` which is unfortunate for Atomic Host. See: https://bugzilla.redhat.com/show_bug.cgi?id=783446#c4 --- python-cryptography.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 4076051..a7b057e 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -67,7 +67,7 @@ Summary: PyCA's cryptography library Provides: python-%{srcname} %endif -Requires: openssl +Requires: openssl-libs Requires: python2-idna >= 2.1 Requires: python2-asn1crypto >= 0.21 Requires: python2-six >= 1.4.1 @@ -85,7 +85,7 @@ Group: Development/Libraries Summary: PyCA's cryptography library %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} -Requires: openssl +Requires: openssl-libs Requires: python%{python3_pkgversion}-idna >= 2.1 Requires: python%{python3_pkgversion}-asn1crypto >= 0.21 Requires: python%{python3_pkgversion}-six >= 1.4.1 From 361fca3395b4b3ab0acdf9e4768b17cf4ce16245 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 24 Oct 2017 11:55:37 +0200 Subject: [PATCH 2/4] Change Requires to openssl-libs --- python-cryptography.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index a7b057e..489b3b9 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -11,7 +11,7 @@ Name: python-%{srcname} Version: 2.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: PyCA's cryptography library Group: Development/Libraries @@ -164,6 +164,9 @@ popd %changelog +* Tue Oct 24 2017 Christian Heimes - 2.0.2-3 +- Change Requires to openssl-libs + * Thu Aug 03 2017 Christian Heimes - 2.0.2-2 - Add workaround for pytest bug From d7313876b7a49110b2cd519bc06ff220ebf9a909 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 18 Feb 2018 22:40:26 +0100 Subject: [PATCH 3/4] Build requires gcc --- python-cryptography.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 489b3b9..38fcf1d 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -11,7 +11,7 @@ Name: python-%{srcname} Version: 2.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PyCA's cryptography library Group: Development/Libraries @@ -20,6 +20,7 @@ URL: https://cryptography.io/en/latest/ Source0: https://pypi.io/packages/source/c/%{srcname}/%{srcname}-%{version}.tar.gz BuildRequires: openssl-devel +BuildRequires: gcc BuildRequires: python2-devel BuildRequires: python2-pytest @@ -164,6 +165,9 @@ popd %changelog +* Sun Feb 18 2018 Christian Heimes - 2.0.2-4 +- Build requires gcc + * Tue Oct 24 2017 Christian Heimes - 2.0.2-3 - Change Requires to openssl-libs From 61ec0128a9cb87387a0c580085668706c4808411 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 18 Jul 2018 15:03:14 +0200 Subject: [PATCH 4/4] New upstream release 2.3, fixes security bug RHBZ#1602752 --- .gitignore | 1 + python-cryptography.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 314afe5..69dcc29 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /cryptography-1.7.2.tar.gz /cryptography-1.9.tar.gz /cryptography-2.0.2.tar.gz +/cryptography-2.3.tar.gz diff --git a/python-cryptography.spec b/python-cryptography.spec index 38fcf1d..7f38c50 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -10,8 +10,8 @@ %global srcname cryptography Name: python-%{srcname} -Version: 2.0.2 -Release: 4%{?dist} +Version: 2.3 +Release: 1%{?dist} Summary: PyCA's cryptography library Group: Development/Libraries @@ -165,6 +165,10 @@ popd %changelog +* Wed Jul 18 2018 Christian Heimes - 2.3-1 +- New upstream release 2.3 +- Fix AEAD tag truncation bug, RHBZ#1602752 + * Sun Feb 18 2018 Christian Heimes - 2.0.2-4 - Build requires gcc diff --git a/sources b/sources index 1e58366..b8c32ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cryptography-2.0.2.tar.gz) = a71219ff52006a7c8bf1553d0f132c747566c630281ef89aac40c65b193b1f0074fc9cda1de7057c76b452113dfb6188c83baef3ed9c05ff18adbc8b7bba646b +SHA512 (cryptography-2.3.tar.gz) = 75e14020da500fdbbd578f004b22ef3237844185329adf59288b29f1b3ee9dd2005a2c4a933fe8609a59d168012a9f687bab0f31ab39ed6ca325198aa9295e52