diff --git a/pycryptodomex-3.9.7.tar.gz b/pycryptodomex-3.9.8.tar.gz similarity index 63% rename from pycryptodomex-3.9.7.tar.gz rename to pycryptodomex-3.9.8.tar.gz index fc5d7fa2270494622ab8d908f4fb828a0bb7c783..09cfc2c123d8cb1f47099652586795fc5a7884bf 100644 Binary files a/pycryptodomex-3.9.7.tar.gz and b/pycryptodomex-3.9.8.tar.gz differ diff --git a/python-pycryptodomex.spec b/python-pycryptodomex.spec index 4374e8dc6521bf2569a56f7390e6c7161850e190..5db89f3165eb91ad29efaf790e621e320992c60c 100644 --- a/python-pycryptodomex.spec +++ b/python-pycryptodomex.spec @@ -1,21 +1,48 @@ %global _empty_manifest_terminate_build 0 - Name: python-pycryptodomex -Version: 3.9.7 +Version: 3.9.8 Release: 1 Summary: Cryptographic library for Python License: BSD, Public Domain, Apache URL: https://www.pycryptodome.org -Source0: https://files.pythonhosted.org/packages/7f/3c/80cfaec41c3a9d0f524fe29bca9ab22d02ac84b5bfd6e22ade97d405bdba/pycryptodomex-3.9.7.tar.gz +Source0: https://files.pythonhosted.org/packages/f5/79/9d9206688385d1e7a5ff925e7aab1d685636256e34a409037aa7adbbe611/pycryptodomex-3.9.8.tar.gz + %description -PyCryptodome is a self-contained Python package of low-level cryptographic primitives. -PyCryptodome is a fork of PyCrypto. It brings several enhancements with -respect to the last official version of PyCrypto (2.6.1). -PyCryptodome is not a wrapper to a separate C library like *OpenSSL*. -To the largest possible extent, algorithms are implemented in pure Python. -Only the pieces that are extremely critical to performance (e.g. block ciphers) +PyCryptodome is a self-contained Python package of low-level +cryptographic primitives. +It supports Python 2.6 and 2.7, Python 3.4 and newer, and PyPy. +You can install it with:: + pip install pycryptodomex +All modules are installed under the ``Cryptodome`` package. +Check the pycryptodome_ project for the equivalent library that +works under the ``Crypto`` package. +PyCryptodome is a fork of PyCrypto. It brings several enhancements +with respect to the last official version of PyCrypto (2.6.1), +for instance: +* Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB) +* Accelerated AES on Intel platforms via AES-NI +* First class support for PyPy +* Elliptic curves cryptography (NIST P-256, P-384 and P-521 curves only) +* Better and more compact API (`nonce` and `iv` attributes for ciphers, + automatic generation of random nonces and IVs, simplified CTR cipher mode, + and more) +* SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms +* Salsa20 and ChaCha20 stream ciphers +* scrypt and HKDF +* Deterministic (EC)DSA +* Password-protected PKCS#8 key containers +* Shamir's Secret Sharing scheme +* Random numbers get sourced directly from the OS (and not from a CSPRNG in userspace) +* Simplified install process, including better support for Windows +* Cleaner RSA and DSA key generation (largely based on FIPS 186-4) +* Major clean ups and simplification of the code base +PyCryptodome is not a wrapper to a separate C library like *OpenSSL*. +To the largest possible extent, algorithms are implemented in pure Python. +Only the pieces that are extremely critical to performance (e.g. block ciphers) are implemented as C extensions. +For more information, see the `homepage`_. +All the code can be downloaded from `GitHub`_. %package -n python3-pycryptodomex Summary: Cryptographic library for Python @@ -26,28 +53,82 @@ BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb %description -n python3-pycryptodomex -PyCryptodome is a self-contained Python package of low-level cryptographic primitives. -PyCryptodome is a fork of PyCrypto. It brings several enhancements with -respect to the last official version of PyCrypto (2.6.1). -PyCryptodome is not a wrapper to a separate C library like *OpenSSL*. -To the largest possible extent, algorithms are implemented in pure Python. -Only the pieces that are extremely critical to performance (e.g. block ciphers) +PyCryptodome is a self-contained Python package of low-level +cryptographic primitives. +It supports Python 2.6 and 2.7, Python 3.4 and newer, and PyPy. +You can install it with:: + pip install pycryptodomex +All modules are installed under the ``Cryptodome`` package. +Check the pycryptodome_ project for the equivalent library that +works under the ``Crypto`` package. +PyCryptodome is a fork of PyCrypto. It brings several enhancements +with respect to the last official version of PyCrypto (2.6.1), +for instance: +* Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB) +* Accelerated AES on Intel platforms via AES-NI +* First class support for PyPy +* Elliptic curves cryptography (NIST P-256, P-384 and P-521 curves only) +* Better and more compact API (`nonce` and `iv` attributes for ciphers, + automatic generation of random nonces and IVs, simplified CTR cipher mode, + and more) +* SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms +* Salsa20 and ChaCha20 stream ciphers +* scrypt and HKDF +* Deterministic (EC)DSA +* Password-protected PKCS#8 key containers +* Shamir's Secret Sharing scheme +* Random numbers get sourced directly from the OS (and not from a CSPRNG in userspace) +* Simplified install process, including better support for Windows +* Cleaner RSA and DSA key generation (largely based on FIPS 186-4) +* Major clean ups and simplification of the code base +PyCryptodome is not a wrapper to a separate C library like *OpenSSL*. +To the largest possible extent, algorithms are implemented in pure Python. +Only the pieces that are extremely critical to performance (e.g. block ciphers) are implemented as C extensions. +For more information, see the `homepage`_. +All the code can be downloaded from `GitHub`_. %package help Summary: Development documents and examples for pycryptodomex Provides: python3-pycryptodomex-doc %description help -PyCryptodome is a self-contained Python package of low-level cryptographic primitives. -PyCryptodome is a fork of PyCrypto. It brings several enhancements with -respect to the last official version of PyCrypto (2.6.1). -PyCryptodome is not a wrapper to a separate C library like *OpenSSL*. -To the largest possible extent, algorithms are implemented in pure Python. -Only the pieces that are extremely critical to performance (e.g. block ciphers) +PyCryptodome is a self-contained Python package of low-level +cryptographic primitives. +It supports Python 2.6 and 2.7, Python 3.4 and newer, and PyPy. +You can install it with:: + pip install pycryptodomex +All modules are installed under the ``Cryptodome`` package. +Check the pycryptodome_ project for the equivalent library that +works under the ``Crypto`` package. +PyCryptodome is a fork of PyCrypto. It brings several enhancements +with respect to the last official version of PyCrypto (2.6.1), +for instance: +* Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB) +* Accelerated AES on Intel platforms via AES-NI +* First class support for PyPy +* Elliptic curves cryptography (NIST P-256, P-384 and P-521 curves only) +* Better and more compact API (`nonce` and `iv` attributes for ciphers, + automatic generation of random nonces and IVs, simplified CTR cipher mode, + and more) +* SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms +* Salsa20 and ChaCha20 stream ciphers +* scrypt and HKDF +* Deterministic (EC)DSA +* Password-protected PKCS#8 key containers +* Shamir's Secret Sharing scheme +* Random numbers get sourced directly from the OS (and not from a CSPRNG in userspace) +* Simplified install process, including better support for Windows +* Cleaner RSA and DSA key generation (largely based on FIPS 186-4) +* Major clean ups and simplification of the code base +PyCryptodome is not a wrapper to a separate C library like *OpenSSL*. +To the largest possible extent, algorithms are implemented in pure Python. +Only the pieces that are extremely critical to performance (e.g. block ciphers) are implemented as C extensions. +For more information, see the `homepage`_. +All the code can be downloaded from `GitHub`_. %prep -%autosetup -n pycryptodomex-3.9.7 +%autosetup -n pycryptodomex-%{version} %build %py3_build @@ -84,8 +165,8 @@ mv %{buildroot}/doclist.lst . %dir %{python3_sitearch}/* %files help -f doclist.lst -%{_pkgdocdir} +%{_docdir}/* %changelog -* Wed May 20 2020 Python_Bot -- Package Spec generated +* Tue Aug 18 2020 zengwefeng - 3.9.8-1 +- update python-pycryptodomex version to 3.9.8