From 244ab523eb9ec4f632308ab359776f453b0f5c8d6a07bc2d1acbf4845bb7ecd3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 12 Nov 2016 07:43:15 +0000 Subject: [PATCH] Accepting request 439940 from home:stroeder:branches:devel:languages:python update to upstream update 1.5.3 (works for me for OATH-LDAP with new python-jwcrypto on Tumbleweed x86_64) OBS-URL: https://build.opensuse.org/request/show/439940 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=49 --- cryptography-1.3.4.tar.gz | 3 --- cryptography-1.3.4.tar.gz.asc | 11 ----------- cryptography-1.5.3.tar.gz | 3 +++ cryptography-1.5.3.tar.gz.asc | 10 ++++++++++ cryptography_vectors-1.3.4.tar.gz | 3 --- cryptography_vectors-1.3.4.tar.gz.asc | 11 ----------- cryptography_vectors-1.5.3.tar.gz | 3 +++ cryptography_vectors-1.5.3.tar.gz.asc | 10 ++++++++++ python-cryptography-enable-gost.patch | 28 --------------------------- python-cryptography.changes | 6 ++++++ python-cryptography.spec | 9 ++------- 11 files changed, 34 insertions(+), 63 deletions(-) delete mode 100644 cryptography-1.3.4.tar.gz delete mode 100644 cryptography-1.3.4.tar.gz.asc create mode 100644 cryptography-1.5.3.tar.gz create mode 100644 cryptography-1.5.3.tar.gz.asc delete mode 100644 cryptography_vectors-1.3.4.tar.gz delete mode 100644 cryptography_vectors-1.3.4.tar.gz.asc create mode 100644 cryptography_vectors-1.5.3.tar.gz create mode 100644 cryptography_vectors-1.5.3.tar.gz.asc delete mode 100644 python-cryptography-enable-gost.patch diff --git a/cryptography-1.3.4.tar.gz b/cryptography-1.3.4.tar.gz deleted file mode 100644 index 9a80dc0..0000000 --- a/cryptography-1.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:423ff890c01be7c70dbfeaa967eeef5146f1a43a5f810ffdc07b178e48a105a9 -size 384109 diff --git a/cryptography-1.3.4.tar.gz.asc b/cryptography-1.3.4.tar.gz.asc deleted file mode 100644 index f152b47..0000000 --- a/cryptography-1.3.4.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEcBAABAgAGBQJXUPUHAAoJECNa5fEp+e2YmbYH/3t9Cdt64pUVTo66bvXGXLuj -PG/BEYp0TNldRIJPG0W6VWv/XimteypednNSIMO6iVsJVGunpEw8ZHXMPaH1cBUO -C3kZ7p/WfisNe6CKg8hx7uD2X/Zg9bP/wSXTtZnw5kjXtDkwtMclBblbjlVR25ZI -9n27S+VIN/FAqoYfUoGvoQ8GoCo3Pe9yF+YqiyJDhsy9tlVtKHF7lOHGl0wdIRdb -Y5BfxTQVQBVEysuzGjZrz62aE/go9kXgohrQqy0CGO3PJcH9fpKGNmVISyuwRl4e -yO+EZOjHN0Uy/dVfRynUMx5igj1eS88wmCIN3QLBDeHyrA3ChnJ9I+rXm/Qn/gY= -=HSzU ------END PGP SIGNATURE----- diff --git a/cryptography-1.5.3.tar.gz b/cryptography-1.5.3.tar.gz new file mode 100644 index 0000000..537a38e --- /dev/null +++ b/cryptography-1.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf82ddac919b587f5e44247579b433224cc2e03332d2ea4d89aa70d7e6b64ae5 +size 400889 diff --git a/cryptography-1.5.3.tar.gz.asc b/cryptography-1.5.3.tar.gz.asc new file mode 100644 index 0000000..a05b76a --- /dev/null +++ b/cryptography-1.5.3.tar.gz.asc @@ -0,0 +1,10 @@ +-----BEGIN PGP SIGNATURE----- + +iQEcBAABAgAGBQJYHq1VAAoJECNa5fEp+e2YymsIAJj/JPRrPLMjed9gpSlOSWO5 +uNcwDRwj+3qH0bKa5JyEC0DntXqkVlUJXXchrfQp+1w9+2Gjd48Q2+rSlZ59dnhE +6+rDHqPMVWfh9JoWHWeAGcMBSsImdfn0/TmJzQ29CQR0ymHtwV4rDLY5+zosbhOe +V3hBb9HahXFIpWUfPPcOplqshkjzZsbJTz3eP7icjQ1whkhyGO2To7TTlYv+TZ5b +RLVXS2ZF2xBX430S74WaNKzlAlKjLHaXmMcbC+Q1fmssVjQvSidxi1evl9dU2G5L +qhhQFm4ygBSGQMpQzEliltX26nQ8JF6ynTM5zcZ28SV1luxNvV4V4viOq66X4R4= +=kLHU +-----END PGP SIGNATURE----- diff --git a/cryptography_vectors-1.3.4.tar.gz b/cryptography_vectors-1.3.4.tar.gz deleted file mode 100644 index f6aa4dd..0000000 --- a/cryptography_vectors-1.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4414bce0a3d7f0a3cdbf44da75ae5c7c586fd765c777d99023eb5a3ac58f0196 -size 25820443 diff --git a/cryptography_vectors-1.3.4.tar.gz.asc b/cryptography_vectors-1.3.4.tar.gz.asc deleted file mode 100644 index 55a6cbd..0000000 --- a/cryptography_vectors-1.3.4.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEcBAABAgAGBQJXUPUfAAoJECNa5fEp+e2YW8kIALW4CttudbwwTuZHa+i+j5ZS -Zq9En+Xh2S0UF8YUJlfFka45hoV/Tb0+MCp0ZQOaf4Xp7mw9SdoliaETpdRpTrGe -YdYsJf35QqZhmiq7om7qgVh1zcNt9za06Odl1lAe6mX1PvyGFNRwXYrlQrgtKa1/ -3zpH9t9U2XrV3wFeIH2EU+a5oCN93tPPWm25sGkMw2OpvSqHCldU+Y3jUbdpqnuW -oSi2LXROqfpUkCpP4YlbxnGZAxX4kXCWxDKmIvcy5HBYOQlj/Lwx21TM8Tvl5q43 -gIee6avCPjj4rhTAR+RelbyVAIeG2Qxnm/ZUFuD/00zr/wKv/tWdGuVQ9phy+oQ= -=Mfzs ------END PGP SIGNATURE----- diff --git a/cryptography_vectors-1.5.3.tar.gz b/cryptography_vectors-1.5.3.tar.gz new file mode 100644 index 0000000..f790e77 --- /dev/null +++ b/cryptography_vectors-1.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e513fecd146a844da19022abd1b4dfbf3335c1941464988f501d7a16f30acdae +size 26648498 diff --git a/cryptography_vectors-1.5.3.tar.gz.asc b/cryptography_vectors-1.5.3.tar.gz.asc new file mode 100644 index 0000000..46fce07 --- /dev/null +++ b/cryptography_vectors-1.5.3.tar.gz.asc @@ -0,0 +1,10 @@ +-----BEGIN PGP SIGNATURE----- + +iQEcBAABAgAGBQJYHq1pAAoJECNa5fEp+e2Yei8H/31duqeFJgpDuFQGZzMbpzBD +ppmW4gtaeseyiUU+F06MAFJjLNN31eaflZayGC0r+7qytdG6mrMiLPHN3lmJ2sue +tLCw0oUMzLlzQoxwJoRXS2WVOzYIwRKcd1oecsKfZEoVS9jL0V9qKpY5i2vo6MO3 +EbDuga05bb1LA1NONIP1pH0ouhSDUP+nHPxeT86sdAV/4cW1o/G9FW4LQ+ZkLK52 +new6pyxK3hVepElPGeu5yn7KnAjB29SlPTxPJn9Lyw/CkAtbHqoka5R7QIve+4PA +o/qppqqz0/7ALdj5V+AAAYiR5AAc45DZv4z9MqXRrGC2gM0wHVxW4Mj2+w+AHCg= +=K8RI +-----END PGP SIGNATURE----- diff --git a/python-cryptography-enable-gost.patch b/python-cryptography-enable-gost.patch deleted file mode 100644 index ce39348..0000000 --- a/python-cryptography-enable-gost.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: cryptography-1.3.4/tests/hazmat/backends/test_openssl.py -=================================================================== ---- cryptography-1.3.4.orig/tests/hazmat/backends/test_openssl.py -+++ cryptography-1.3.4/tests/hazmat/backends/test_openssl.py -@@ -657,23 +657,3 @@ class TestRSAPEMSerialization(object): - serialization.PrivateFormat.PKCS8, - serialization.BestAvailableEncryption(password) - ) -- -- --class TestGOSTCertificate(object): -- @pytest.mark.skipif( -- backend._lib.OPENSSL_VERSION_NUMBER < 0x1000000f, -- reason="Requires a newer OpenSSL. Must be >= 1.0.0" -- ) -- def test_numeric_string_x509_name_entry(self): -- cert = _load_cert( -- os.path.join("x509", "e-trust.ru.der"), -- x509.load_der_x509_certificate, -- backend -- ) -- with pytest.raises(ValueError) as exc: -- cert.subject -- -- # We assert on the message in this case because if the certificate -- # fails to load it will also raise a ValueError and this test could -- # erroneously pass. -- assert str(exc.value) == "Unsupported ASN1 string type. Type: 18" diff --git a/python-cryptography.changes b/python-cryptography.changes index 006627e..f45b3cf 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 11 19:13:36 UTC 2016 - michael@stroeder.com + +- update to 1.5.3 +- python-cryptography-enable-gost.patch is obsolete + ------------------------------------------------------------------- Mon Sep 26 06:26:21 UTC 2016 - meissner@suse.com diff --git a/python-cryptography.spec b/python-cryptography.spec index 79f39aa..1745a72 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -17,7 +17,7 @@ Name: python-cryptography -Version: 1.3.4 +Version: 1.5.3 Release: 0 Summary: Python library which exposes cryptographic recipes and primitives License: Apache-2.0 or BSD-3-Clause @@ -31,9 +31,6 @@ Source4: https://pypi.io/packages/source/c/cryptography_vectors/cryptogra # PATCH-FIX-SLE disable-uneven-sizes-tests.patch bnc#944204 Patch1: disable-uneven-sizes-tests.patch -# PATCH-UPSTREAM: extract from upstream commit 8b8d51b752729f7237bb51274ccf158cbb4cfce0 -Patch2: python-cryptography-enable-gost.patch - BuildRequires: libopenssl-devel BuildRequires: pkg-config BuildRequires: python-cffi >= 1.1.0 @@ -50,6 +47,7 @@ BuildRequires: libffi43-devel BuildRequires: python-hypothesis BuildRequires: pkgconfig(libffi) %endif +BuildRequires: python-pytz # Test requirements BuildRequires: python-iso8601 BuildRequires: python-pretend @@ -79,9 +77,6 @@ functions. %prep %setup -q -n cryptography-%{version} -# remove if new upstream release is added (fixed upstream already) -%patch2 -p1 - # prepare vectors module tar xvzf %{SOURCE3}