guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30211] [PATCH 3/4] gnu: Add python-pycryptodome.


From: Leo Famulari
Subject: [bug#30211] [PATCH 3/4] gnu: Add python-pycryptodome.
Date: Tue, 23 Jan 2018 16:25:23 -0500
User-agent: Mutt/1.9.2 (2017-12-15)

On Tue, Jan 23, 2018 at 01:23:31PM +0300, Oleg Pykhalov wrote:
> Leo Famulari <address@hidden> writes:
> > On Mon, Jan 22, 2018 at 11:05:24PM +0300, Oleg Pykhalov wrote:
> >> +    ;; XXX: Skipping GMP tests which requires not packaged 'mpir' library.
> >
> > I don't understand this comment.
> 
> This is a quote from a build log.  See:
> --8<---------------cut here---------------start------------->8---
> starting phase `check'
> running "python setup.py" with command "test" and parameters ()
> running test
> running build
> running build_py
> running build_ext
> Skipping GMP tests (Cannot load library 'mpir')
> Compiling support for Intel AES instructions
> Crypto.Math implementation: {}
> 
> ----------------------------------------------------------------------
> Ran 22598 tests in 75.857s
> 
> OK
> phase `check' succeeded after 84.6 seconds
> --8<---------------cut here---------------end--------------->8---
> 
> Do you have an idea how to make it more clear?

I don't think we have to mention it. Many package test suites
automatically skip some subset of tests based on a variety of factors.

> > If possible, please give a little more information in the description.
> > I'm specifically interested in how this library differs from the Python
> > 'cryptography' library.
> 
> Dunno about 'pycryptodome' Vs Python 'cryptography', but 'pycryptodome'
> is a fork of PyCrypto.

> +    (description "This package provides a cryptographic library for Python.
> +
> +It brings the following enhancements with respect to the last official 
> version
> +of PyCrypto:
> +
> address@hidden
> address@hidden Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
> address@hidden Accelerated AES on Intel platforms via AES-NI
> address@hidden First class support for PyPy
> address@hidden Elliptic curves cryptography (NIST P-256 curve only)
> address@hidden Better and more compact API (nonce and iv attributes for 
> ciphers,
> +automatic generation of random nonces and IVs, simplified CTR cipher mode, 
> and
> +more)
> address@hidden SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
> address@hidden Salsa20 and ChaCha20 stream ciphers
> address@hidden scrypt and HKDF
> address@hidden Deterministic (EC)DSA
> address@hidden Password-protected PKCS#8 key containers
> address@hidden Shamir’s Secret Sharing scheme
> address@hidden Random numbers get sourced directly from the OS (and not from 
> a CSPRNG
> +in userspace)
> address@hidden Cleaner RSA and DSA key generation (largely based on FIPS 
> 186-4)
> address@hidden Major clean ups and simplification of the code base
> address@hidden itemize\n")

That's great! It's good to know this is a pycrypto fork. Pycrypto is
abandoned so I'm glad to see new work around it.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]