From 696e7c78cce41d58556685da6709858b6de3e8047da7e14df8e9b1cb552e35b9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 7 Dec 2020 05:05:38 +0000 Subject: [PATCH 1/2] Accepting request 853432 from home:mcepl:branches:devel:tools:scm - Remove unnecessary dependency virtualenv. OBS-URL: https://build.opensuse.org/request/show/853432 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=129 --- python-cryptography.changes | 5 +++++ python-cryptography.spec | 1 - skip_openssl_memleak_test.patch | 8 +++----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-cryptography.changes b/python-cryptography.changes index e79cf2a..84430a8 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 6 20:37:33 UTC 2020 - Matej Cepl + +- Remove unnecessary dependency virtualenv. + ------------------------------------------------------------------- Wed Oct 28 14:29:05 UTC 2020 - Michael Ströder diff --git a/python-cryptography.spec b/python-cryptography.spec index 65f2ea8..294f559 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -63,7 +63,6 @@ BuildRequires: %{python_module packaging} BuildRequires: %{python_module pretend} BuildRequires: %{python_module pyasn1 >= 0.1.8} BuildRequires: %{python_module pytest > 3.3.0} -BuildRequires: %{python_module virtualenv} # /SECTION # python-base is not enough, we need the _ssl module %ifpython2 diff --git a/skip_openssl_memleak_test.patch b/skip_openssl_memleak_test.patch index 96c4d5f..67c67cb 100644 --- a/skip_openssl_memleak_test.patch +++ b/skip_openssl_memleak_test.patch @@ -1,8 +1,6 @@ -Index: cryptography-3.0/tests/hazmat/backends/test_openssl_memleak.py -=================================================================== ---- cryptography-3.0.orig/tests/hazmat/backends/test_openssl_memleak.py -+++ cryptography-3.0/tests/hazmat/backends/test_openssl_memleak.py -@@ -153,10 +153,9 @@ def assert_no_memory_leaks(s, argv=[]): +--- a/tests/hazmat/backends/test_openssl_memleak.py ++++ b/tests/hazmat/backends/test_openssl_memleak.py +@@ -156,10 +156,9 @@ def assert_no_memory_leaks(s, argv=[]): def skip_if_memtesting_not_supported(): From 2bc3285d02db0054d418e8f1d6275aa1d35d3ef59674291723ade60d18fb9662 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 9 Dec 2020 14:02:46 +0000 Subject: [PATCH 2/2] Accepting request 854259 from home:darix:apps update to 3.3 OBS-URL: https://build.opensuse.org/request/show/854259 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=130 --- cryptography-3.2.1.tar.gz | 3 --- cryptography-3.2.1.tar.gz.asc | 11 ----------- cryptography-3.3.tar.gz | 3 +++ cryptography-3.3.tar.gz.asc | 11 +++++++++++ python-cryptography.changes | 29 +++++++++++++++++++++++++++++ python-cryptography.spec | 2 +- skip_openssl_memleak_test.patch | 8 +++++--- 7 files changed, 49 insertions(+), 18 deletions(-) delete mode 100644 cryptography-3.2.1.tar.gz delete mode 100644 cryptography-3.2.1.tar.gz.asc create mode 100644 cryptography-3.3.tar.gz create mode 100644 cryptography-3.3.tar.gz.asc diff --git a/cryptography-3.2.1.tar.gz b/cryptography-3.2.1.tar.gz deleted file mode 100644 index 6bc2da4..0000000 --- a/cryptography-3.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3d5e10be0cf2a12214ddee45c6bd203dab435e3d83b4560c03066eda600bfe3 -size 540994 diff --git a/cryptography-3.2.1.tar.gz.asc b/cryptography-3.2.1.tar.gz.asc deleted file mode 100644 index 015d7b2..0000000 --- a/cryptography-3.2.1.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAl+Y4vIACgkQI1rl8Sn5 -7Zjevwf/U2fOwxUOJPN0/YBDqatPIu7sg+2+6m9rUecj01fjZIkeT9nuZBMenzxN -JBLDKOcb24mQ+HjCKEq4TfzS43rgvaoXsClSQwO5/rmYYOR8IUMdK+NWjvOqYc6H -0U3LhcZ/JakM5OoB7miOLCYE1o3EjikmT93QjEPENdul4a5h6an0HYPUvwHWX0ok -XekBnkoe26gZE2pCQepcLd3KChmD0wwu9Zu1hV4zoVMVR19hnVuP6JWcCn+IdrAz -p7ak9++3VSR2d4fDcObp20EXC6fJqMPvTFeM1k+krQ6JGFuRLktKW5NW3qu9WmnG -b0RZa7sMTCpG4hdinsYPZvEvIY5pzQ== -=/+zZ ------END PGP SIGNATURE----- diff --git a/cryptography-3.3.tar.gz b/cryptography-3.3.tar.gz new file mode 100644 index 0000000..38b2d4d --- /dev/null +++ b/cryptography-3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9f1e520f2ee08c5a88e1ae0b31159bdb13da40a486bea3e9f7d338564850ea6 +size 539494 diff --git a/cryptography-3.3.tar.gz.asc b/cryptography-3.3.tar.gz.asc new file mode 100644 index 0000000..df3e42e --- /dev/null +++ b/cryptography-3.3.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAl/QGscACgkQI1rl8Sn5 +7ZhRSgf/QLvMyLuj/3TgfyaFVk9vHyyr01MBw0jpdRwMXG0LK7ALfF2OOSrg4WB4 +qlA2Y+IU1LQdhQoRnhep5Dtl0gGtTe+wWzMLTHKTZqbXuk9zkHnLPdFHPVwsf1Y2 +hUYdxVaUyEdJYnRSzy9iIF7RDPFMp+1DGYv7Y7By/5ZN5bDcNFc8CCijoLeAE2kO +l4CXGAtSmfqxdQ7WWr9DJLXONS5Cy2NUQTSSegdcJzg9gEuff0q9/4DzKa4KJHAw +HjYxicHgIjAqI5G/S2HnnIgkYea21K/hJ3pb0h8ZBgMfirYboBkKZnkg199fGlqU +71fAIAB6CzGh/pUKowW2uI4aQVRXsA== +=2yxc +-----END PGP SIGNATURE----- diff --git a/python-cryptography.changes b/python-cryptography.changes index 84430a8..33317cd 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed Dec 9 11:56:30 UTC 2020 - Marcus Rueckert + +- update to 3.3.0 + - BACKWARDS INCOMPATIBLE: Support for Python 3.5 has been removed + due to low usage and maintenance burden. + - BACKWARDS INCOMPATIBLE: The GCM and AESGCM now require 64-bit + to 1024-bit (8 byte to 128 byte) initialization vectors. This + change is to conform with an upcoming OpenSSL release that will + no longer support sizes outside this window. + - BACKWARDS INCOMPATIBLE: When deserializing asymmetric keys we + now raise ValueError rather than UnsupportedAlgorithm when an + unsupported cipher is used. This change is to conform with an + upcoming OpenSSL release that will no longer distinguish + between error types. + - BACKWARDS INCOMPATIBLE: We no longer allow loading of finite + field Diffie-Hellman parameters of less than 512 bits in + length. This change is to conform with an upcoming OpenSSL + release that no longer supports smaller sizes. These keys were + already wildly insecure and should not have been used in any + application outside of testing. + - Updated Windows, macOS, and manylinux wheels to be compiled + with OpenSSL 1.1.1i. + - Python 2 support is deprecated in cryptography. This is the + last release that will support Python 2. + - Added the recover_data_from_signature() function to + RSAPublicKey for recovering the signed data from an RSA + signature. + ------------------------------------------------------------------- Sun Dec 6 20:37:33 UTC 2020 - Matej Cepl diff --git a/python-cryptography.spec b/python-cryptography.spec index 294f559..2f00160 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-cryptography -Version: 3.2.1 +Version: 3.3 Release: 0 Summary: Python library which exposes cryptographic recipes and primitives License: Apache-2.0 OR BSD-3-Clause diff --git a/skip_openssl_memleak_test.patch b/skip_openssl_memleak_test.patch index 67c67cb..96c4d5f 100644 --- a/skip_openssl_memleak_test.patch +++ b/skip_openssl_memleak_test.patch @@ -1,6 +1,8 @@ ---- a/tests/hazmat/backends/test_openssl_memleak.py -+++ b/tests/hazmat/backends/test_openssl_memleak.py -@@ -156,10 +156,9 @@ def assert_no_memory_leaks(s, argv=[]): +Index: cryptography-3.0/tests/hazmat/backends/test_openssl_memleak.py +=================================================================== +--- cryptography-3.0.orig/tests/hazmat/backends/test_openssl_memleak.py ++++ cryptography-3.0/tests/hazmat/backends/test_openssl_memleak.py +@@ -153,10 +153,9 @@ def assert_no_memory_leaks(s, argv=[]): def skip_if_memtesting_not_supported():