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
This commit is contained in:
Dirk Mueller 2016-11-12 07:43:15 +00:00 committed by Git OBS Bridge
parent 91095fb280
commit 244ab523eb
11 changed files with 34 additions and 63 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:423ff890c01be7c70dbfeaa967eeef5146f1a43a5f810ffdc07b178e48a105a9
size 384109

View File

@ -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-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf82ddac919b587f5e44247579b433224cc2e03332d2ea4d89aa70d7e6b64ae5
size 400889

View File

@ -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-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4414bce0a3d7f0a3cdbf44da75ae5c7c586fd765c777d99023eb5a3ac58f0196
size 25820443

View File

@ -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-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e513fecd146a844da19022abd1b4dfbf3335c1941464988f501d7a16f30acdae
size 26648498

View File

@ -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-----

View File

@ -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"

View File

@ -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

View File

@ -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}