Accepting request 1129188 from devel:languages:python
- 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+. - Update to version 3.16.0 * Align stack of functions using SSE2 intrinsics to avoid crashes, * fixed memory leak for operations that use memoryviews when cffi fix the build on older distros * Add support for loading PEM files encrypted with AES192-CBC, * When importing ECC keys, ignore EC PARAMS section that was * Speed-up ECC performance. ECDSA is 33 times faster on the * Support HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512 * DER objects were not rejected if their length field had * point_at_infinity() becomes an instance method for * GH#258: False positive on PSS signatures when externally * 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 * Fix vulnerability on AESNI ECB with payloads smaller than * Fixed incorrect AES encryption/decryption with AES acceleration on x86 due to gcc’s optimization and strict * More prime number candidates than necessary where discarded as composite due to the limited way D values were searched * More meaningful exceptions in case of mismatch in IV length OBS-URL: https://build.opensuse.org/request/show/1129188 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycryptodome?expand=0&rev=27
This commit is contained in:
commit
25e4e86334
BIN
pycryptodome-3.18.0.tar.gz
(Stored with Git LFS)
BIN
pycryptodome-3.18.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
pycryptodome-3.19.0.tar.gz
Normal file
3
pycryptodome-3.19.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:30354c769a508f644cf5c9647ef1f3a346b6fb3e64034fc3a8a364f6986beeb1
|
||||||
|
size 17153954
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 27 15:55:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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+.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 28 13:36:37 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Wed Jun 28 13:36:37 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@ -16,18 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define oldpython python
|
|
||||||
%define min_version %{lua:rpm.expand("%{version}"):gsub("^(%d+%.%d+).*", "%1")}
|
%define min_version %{lua:rpm.expand("%{version}"):gsub("^(%d+%.%d+).*", "%1")}
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pycryptodome
|
Name: python-pycryptodome
|
||||||
Version: 3.18.0
|
Version: 3.19.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cryptographic library for Python
|
Summary: Cryptographic library for Python
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
URL: https://www.pycryptodome.org
|
URL: https://www.pycryptodome.org
|
||||||
Source: https://github.com/Legrandin/pycryptodome/archive/v%{version}.tar.gz#/pycryptodome-%{version}.tar.gz
|
Source: https://github.com/Legrandin/pycryptodome/archive/v%{version}.tar.gz#/pycryptodome-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Provides: python-pycrypto = %{version}
|
Provides: python-pycrypto = %{version}
|
||||||
@ -38,10 +38,6 @@ Obsoletes: python-pycrypto < %{version}
|
|||||||
Suggests: libgmp10
|
Suggests: libgmp10
|
||||||
Suggests: python-cffi
|
Suggests: python-cffi
|
||||||
%endif
|
%endif
|
||||||
%ifpython2
|
|
||||||
Provides: %{oldpython}-pycrypto = %{version}
|
|
||||||
Obsoletes: %{oldpython}-pycrypto < %{version}
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -85,11 +81,11 @@ Python. Only the pieces that are extremely critical to performance
|
|||||||
%build
|
%build
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user