diff --git a/python-cryptography.changes b/python-cryptography.changes index fc3590a..c523754 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,7 +1,33 @@ +------------------------------------------------------------------- +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 +- 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 ` 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 diff --git a/python-cryptography.spec b/python-cryptography.spec index d7f68b7..0bd9db9 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -89,11 +89,7 @@ symmetric ciphers, message digests and key derivation functions. %prep -%setup -q -n cryptography-%{version} - -# prepare vectors module -tar xvzf %{SOURCE3} - +%setup -q -n cryptography-%{version} -a3 %patch1 -p1 %patch2 -p1 @@ -122,7 +118,7 @@ deactivate } %files %{python_files} -%doc LICENSE LICENSE.APACHE LICENSE.BSD +%license LICENSE LICENSE.APACHE LICENSE.BSD %doc AUTHORS.rst CONTRIBUTING.rst CHANGELOG.rst README.rst %{python_sitearch}/*