From e465b68b7d801922e775a6aa1293d12acf889eab6b77bb82b61a9735ce2167eb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Mar 2023 09:19:27 +0000 Subject: [PATCH] - update to 3.17.0: * Added support for the Counter Mode KDF defined in SP 800-108 Rev 1. * Reduce the minimum tag length for the EAX cipher to 2 bytes. * An RSA object has 4 new properties for the CRT coefficients: ``dp``, ``dq``, ``invq`` and ``invq`` (``invp`` is the same value as the existing ``u``). * GH#526: improved typing for ``RSA.construct``. * GH#534: reduced memory consumption when using a large number of cipher objects. * GH#598: fixed missing error handling for ``Util.number.inverse``. * GH#629: improved typing for ``AES.new`` and the various mode-specific types it returns. Thanks to Greg Werbin. * GH#653: added workaround for an alleged GCC compiler bug that affected Ed25519 code compiled for AVX2. * GH#658: attribute ``curve`` of an ECC key was not always the preferred curve name, as it used to be in v3.15.0 (independently of the curve name specified when generating the key). * GH#637: fixed typing for legacy modules ``PKCS1_v1_5`` and ``PKCS1_PSS``, as their ``verify()`` returned a boolean. * GH#664: with OCB mode, nonces of maximum length (15 bytes) were actually used as 14 bytes nonces. After this fix, data that was encrypted in past using the (default) nonce length of 15 bytes can still be decrypted by reducing the nonce to its first 14 bytes. * GH#705: improved typing for ``nonce``, ``iv``, and ``IV`` parameters of cipher objects. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=52 --- pycryptodome-3.16.0.tar.gz | 3 -- pycryptodome-3.17.0.tar.gz | 3 ++ python-pycryptodome.changes | 75 +++++++++++++++++++++++++++++++++++++ python-pycryptodome.spec | 4 +- 4 files changed, 80 insertions(+), 5 deletions(-) delete mode 100644 pycryptodome-3.16.0.tar.gz create mode 100644 pycryptodome-3.17.0.tar.gz diff --git a/pycryptodome-3.16.0.tar.gz b/pycryptodome-3.16.0.tar.gz deleted file mode 100644 index 965ed7d..0000000 --- a/pycryptodome-3.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8f6878f11e6164b663058246d2c3ecc3c445f9cbff03dea97cee80c4223b9ff -size 16548063 diff --git a/pycryptodome-3.17.0.tar.gz b/pycryptodome-3.17.0.tar.gz new file mode 100644 index 0000000..18daa51 --- /dev/null +++ b/pycryptodome-3.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d677199dc3f4d502d6d78bd8855f313eed427be4545bd6a8188c7fc0799ea379 +size 16714317 diff --git a/python-pycryptodome.changes b/python-pycryptodome.changes index 875f8a0..9b7fd42 100644 --- a/python-pycryptodome.changes +++ b/python-pycryptodome.changes @@ -1,3 +1,78 @@ +------------------------------------------------------------------- +Mon Mar 27 09:18:25 UTC 2023 - Dirk Müller + +- update to 3.17.0: + * Added support for the Counter Mode KDF defined in SP 800-108 + Rev 1. + * Reduce the minimum tag length for the EAX cipher to 2 bytes. + * An RSA object has 4 new properties for the CRT coefficients: + ``dp``, ``dq``, ``invq`` and ``invq`` (``invp`` is the same + value as the existing ``u``). + * GH#526: improved typing for ``RSA.construct``. + * GH#534: reduced memory consumption when using a large number + of cipher objects. + * GH#598: fixed missing error handling for + ``Util.number.inverse``. + * GH#629: improved typing for ``AES.new`` and the various + mode-specific types it returns. Thanks to Greg Werbin. + * GH#653: added workaround for an alleged GCC compiler bug + that affected Ed25519 code compiled for AVX2. + * GH#658: attribute ``curve`` of an ECC key was not always + the preferred curve name, as it used to be in v3.15.0 + (independently of the curve name specified when generating + the key). + * GH#637: fixed typing for legacy modules ``PKCS1_v1_5`` and + ``PKCS1_PSS``, as their ``verify()`` returned a boolean. + * GH#664: with OCB mode, nonces of maximum length (15 bytes) + were actually used as 14 bytes nonces. + After this fix, data that was encrypted in past using the + (default) nonce length of 15 bytes can still be decrypted + by reducing the nonce to its first 14 bytes. + * GH#705: improved typing for ``nonce``, ``iv``, and ``IV`` + parameters of cipher objects. + +------------------------------------------------------------------- +Mon Mar 27 09:16:44 UTC 2023 - Dirk Müller + +- update to 3.17.0: + * ++++++++++++++++++++++++++ + * New features + * Added support for the Counter Mode KDF defined in SP 800-108 + Rev 1. + * Reduce the minimum tag length for the EAX cipher to 2 bytes. + * An RSA object has 4 new properties for the CRT coefficients + * ``dp``, ``dq``, ``invq`` and ``invq`` (``invp`` is the same + value + * as the existing ``u``). + * Resolved issues + * GH#526: improved typing for ``RSA.construct``. + * GH#534: reduced memory consumption when using a large number + * of cipher objects. + * GH#598: fixed missing error handling for + ``Util.number.inverse``. + * GH#629: improved typing for ``AES.new`` and the various + * mode-specific types it returns. Thanks to Greg Werbin. + * GH#653: added workaround for an alleged GCC compiler bug + * hat affected Ed25519 code compiled for AVX2. + * GH#658: attribute ``curve`` of an ECC key was not always + * he preferred curve name, as it used to be in v3.15.0 + * independently of the curve name specified when generating + * he key). + * GH#637: fixed typing for legacy modules ``PKCS1_v1_5`` and + ``PKCS1_PSS``, + * as their ``verify()`` returned a boolean. + * GH#664: with OCB mode, nonces of maximum length (15 bytes + * were actually used as 14 bytes nonces. + * After this fix, data that was encrypted in past using the + * default) nonce length of 15 bytes can still be decrypted + * by reducing the nonce to its first 14 bytes. + * GH#705: improved typing for ``nonce``, ``iv``, and ``IV`` + parameters + * of cipher objects. + * Other changes + * Build PyPy wheels only for versions 3.8 and 3.9, and not for + 3.7 anymore. + ------------------------------------------------------------------- Tue Dec 6 13:06:39 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec index 525aeaf..74606d1 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycryptodome # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-pycryptodome -Version: 3.16.0 +Version: 3.17.0 Release: 0 Summary: Cryptographic library for Python License: BSD-2-Clause