Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37559010
en ru br
ALT Linux repositórios
S:3.9.9-alt2

Group :: Development/Python3
RPM: python3-module-pycryptodomex

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define  modulename pycryptodomex

Name:    python3-module-%modulename
Version: 3.9.9
Release: alt2

Summary: A self-contained cryptographic library for Python
License: BSD-2-Clause
Group:   Development/Python3
URL:     https://github.com/Legrandin/pycryptodome

Packager: Andrey Cherepanov <cas at altlinux.org>

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildRequires: libtomcrypt-devel
BuildRequires: python3-module-sphinx

Source:  %modulename-%version.tar
Patch1:  python-pycryptodomex-3.7.3-use_external_libtomcrypt.patch

Provides: python3-pycryptodomex = %EVR
Obsoletes: python3-pycryptodomex < %EVR

%py3_provides pycryptodomex

%description
PyCryptodome is a self-contained Python package of low-level cryptographic
primitives.

PyCryptodome is a fork of PyCrypto. It brings the following enhancements with
respect to the last official version of PyCrypto (2.6.1):
- 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), truncated SHA-512 and BLAKE2 hash algorithms
- Salsa20 and ChaCha20/XChaCha20 stream ciphers
- Poly1305 MAC
- ChaCha20-Poly1305 and XChaCha20-Poly1305 authenticated ciphers
- scrypt, bcrypt and HKDF derivation functions
- 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

%prep
%setup -n %modulename-%version
%patch1 -p1

%build
%add_optflags -I%_includedir/tomcrypt
%python3_build

%install
%python3_install

%check
%__python3 setup.py test

%files
%doc AUTHORS.rst README.rst
%python3_sitelibdir/Cryptodome
%python3_sitelibdir/*.egg-info

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009