From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ee650-0004Xu-0r for guix-patches@gnu.org; Tue, 23 Jan 2018 16:26:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ee64w-0000QC-Qn for guix-patches@gnu.org; Tue, 23 Jan 2018 16:26:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ee64w-0000Q8-LI for guix-patches@gnu.org; Tue, 23 Jan 2018 16:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ee64w-0000xO-Fd for guix-patches@gnu.org; Tue, 23 Jan 2018 16:26:02 -0500 Subject: [bug#30211] [PATCH 3/4] gnu: Add python-pycryptodome. Resent-Message-ID: Date: Tue, 23 Jan 2018 16:25:23 -0500 From: Leo Famulari Message-ID: <20180123212523.GB4838@jasmine.lan> References: <20180122200525.561-1-go.wigust@gmail.com> <20180122200525.561-2-go.wigust@gmail.com> <20180122203302.GC31770@jasmine.lan> <87wp08rhzw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <87wp08rhzw.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Oleg Pykhalov Cc: 30211@debbugs.gnu.org --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 23, 2018 at 01:23:31PM +0300, Oleg Pykhalov wrote: > Leo Famulari writes: > > On Mon, Jan 22, 2018 at 11:05:24PM +0300, Oleg Pykhalov wrote: > >> + ;; XXX: Skipping GMP tests which requires not packaged 'mpir' lib= rary. > > > > I don't understand this comment. >=20 > 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: {} >=20 > ---------------------------------------------------------------------- > Ran 22598 tests in 75.857s >=20 > OK > phase `check' succeeded after 84.6 seconds > --8<---------------cut here---------------end--------------->8--- >=20 > 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. >=20 > Dunno about 'pycryptodome' Vs Python 'cryptography', but 'pycryptodome' > is a fork of PyCrypto. > + (description "This package provides a cryptographic library for Pyth= on. > + > +It brings the following enhancements with respect to the last official v= ersion > +of PyCrypto: > + > +@itemize > +@item Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB) > +@item Accelerated AES on Intel platforms via AES-NI > +@item First class support for PyPy > +@item Elliptic curves cryptography (NIST P-256 curve only) > +@item Better and more compact API (nonce and iv attributes for ciphers, > +automatic generation of random nonces and IVs, simplified CTR cipher mod= e, and > +more) > +@item SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms > +@item Salsa20 and ChaCha20 stream ciphers > +@item scrypt and HKDF > +@item Deterministic (EC)DSA > +@item Password-protected PKCS#8 key containers > +@item Shamir=E2=80=99s Secret Sharing scheme > +@item Random numbers get sourced directly from the OS (and not from a CS= PRNG > +in userspace) > +@item Cleaner RSA and DSA key generation (largely based on FIPS 186-4) > +@item Major clean ups and simplification of the code base > +@end 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. --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpnqEMACgkQJkb6MLrK fwjGsw//capfpI6ysSm0aqQjdJAwPsZ57Ftka3hkCAb/pfgaQ4L4/iFkF0XzTplq UbfJEZ3o3eMsA3eUSeQhIN2FVQxOeEXQ6rB8hzpC+Cs4CZsRChkTGq/Cp916whVx H2OdXSb4EtH2pL7MOhE87lURu1Ng2ZMl1HSSG8fAG+F6WyY+MK3wjysJVMutquTu T5xFI4ghQYvN8EfuJdIs2OKGIKWreEmNIzsnU3Dz0b9CNKFrlXgZgmWyXcQKzjaU 8RBMiJG2I72tIZ9XUehOk9Ymr4oO4RRPYVV0hjOLN/ia0pWAYHSbkiB9Ihh5ZsSA FPR7plNcagGfgWtSLuyRgo88zd18HolslFprUrR7nlU9naKdNhrKXF59SRrZvar9 aSbGD32nb4zTwHvRAUmhHcu6DwPO4lp8/4AFQ/RCyjJc54PGhZ+qoOeQUWN2tJP7 OCyfG26yQyOuvBpiYlgcOtOb75kK0fiAk3nHd6pNm9NC9Pd50RVU3b969QE3AaQK Q7UV9cF96TDzhshSx2pGTLpDxIpqgammCAUDF1e6jUdUlFe82DsCtKunVOrl9A2Z dFQ4KigZ0etIOAYCA4aFP8JFVy9i0aihVpZCql0dxH5BZvNkmJaz18lfFNQ3c31B sgA8BnhoZkmhehtWugqMAHFgjzl7ak+dGL8ps/0AbOEF/CDfibs= =SWz/ -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--