From 81dcc5196567bd856563463ce6c5a81cd73b93b7dd10155a481c5eb46e3eec87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 5 Sep 2018 21:01:53 +0000 Subject: [PATCH] Accepting request 633280 from home:mcalabkova:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 3.6.6 - Resolved issues: * Fix vulnerability on AESNI ECB with payloads smaller than 16 bytes. - Update to 3.5.5 - Resolved issues * Fixed incorrect AES encryption/decryption with AES acceleration on x86 due to gcc’s optimization and strict aliasing rules. * More prime number candidates than necessary where discarded as composite due to the limited way D values were searched in the Lucas test. * Fixed ResouceWarnings and DeprecationWarnings. - Update to 3.5.4 - New features: * Build Python 3.7 wheels on Linux, Windows and Mac. - Resolved issues: * More meaningful exceptions in case of mismatch in IV length (CBC/OFB/CFB modes). - version 3.6.6 OBS-URL: https://build.opensuse.org/request/show/633280 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=14 --- pycryptodome-3.6.3.tar.gz | 3 --- pycryptodome-3.6.6.tar.gz | 3 +++ python-pycryptodome.changes | 26 ++++++++++++++++++++++++++ python-pycryptodome.spec | 19 +++++++++---------- python-pycryptodomex.changes | 5 +++++ python-pycryptodomex.spec | 9 ++++----- 6 files changed, 47 insertions(+), 18 deletions(-) delete mode 100644 pycryptodome-3.6.3.tar.gz create mode 100644 pycryptodome-3.6.6.tar.gz diff --git a/pycryptodome-3.6.3.tar.gz b/pycryptodome-3.6.3.tar.gz deleted file mode 100644 index e3fd335..0000000 --- a/pycryptodome-3.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b2e142322273ee88c96ade5cfc0ff99b759be32a06d49ce55cd39adeb1e4541 -size 7137049 diff --git a/pycryptodome-3.6.6.tar.gz b/pycryptodome-3.6.6.tar.gz new file mode 100644 index 0000000..6b7ed57 --- /dev/null +++ b/pycryptodome-3.6.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3cb4af317d9b84f6df50f0cfa6840ba69556af637a83fd971537823e13d601a +size 7137656 diff --git a/python-pycryptodome.changes b/python-pycryptodome.changes index 273acbb..4646fa0 100644 --- a/python-pycryptodome.changes +++ b/python-pycryptodome.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Mon Sep 3 14:21:25 UTC 2018 - Marketa Calabkova + +- Update to 3.6.6 + - Resolved issues: + * Fix vulnerability on AESNI ECB with payloads smaller than + 16 bytes. + +- Update to 3.5.5 + - Resolved issues + + * Fixed incorrect AES encryption/decryption with AES + acceleration on x86 due to gcc’s optimization and strict + aliasing rules. + * More prime number candidates than necessary where discarded + as composite due to the limited way D values were searched + in the Lucas test. + * Fixed ResouceWarnings and DeprecationWarnings. + +- Update to 3.5.4 + - New features: + * Build Python 3.7 wheels on Linux, Windows and Mac. + - Resolved issues: + * More meaningful exceptions in case of mismatch in IV length + (CBC/OFB/CFB modes). + ------------------------------------------------------------------- Tue Jul 3 10:17:10 UTC 2018 - hpj@urpla.net diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec index 9e74d23..585fca0 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -17,38 +17,37 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test %define oldpython python +%bcond_without test Name: python-pycryptodome -Version: 3.6.3 +Version: 3.6.6 Release: 0 Summary: Cryptographic library for Python License: BSD-2-Clause Group: Development/Languages/Python -Url: https://www.pycryptodome.org -Source: https://pypi.io/packages/source/p/pycryptodome/pycryptodome-%{version}.tar.gz +URL: https://www.pycryptodome.org +Source: https://files.pythonhosted.org/packages/source/p/pycryptodome/pycryptodome-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +# PyCryptodome uses gmp via cffi as runtime optimization +# would be better, if libgmp* would provide gmp +Suggests: libgmp10 +Suggests: python-cffi Provides: python-pycrypto = %{version} Obsoletes: python-pycrypto < %{version} %ifpython2 Provides: %{oldpython}-pycrypto = %{version} Obsoletes: %{oldpython}-pycrypto < %{version} %endif -# PyCryptodome uses gmp via cffi as runtime optimization -# would be better, if libgmp* would provide gmp -Suggests: libgmp10 -Suggests: python-cffi - %python_subpackages %description PyCryptodome is a self-contained Python package of low-level cryptographic primitives. -PyCryptodome is a fork of PyCrypto, residing in the `Crypto` +PyCryptodome is a fork of PyCrypto, residing in the `Crypto` namespace for better drop-in compatibility, while it brings several enhancements with respect to the last official version of PyCrypto (2.6.1), for instance: diff --git a/python-pycryptodomex.changes b/python-pycryptodomex.changes index 9473512..d2ca3cb 100644 --- a/python-pycryptodomex.changes +++ b/python-pycryptodomex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 3 14:30:35 UTC 2018 - Marketa Calabkova + +- version 3.6.6 + ------------------------------------------------------------------- Tue Jul 3 12:47:58 UTC 2018 - hpj@urpla.net diff --git a/python-pycryptodomex.spec b/python-pycryptodomex.spec index 2aff1fb..1331180 100644 --- a/python-pycryptodomex.spec +++ b/python-pycryptodomex.spec @@ -17,17 +17,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test %global modname pycryptodomex %define oldpython python +%bcond_without test Name: python-pycryptodomex -Version: 3.6.3 +Version: 3.6.6 Release: 0 Summary: Cryptographic library for Python License: BSD-2-Clause Group: Development/Languages/Python -Url: https://www.pycryptodome.org -Source: https://pypi.io/packages/source/p/pycryptodome/pycryptodome-%{version}.tar.gz +URL: https://www.pycryptodome.org +Source: https://files.pythonhosted.org/packages/source/p/pycryptodome/pycryptodome-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -36,7 +36,6 @@ BuildRequires: python-rpm-macros # would be better, if libgmp* would provide gmp Suggests: libgmp10 Suggests: python-cffi - %python_subpackages %description