Accepting request 591618 from devel:languages:python
- Cleanup with spec-cleaner - Use %setup to unpack all archives do not rely on tar calls - Update to upstream release 2.2.1: * Reverted a change to GeneralNames which prohibited having zero elements, due to breakages. * Fixed a bug in :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` that caused it to raise InvalidUnwrap when key length modulo 8 was zero. * BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped. * Resolved a bug in HKDF that incorrectly constrained output size. * Added :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`, :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to support inter-operating with systems like German smart meters. * Added token rotation support to :doc:`Fernet </fernet>` with :meth:`~cryptography.fernet.MultiFernet.rotate`. * Fixed a memory leak in :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`. * Added support for AES key wrapping with padding via :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` and :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` . * Allow loading DSA keys with 224 bit q. OBS-URL: https://build.opensuse.org/request/show/591618 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=38
This commit is contained in:
commit
4f3c262e42
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291
|
|
||||||
size 441557
|
|
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAlofZZ8ACgkQI1rl8Sn5
|
|
||||||
7ZjRngf+LJudZQpxLsw/IsIhjXDCw6cU0R9dFiqGeXld5RY75fDzk/5/2+q4L9Ek
|
|
||||||
t6fOx5XWmfm2UUUr2vMEOKmFN5wtV+OW7TlheZd0jmqMrOSZtb9r1Q5OopAduxqT
|
|
||||||
BsuF15PZ903Mltr60unBYlOrKz0N3jcnuA7L8sVtbdkNxHtf1Ghjc8NPPPnJOlfF
|
|
||||||
eXT/3wJ1mIcdNVaY9Ckm87edvvA2xY6gKd+D5EHNo0xfjtbPhN5hgxayx9jbvSqt
|
|
||||||
ZNV4oc3imVcdvT03H5/qDvdzA7YT60GWUFn2xQ4dOSES2rTh9aNtNvgBOGQ1UkId
|
|
||||||
WTq2XvaR7fM0iy3Dz8S90hQkAQOU+Q==
|
|
||||||
=tSVc
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
cryptography-2.2.1.tar.gz
Normal file
3
cryptography-2.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dddad9d322a3f0867009ff9f25477b8f7c0bdbedf143704b384c9472f11cb2d3
|
||||||
|
size 443853
|
11
cryptography-2.2.1.tar.gz.asc
Normal file
11
cryptography-2.2.1.tar.gz.asc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAlqxn+QACgkQI1rl8Sn5
|
||||||
|
7ZjehAf/XzmejAuilvtU0fhtvlsfAsX/MsiUdcE/ALXUnlSeCh5XlAA+p2KPUbyz
|
||||||
|
ZZmhIC2m3DvBRZwAO0gCzifSQGMxZt6csX9RD7AmWBf/iGS0CpOuwDu0xzvQh4yh
|
||||||
|
kDuRQHjNyKAY+ftf4WKBqPq7ZjhMpygYPLlSHmWJi7jnoUmOU5VvyeT1d983eaqo
|
||||||
|
5Kt1UFTEUvaATb9wGJdmUZV8xdpvxvL0LJPsZnyy9HA00JaDWDqWkX2YUG383sjE
|
||||||
|
xwFs+kDu3EL24ZAx+hydK0qBe1yLCKa5GzJ6v6stmWIb/tSuFt98iF51cetdGt1V
|
||||||
|
6wtJsQyUFMrWc5FMXsGX24HBVBzYgw==
|
||||||
|
=607I
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:78c4b4f3f84853ea5d038e2f53d355229dd8119fe9cf949c3e497c85c760a5ca
|
|
||||||
size 27255711
|
|
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAlofZaMACgkQI1rl8Sn5
|
|
||||||
7ZgzNQf9FK02ViDAmh3e3WdbW8Ugc1V1/ozaaPkV14hSc/rTLfvKr41S9zZZ+RJh
|
|
||||||
2ynsEqzNuINf92as1mgoxNkr/RSwqqWPdHBL3NhR3jWt9saB3FIf6xgXnXZOwgHT
|
|
||||||
39Bj5aWEvZHkoWulIEWB5wJ/j8uj28/J3QSYKVtE3+MXBjSxdeJsJfm+IZUkAJjv
|
|
||||||
wczuvsHKcfSoqDvY3xudyF7uWRBx544wo6y/6MfH3VmJw44a7LXI0slDPQU20Xpm
|
|
||||||
hICNd4QNyUlPec8CF6BlnJScLn1aYY2SOt7hjSCb/718ZUYczZg4KuYIwZZ4f5Rd
|
|
||||||
tyTfWuiS5ufS/4X0tmWtJYX+T4yyPA==
|
|
||||||
=70WA
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
cryptography_vectors-2.2.1.tar.gz
Normal file
3
cryptography_vectors-2.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be7cf2e4de057f2a5307d9600177014daefd58a96de9cb9f437c26753fd462fe
|
||||||
|
size 27271546
|
11
cryptography_vectors-2.2.1.tar.gz.asc
Normal file
11
cryptography_vectors-2.2.1.tar.gz.asc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAlqxn+gACgkQI1rl8Sn5
|
||||||
|
7ZgNbgf+IIfsk8CEuxo/6mOrnI6RYLFWwzQE9mO2phDnlLcyMyIvnov7f6PQTNFB
|
||||||
|
T4TtdXuUq9x4BrquIAp4ZY8wbC7wUiEiS0jdCpd0ydVoNhQzOGhC1WFkL43AXWZ9
|
||||||
|
Ijy/aK8M8tTkSvYYeZbHrtAkrtIIFq70myjGeZyl97o2KyGpKZS3hCvtHS8yVMFw
|
||||||
|
riA51+zWXCzci5eQXwl2es4rYQz9sRlDS5Bvgr1IDUyZbR2ibQUooq6wV6hObGfa
|
||||||
|
w4XLrTzunk9vqs6lTA/p0yUAp4PLs7XPUCSgS6m6qQcsv35QotwkXlbwxqlm47EY
|
||||||
|
kyQelQ5AvgCB4IgnhI5SZ8cfZU5Mvw==
|
||||||
|
=xVZw
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 26 07:44:53 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
- Use %setup to unpack all archives do not rely on tar calls
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 25 20:39:43 UTC 2018 - michael@stroeder.com
|
||||||
|
|
||||||
|
- Update to upstream release 2.2.1:
|
||||||
|
* Reverted a change to GeneralNames which prohibited having zero elements,
|
||||||
|
due to breakages.
|
||||||
|
* Fixed a bug in
|
||||||
|
:func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding`
|
||||||
|
that caused it to raise InvalidUnwrap when key length modulo 8 was zero.
|
||||||
|
* BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped.
|
||||||
|
* Resolved a bug in HKDF that incorrectly constrained output size.
|
||||||
|
* Added
|
||||||
|
:class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`,
|
||||||
|
:class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and
|
||||||
|
:class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to
|
||||||
|
support inter-operating with systems like German smart meters.
|
||||||
|
* Added token rotation support to :doc:`Fernet </fernet>` with
|
||||||
|
:meth:`~cryptography.fernet.MultiFernet.rotate`.
|
||||||
|
* Fixed a memory leak in
|
||||||
|
:func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
|
||||||
|
* Added support for AES key wrapping with padding via
|
||||||
|
:func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` and
|
||||||
|
:func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` .
|
||||||
|
* Allow loading DSA keys with 224 bit q.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 2 16:44:33 UTC 2018 - chris@computersalat.de
|
Fri Mar 2 16:44:33 UTC 2018 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -19,17 +19,18 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-cryptography
|
Name: python-cryptography
|
||||||
Version: 2.1.4
|
Version: 2.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library which exposes cryptographic recipes and primitives
|
Summary: Python library which exposes cryptographic recipes and primitives
|
||||||
License: Apache-2.0 OR BSD-3-Clause
|
License: Apache-2.0 OR BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://cryptography.io/en/latest/
|
URL: https://cryptography.io/en/latest/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz
|
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
|
Source1: https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source3: https://files.pythonhosted.org/packages/source/c/cryptography_vectors/cryptography_vectors-%{version}.tar.gz
|
# found on pypi but not on pythonhosted :/
|
||||||
Source4: https://files.pythonhosted.org/packages/source/c/cryptography_vectors/cryptography_vectors-%{version}.tar.gz.asc
|
Source3: cryptography_vectors-%{version}.tar.gz
|
||||||
|
Source4: cryptography_vectors-%{version}.tar.gz.asc
|
||||||
# PATCH-FIX-SLE disable-uneven-sizes-tests.patch bnc#944204
|
# PATCH-FIX-SLE disable-uneven-sizes-tests.patch bnc#944204
|
||||||
Patch1: disable-uneven-sizes-tests.patch
|
Patch1: disable-uneven-sizes-tests.patch
|
||||||
Patch2: skip_openssl_memleak_test.patch
|
Patch2: skip_openssl_memleak_test.patch
|
||||||
@ -89,11 +90,7 @@ symmetric ciphers, message digests and key derivation
|
|||||||
functions.
|
functions.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n cryptography-%{version}
|
%setup -q -n cryptography-%{version} -a3
|
||||||
|
|
||||||
# prepare vectors module
|
|
||||||
tar xvzf %{SOURCE3}
|
|
||||||
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
@ -122,7 +119,7 @@ deactivate
|
|||||||
}
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc LICENSE LICENSE.APACHE LICENSE.BSD
|
%license LICENSE LICENSE.APACHE LICENSE.BSD
|
||||||
%doc AUTHORS.rst CONTRIBUTING.rst CHANGELOG.rst README.rst
|
%doc AUTHORS.rst CONTRIBUTING.rst CHANGELOG.rst README.rst
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user