diff --git a/cryptography-2.6.1.tar.gz b/cryptography-2.6.1.tar.gz deleted file mode 100644 index 951c52f..0000000 --- a/cryptography-2.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26c821cbeb683facb966045e2064303029d572a87ee69ca5a1bf54bf55f93ca6 -size 491580 diff --git a/cryptography-2.6.1.tar.gz.asc b/cryptography-2.6.1.tar.gz.asc deleted file mode 100644 index 527dbfb..0000000 --- a/cryptography-2.6.1.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAlx3HYEACgkQI1rl8Sn5 -7ZjdlAgAoZNwB3D9ERR9VKZBdbL0rHOi/6lXpTHpBK58aOvtc1JqS/YsrFzZNVkX -uBpiGKrQSl2HWpweLmps0o3hLASQ1Y7Xx3IsEDeSfSGz2J676hovz5MxezpPC180 -LBTPUP7OeyR48fKjpFHZhYqxt2u8kyTuKyOs0LaXT7UwTmwzAG/KTYM7gDjHq6JW -/ykf+Ay7c62ODg5jUat57j67due7zHXcUO/f2/m07HDUVDsoUY6S9OTco4Z/U3Jy -CzqctjoE6s8sv0QdYV5JQKK5p9yD4J7OJvXfNO98wlGhx2HL0pENzNMXOpqkjE+d -XcDdG2nEC7SSwXubCEJoQWe3UMvjdg== -=JaO7 ------END PGP SIGNATURE----- diff --git a/cryptography-2.7.tar.gz b/cryptography-2.7.tar.gz new file mode 100644 index 0000000..fec4476 --- /dev/null +++ b/cryptography-2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6347742ac8f35ded4a46ff835c60e68c22a536a8ae5c4422966d06946b6d4c6 +size 495877 diff --git a/cryptography-2.7.tar.gz.asc b/cryptography-2.7.tar.gz.asc new file mode 100644 index 0000000..e16300e --- /dev/null +++ b/cryptography-2.7.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAlzwaSYACgkQI1rl8Sn5 +7ZjKbQf/bmJ/XYifvMgvEbzKicoQTBiMXRafVsfOGIKo3l5YaNVxcB6S0rCD6jNE +plfWF9i8qW1kRdMt68YjfV/nwPcdYRdz1lMzPRhkAOgdFSMLk6QjYUzRy0Qqj5aq +UFCu9q5jrgXR7HU2MZz8CnjGZn18VH0Rvz3DZ9CwMXWQ94mGODYp19A+v61Y8vJg +Z/heW6ih7Dl/L6t1jP/AVdxABtyJ5KuEhqfmOJyrf7iuMFpu4TJIFGoJsyKd3wDT +5vcROhYi5LaUqxnGl2cd2TzuYHiZkxCb2lTvyOcYGD2qExwjG2KF0hGJQcSLY7cD +M8Uuo+Jug3pJWn5JX+JI9C5UrjlPBw== +=eR9e +-----END PGP SIGNATURE----- diff --git a/cryptography_vectors-2.6.1.tar.gz b/cryptography_vectors-2.6.1.tar.gz deleted file mode 100644 index fcd172e..0000000 --- a/cryptography_vectors-2.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03f38115dccb266dd96538f94067442a877932c2322661bdc5bf2502c76658af -size 35097785 diff --git a/python-cryptography.changes b/python-cryptography.changes index ecd6139..e8cc0c7 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Jun 3 13:45:56 UTC 2019 - Ondřej Súkup + +- update to 2.7 + * BACKWARDS INCOMPATIBLE: Removed the cryptography.hazmat.primitives.mac.MACContext interface. + The CMAC and HMAC APIs have not changed, but they are no longer registered + as MACContext instances. + * Removed support for running our tests with setup.py test. + * Add support for :class:`~cryptography.hazmat.primitives.poly1305.Poly1305` + when using OpenSSL 1.1.1 or newer. + * Support serialization with Encoding.OpenSSH and PublicFormat.OpenSSH + in :meth:`Ed25519PublicKey.public_bytes ` . + * Correctly allow passing a SubjectKeyIdentifier to :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier` + and deprecate passing an Extension object. + +------------------------------------------------------------------- +Wed May 29 14:41:39 UTC 2019 - Tomáš Chvátal + +- Simplify the test execution to be more understandable + ------------------------------------------------------------------- Thu Feb 28 19:50:33 UTC 2019 - Michael Ströder diff --git a/python-cryptography.spec b/python-cryptography.spec index 442852e..a7f43bb 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: 2.6.1 +Version: 2.7 Release: 0 Summary: Python library which exposes cryptographic recipes and primitives License: Apache-2.0 OR BSD-3-Clause @@ -28,13 +28,12 @@ URL: https://cryptography.io/en/latest/ Source0: https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz Source1: https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz.asc Source2: %{name}.keyring -# found on pypi but not on pythonhosted :/ -Source3: https://files.pythonhosted.org/packages/source/c/cryptography_vectors/cryptography_vectors-%{version}.tar.gz # PATCH-FIX-SLE disable-uneven-sizes-tests.patch bnc#944204 Patch1: disable-uneven-sizes-tests.patch Patch2: skip_openssl_memleak_test.patch BuildRequires: %{python_module asn1crypto >= 0.21.0} BuildRequires: %{python_module cffi >= 1.7} +BuildRequires: %{python_module cryptography-vectors = %{version}} BuildRequires: %{python_module devel} BuildRequires: %{python_module idna >= 2.1} BuildRequires: %{python_module pyasn1-modules} @@ -89,7 +88,7 @@ symmetric ciphers, message digests and key derivation functions. %prep -%setup -q -n cryptography-%{version} -a3 +%setup -q -n cryptography-%{version} %patch1 -p1 %patch2 -p1 @@ -98,24 +97,15 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install +# Actually other *.c and *.h are appropriate +# see https://github.com/pyca/cryptography/issues/1463 +find . -name .keep -print -delete + %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%{python_expand # this is going to be fun -# create virtualenv -$python %{_bindir}/virtualenv --system-site-packages TESTROOT-%{$python_bin_suffix} -. TESTROOT-%{$python_bin_suffix}/bin/activate -# install package in virtualenv -$python setup.py install -# install cryptography vectors -(cd cryptography_vectors-%{version} && $python setup.py install) -# run tests with virtualenv'd python -# (specify "tests" directory, otherwise py.test discovers tests in virtualenv'd setuptools) -$python -m pytest tests -# finish -deactivate -} +%pytest_arch %files %{python_files} %license LICENSE LICENSE.APACHE LICENSE.BSD