From 3dab46945a0137af736d89349cd6db0b73f571c5dceb30e50d7ced16624e128f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Nov 2023 15:58:33 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=203.19.0:=20=20=20*=20The=20``u?= =?UTF-8?q?pdate()``=20methods=20of=20TupleHash128=20and=20TupleHash256=20?= =?UTF-8?q?=20=20=20=20objects=20can=20now=20hash=20multiple=20items=20(by?= =?UTF-8?q?te=20strings)=20at=20once.=20=20=20*=20Added=20support=20for=20?= =?UTF-8?q?ECDH,=20with=20``Crypto.Protocol.DH``.=20=20=20*=20GH#754:=20du?= =?UTF-8?q?e=20to=20a=20bug=20in=20``cffi``,=20do=20not=20use=20it=20on=20?= =?UTF-8?q?Windows=20=20=20=20=20with=20Python=203.12+.=20-=20Update=20to?= =?UTF-8?q?=203.16.0=20=20=20=20=20*=20New=20parameter=20output=20for=20Cr?= =?UTF-8?q?ypto.Util.strxor.strxor,=20=20=20=20=20=20=20Crypto.Util.strxor?= =?UTF-8?q?.strxor=5Fc,=20encrypt=20and=20decrypt=20methods=20in=20=20=20?= =?UTF-8?q?=20=20=20=20symmetric=20ciphers=20(Crypto.Cipher=20package).=20?= =?UTF-8?q?output=20is=20a=20=20=20=20=20=20=20pre-allocated=20buffer=20(a?= =?UTF-8?q?=20bytearray=20or=20a=20writeable=20memoryview)=20=20=20=20=20?= =?UTF-8?q?=20=20where=20the=20result=20must=20be=20stored.=20This=20requi?= =?UTF-8?q?res=20less=20memory=20for=20=20=20=20=20=20=20very=20large=20pa?= =?UTF-8?q?yloads;=20it=20is=20also=20more=20efficient=20when=20encrypting?= =?UTF-8?q?=20=20=20=20=20*=20Fix=20vulnerability=20on=20AESNI=20ECB=20wit?= =?UTF-8?q?h=20payloads=20smaller=20than=20=20=20=20=20*=20Fixed=20incorre?= =?UTF-8?q?ct=20AES=20encryption/decryption=20with=20AES=20=20=20=20=20=20?= =?UTF-8?q?=20acceleration=20on=20x86=20due=20to=20gcc=E2=80=99s=20optimiz?= =?UTF-8?q?ation=20and=20strict=20=20=20=20=20*=20More=20prime=20number=20?= =?UTF-8?q?candidates=20than=20necessary=20where=20discarded=20=20=20=20?= =?UTF-8?q?=20=20=20as=20composite=20due=20to=20the=20limited=20way=20D=20?= =?UTF-8?q?values=20were=20searched=20=20=20=20=20*=20More=20meaningful=20?= =?UTF-8?q?exceptions=20in=20case=20of=20mismatch=20in=20IV=20length?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodomex?expand=0&rev=37 --- python-pycryptodomex.changes | 46 ++++++++++++++++++++++-------------- python-pycryptodomex.spec | 4 +--- v3.18.0.tar.gz | 3 --- v3.19.0.tar.gz | 3 +++ 4 files changed, 32 insertions(+), 24 deletions(-) delete mode 100644 v3.18.0.tar.gz create mode 100644 v3.19.0.tar.gz diff --git a/python-pycryptodomex.changes b/python-pycryptodomex.changes index 6051d70..05aa012 100644 --- a/python-pycryptodomex.changes +++ b/python-pycryptodomex.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Nov 27 15:55:53 UTC 2023 - Dirk Müller + +- update to 3.19.0: + * The ``update()`` methods of TupleHash128 and TupleHash256 + objects can now hash multiple items (byte strings) at once. + * Added support for ECDH, with ``Crypto.Protocol.DH``. + * GH#754: due to a bug in ``cffi``, do not use it on Windows + with Python 3.12+. + ------------------------------------------------------------------- Tue Jun 27 12:54:10 UTC 2023 - ecsos @@ -56,7 +66,7 @@ Mon Mar 27 09:18:25 UTC 2023 - Dirk Müller ------------------------------------------------------------------- Tue Dec 6 13:19:32 UTC 2022 - Yogalakshmi Arunachalam -- Update to 3.16.0 +- Update to 3.16.0 New features * Build wheels for musl Linux. Thanks to Ben Raz. Resolved issues @@ -89,7 +99,7 @@ Tue Feb 15 08:52:41 UTC 2022 - Dirk Müller * Relaxed ECDSA requirements for FIPS 186 signatures and accept any SHA-2 or * SHA-3 hash. ``sign()`` and ``verify()`` will be performed even if the hash is stronger than the ECC key. - + ------------------------------------------------------------------- Sat Dec 11 13:50:59 UTC 2021 - Dirk Müller @@ -123,10 +133,10 @@ Thu Apr 22 19:58:28 UTC 2021 - Dirk Müller - update to 3.10.1: * Python 3 wheels use ``abi3`` ABI tag. * Remove Appveyor CI. - + 3.10.0 (6 February 2021) ++++++++++++++++++++++++ - + Resolved issues --------------- * Fixed a potential memory leak when initializing block ciphers. @@ -141,14 +151,14 @@ Thu Apr 22 19:58:28 UTC 2021 - Dirk Müller * GH#496: added missing ``block_size`` member for ECB cipher objects. Thanks to willem. * GH#500: ``nonce`` member of an XChaCha20 cipher object was not matching the original nonce. Thanks to Charles Machalow. - + Other changes ------------- * The bulk of the test vectors have been moved to the separate package ``pycryptodome-test-vectors``. As result, packages ``pycryptodome`` and ``pycryptodomex`` become significantly smaller (from 14MB to 3MB). * Moved CI tests and build service from Travis CI to GitHub Actions. - + Breaks in compatibility ----------------------- * Drop support for Python 2.6 and 3.4. @@ -309,12 +319,12 @@ Thu Nov 1 10:42:04 UTC 2018 - Hans-Peter Jansen * Added support for Poly1305 MAC (with AES and ChaCha20 ciphers for key derivation). * Added support for ChaCha20-Poly1305 AEAD cipher. - * New parameter output for Crypto.Util.strxor.strxor, - Crypto.Util.strxor.strxor_c, encrypt and decrypt methods in - symmetric ciphers (Crypto.Cipher package). output is a - pre-allocated buffer (a bytearray or a writeable memoryview) - where the result must be stored. This requires less memory for - very large payloads; it is also more efficient when encrypting + * New parameter output for Crypto.Util.strxor.strxor, + Crypto.Util.strxor.strxor_c, encrypt and decrypt methods in + symmetric ciphers (Crypto.Cipher package). output is a + pre-allocated buffer (a bytearray or a writeable memoryview) + where the result must be stored. This requires less memory for + very large payloads; it is also more efficient when encrypting (or decrypting) several small payloads. - Resolved issues @@ -340,17 +350,17 @@ 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 + * 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 + * 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 + * 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. @@ -358,7 +368,7 @@ Mon Sep 3 14:21:25 UTC 2018 - Marketa Calabkova - New features: * Build Python 3.7 wheels on Linux, Windows and Mac. - Resolved issues: - * More meaningful exceptions in case of mismatch in IV length + * More meaningful exceptions in case of mismatch in IV length (CBC/OFB/CFB modes). ------------------------------------------------------------------- diff --git a/python-pycryptodomex.spec b/python-pycryptodomex.spec index 99bd215..7d7cd76 100644 --- a/python-pycryptodomex.spec +++ b/python-pycryptodomex.spec @@ -16,11 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global skip_python2 1 %{?sle15_python_module_pythons} Name: python-pycryptodomex -Version: 3.18.0 +Version: 3.19.0 Release: 0 Summary: Cryptographic library for Python License: BSD-2-Clause diff --git a/v3.18.0.tar.gz b/v3.18.0.tar.gz deleted file mode 100644 index 1d4b05b..0000000 --- a/v3.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60f58349c3d62a99bb87665b2a16afda87dc2d537a14aa45aaad1a3748b781ba -size 16720227 diff --git a/v3.19.0.tar.gz b/v3.19.0.tar.gz new file mode 100644 index 0000000..bdb4a9a --- /dev/null +++ b/v3.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30354c769a508f644cf5c9647ef1f3a346b6fb3e64034fc3a8a364f6986beeb1 +size 17153954