forked from pool/python-pycryptodome
- 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/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=59
This commit is contained in:
@@ -16,18 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%define min_version %{lua:rpm.expand("%{version}"):gsub("^(%d+%.%d+).*", "%1")}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pycryptodome
|
||||
Version: 3.18.0
|
||||
Version: 3.19.0
|
||||
Release: 0
|
||||
Summary: Cryptographic library for Python
|
||||
License: BSD-2-Clause
|
||||
URL: https://www.pycryptodome.org
|
||||
Source: https://github.com/Legrandin/pycryptodome/archive/v%{version}.tar.gz#/pycryptodome-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Provides: python-pycrypto = %{version}
|
||||
@@ -38,10 +38,6 @@ Obsoletes: python-pycrypto < %{version}
|
||||
Suggests: libgmp10
|
||||
Suggests: python-cffi
|
||||
%endif
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-pycrypto = %{version}
|
||||
Obsoletes: %{oldpython}-pycrypto < %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -85,11 +81,11 @@ Python. Only the pieces that are extremely critical to performance
|
||||
%build
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
export LC_ALL=en_US.UTF-8
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user