From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 26 18:24:31 2018 Received: (at submit) by debbugs.gnu.org; 26 Jun 2018 22:24:31 +0000 Received: from localhost ([127.0.0.1]:36689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXwNz-0004sm-Bb for submit@debbugs.gnu.org; Tue, 26 Jun 2018 18:24:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXwNv-0004sX-F4 for submit@debbugs.gnu.org; Tue, 26 Jun 2018 18:24:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXwNp-0000tW-IM for submit@debbugs.gnu.org; Tue, 26 Jun 2018 18:24:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXwNp-0000tS-EO for submit@debbugs.gnu.org; Tue, 26 Jun 2018 18:24:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXwNo-0006Uz-GV for guix-patches@gnu.org; Tue, 26 Jun 2018 18:24:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXwNl-0000po-CX for guix-patches@gnu.org; Tue, 26 Jun 2018 18:24:20 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:55945) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXwNk-0000o1-VT for guix-patches@gnu.org; Tue, 26 Jun 2018 18:24:17 -0400 X-Originating-IP: 185.131.40.67 Received: from saiph.lan (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id E5DF8240002; Tue, 26 Jun 2018 22:24:18 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH 0/2] Improve python-libscrypt speed Date: Wed, 27 Jun 2018 00:24:09 +0200 Message-Id: <20180626222409.3351-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.18.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit Cc: Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) The following patches fix a bug in python-libscrypt, which fallbacks to a slow implementation. Feedback welcome. Nicolas Goaziou (2): gnu: Add libscrypt. gnu: python-pylibscrypt: Improve speed. gnu/packages/crypto.scm | 28 ++++++++++++++++++++++++++++ gnu/packages/python-crypto.scm | 21 ++++++++++++++++++--- 2 files changed, 46 insertions(+), 3 deletions(-) -- 2.18.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 26 18:31:28 2018 Received: (at 31985) by debbugs.gnu.org; 26 Jun 2018 22:31:28 +0000 Received: from localhost ([127.0.0.1]:36694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXwUd-00053L-5k for submit@debbugs.gnu.org; Tue, 26 Jun 2018 18:31:28 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:44819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXwUb-00053C-6E for 31985@debbugs.gnu.org; Tue, 26 Jun 2018 18:31:21 -0400 X-Originating-IP: 185.131.40.67 Received: from saiph.lan (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 6D9461BF203; Tue, 26 Jun 2018 22:31:28 +0000 (UTC) From: Nicolas Goaziou To: 31985@debbugs.gnu.org Subject: [PATCH 1/2] gnu: Add libscrypt. Date: Wed, 27 Jun 2018 00:31:15 +0200 Message-Id: <20180626223116.3448-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Level: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31985 Cc: Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crypto.scm (libscrypt): New variable. --- gnu/packages/crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 338db04f5..38befb838 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 Pierre Langlois ;;; Copyright © 2018 Efraim Flashner ;;; Copyright © 2018 Arun Isaac +;;; Copyright © 2018 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -478,6 +479,33 @@ utility as a demonstration of the @code{scrypt} key derivation function. attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}.") (license license:bsd-2))) +(define-public libscrypt + (package + (name "libscrypt") + (version "1.21") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/technion/libscrypt.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d76ys6cp7fi4ng1w3mz2l0p9dbr7ljbk33dcywyimzjz8bahdng")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "PREFIX=" %output) + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://lolware.net/libscrypt.html") + (synopsis "Scrypt shared library") + (description "@code{libscrypt} implements @code{scrypt} +functionality, a replacement for @code{bcrypt}.") + (license license:bsd-3))) + (define-public perl-math-random-isaac-xs (package (name "perl-math-random-isaac-xs") -- 2.18.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 26 18:31:28 2018 Received: (at 31985) by debbugs.gnu.org; 26 Jun 2018 22:31:28 +0000 Received: from localhost ([127.0.0.1]:36697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXwUi-00053Z-EO for submit@debbugs.gnu.org; Tue, 26 Jun 2018 18:31:28 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:44425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXwUf-00053O-W0 for 31985@debbugs.gnu.org; Tue, 26 Jun 2018 18:31:26 -0400 X-Originating-IP: 185.131.40.67 Received: from saiph.lan (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 20F171BF205; Tue, 26 Jun 2018 22:31:34 +0000 (UTC) From: Nicolas Goaziou To: 31985@debbugs.gnu.org Subject: [PATCH 2/2] gnu: python-pylibscrypt: Improve speed. Date: Wed, 27 Jun 2018 00:31:16 +0200 Message-Id: <20180626223116.3448-2-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180626223116.3448-1-mail@nicolasgoaziou.fr> References: <20180626223116.3448-1-mail@nicolasgoaziou.fr> X-Spam-Level: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31985 Cc: Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/python-crypto.scm (python-pylibscrypt): Use "libscrypt" implementation instead of "openssl". "hashlib.scrypt" requires Python 3.6+ and OpenSSL 1.1+. Since Python is built with OpenSSL 1.0, the library is unavailable. "pylibscrypt" defaults to a slow pure Python implementation. Instead, rely on the much faster "libscrypt". --- gnu/packages/python-crypto.scm | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 6162fc835..779b86222 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -884,14 +884,29 @@ through the Engine interface.") "1b3rgzl6dbzs08vhv41b6y4n5189wv7lr27acxn104hs45745abs")))) (build-system python-build-system) (arguments - `(#:tests? #f)) ;FIXME: unable to find libraries + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'hard-code-path-to-libscrypt + (lambda* (#:key inputs #:allow-other-keys) + (let ((libscrypt (assoc-ref inputs "libscrypt"))) + (substitute* "pylibscrypt/pylibscrypt.py" + (("find_library\\('scrypt'\\)") + (string-append "'" libscrypt "/lib/libscrypt.so'"))) + #t)))) + ;; The library can use various scrypt implementations and tests all of + ;; them. Since we only provide a single implementation, most tests + ;; fail. Simply skip them. + #:tests? #f)) + ;; FIXME: Using "libscrypt" is the second best choice. The best one + ;; requires "hashlib.scrypt", provided by Python 3.6+ built with OpenSSL + ;; 1.1+. Use that as soon as Guix provides it. (inputs - `(("openssl" ,openssl))) + `(("libscrypt" ,libscrypt))) (home-page "https://github.com/jvarho/pylibscrypt") (synopsis "Scrypt for Python") (description "There are a lot of different scrypt modules for Python, but none of them have everything that I'd like, so here's one more. It uses -hashlib.scrypt on Python 3.6 and OpenSSL 1.1.") +@code{libscrypt}.") (license license:isc))) (define-public python-libnacl -- 2.18.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 02 11:32:26 2018 Received: (at 31985) by debbugs.gnu.org; 2 Jul 2018 15:32:26 +0000 Received: from localhost ([127.0.0.1]:43751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa0oT-0006UO-R0 for submit@debbugs.gnu.org; Mon, 02 Jul 2018 11:32:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa0oS-0006UB-Eq for 31985@debbugs.gnu.org; Mon, 02 Jul 2018 11:32:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fa0oJ-000184-G2 for 31985@debbugs.gnu.org; Mon, 02 Jul 2018 11:32:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fa0oJ-000180-CW; Mon, 02 Jul 2018 11:32:15 -0400 Received: from [193.50.110.150] (port=59344 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fa0oI-0000sf-Qc; Mon, 02 Jul 2018 11:32:15 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Nicolas Goaziou Subject: Re: [bug#31985] [PATCH 1/2] gnu: Add libscrypt. References: <20180626222409.3351-1-mail@nicolasgoaziou.fr> <20180626223116.3448-1-mail@nicolasgoaziou.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Messidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 02 Jul 2018 17:32:13 +0200 In-Reply-To: <20180626223116.3448-1-mail@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 27 Jun 2018 00:31:15 +0200") Message-ID: <874lhhfybm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31985 Cc: 31985@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Nicolas Goaziou skribis: > * gnu/packages/crypto.scm (libscrypt): New variable. [...] > + (home-page "https://lolware.net/libscrypt.html") > + (synopsis "Scrypt shared library") What about =E2=80=9CPassword hashing library=E2=80=9D? > + (description "@code{libscrypt} implements @code{scrypt} > +functionality, a replacement for @code{bcrypt}.") Could you expound just a little bit? OK with these changes, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 02 11:33:16 2018 Received: (at 31985) by debbugs.gnu.org; 2 Jul 2018 15:33:16 +0000 Received: from localhost ([127.0.0.1]:43756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa0pH-0006Vx-3t for submit@debbugs.gnu.org; Mon, 02 Jul 2018 11:33:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa0pE-0006Ve-T9 for 31985@debbugs.gnu.org; Mon, 02 Jul 2018 11:33:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fa0p9-0001OW-3d for 31985@debbugs.gnu.org; Mon, 02 Jul 2018 11:33:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fa0p9-0001ON-0K; Mon, 02 Jul 2018 11:33:07 -0400 Received: from [193.50.110.150] (port=59346 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fa0p7-0002BJ-Mi; Mon, 02 Jul 2018 11:33:06 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Nicolas Goaziou Subject: Re: [bug#31985] [PATCH 2/2] gnu: python-pylibscrypt: Improve speed. References: <20180626223116.3448-1-mail@nicolasgoaziou.fr> <20180626223116.3448-2-mail@nicolasgoaziou.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Messidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 02 Jul 2018 17:33:04 +0200 In-Reply-To: <20180626223116.3448-2-mail@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 27 Jun 2018 00:31:16 +0200") Message-ID: <87zhz9ejpr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31985 Cc: 31985@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Nicolas Goaziou skribis: > * gnu/packages/python-crypto.scm (python-pylibscrypt): Use "libscrypt" > implementation instead of "openssl". > > "hashlib.scrypt" requires Python 3.6+ and OpenSSL 1.1+. Since Python is built > with OpenSSL 1.0, the library is unavailable. "pylibscrypt" defaults to a slow > pure Python implementation. Instead, rely on the much faster "libscrypt". LGTM. Thanks! Ludo'. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 02 17:19:07 2018 Received: (at 31985) by debbugs.gnu.org; 2 Jul 2018 21:19:07 +0000 Received: from localhost ([127.0.0.1]:43990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa6Dy-0001rP-Q9 for submit@debbugs.gnu.org; Mon, 02 Jul 2018 17:19:06 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:35837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa6Dv-0001r6-L3 for 31985@debbugs.gnu.org; Mon, 02 Jul 2018 17:19:05 -0400 Received: from saiph (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id E021E100005; Mon, 2 Jul 2018 21:19:01 +0000 (UTC) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1fa6Ds-0001HS-TT; Mon, 02 Jul 2018 23:19:00 +0200 From: Nicolas Goaziou To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [bug#31985] [PATCH 1/2] gnu: Add libscrypt. In-Reply-To: <874lhhfybm.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 02 Jul 2018 17:32:13 +0200") References: <20180626222409.3351-1-mail@nicolasgoaziou.fr> <20180626223116.3448-1-mail@nicolasgoaziou.fr> <874lhhfybm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Mon, 02 Jul 2018 23:19:00 +0200 Message-ID: <87sh51tjy3.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Level: X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, ludo@gnu.org (Ludovic Courtès) writes: > Nicolas Goaziou skribis: > >> * gnu/packages/crypto.scm (libscrypt): New variable. > > [...] > >> + (home-page "https://lolware.net/libscrypt.html") >> + (synopsis "Scrypt shared library") > > What about “Password hashing library”? [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.1 RCVD_IN_MSPIKE_L4 RBL: Bad reputation (-4) [217.70.178.231 listed in bl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted X-Debbugs-Envelope-To: 31985 Cc: 31985@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, ludo@gnu.org (Ludovic Courtès) writes: > Nicolas Goaziou skribis: > >> * gnu/packages/crypto.scm (libscrypt): New variable. > > [...] > >> + (home-page "https://lolware.net/libscrypt.html") >> + (synopsis "Scrypt shared library") > > What about “Password hashing library”? [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.1 RCVD_IN_MSPIKE_L4 RBL: Bad reputation (-4) [217.70.178.231 listed in bl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hello, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Nicolas Goaziou skribis: > >> * gnu/packages/crypto.scm (libscrypt): New variable. > > [...] > >> + (home-page "https://lolware.net/libscrypt.html") >> + (synopsis "Scrypt shared library") > > What about =E2=80=9CPassword hashing library=E2=80=9D? OK. >> + (description "@code{libscrypt} implements @code{scrypt} >> +functionality, a replacement for @code{bcrypt}.") > > Could you expound just a little bit? OK. I used: @code{libscrypt} implements @code{scrypt} key derivation function. It is designed to be far more secure against hardware brute-force attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}. Let me know if that isn't enough (though I wouldn't know what to say in addition to the above). > OK with these changes, thanks! Applied. Thank you. Regards, --=20 Nicolas Goaziou 0x80A93738 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 02 17:19:31 2018 Received: (at 31985-done) by debbugs.gnu.org; 2 Jul 2018 21:19:31 +0000 Received: from localhost ([127.0.0.1]:43993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa6EN-0001s2-4B for submit@debbugs.gnu.org; Mon, 02 Jul 2018 17:19:31 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fa6EI-0001rr-Rd for 31985-done@debbugs.gnu.org; Mon, 02 Jul 2018 17:19:27 -0400 X-Originating-IP: 185.131.40.67 Received: from saiph (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5A00960003; Mon, 2 Jul 2018 21:19:25 +0000 (UTC) Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1fa6EG-0001HY-A9; Mon, 02 Jul 2018 23:19:24 +0200 From: Nicolas Goaziou To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [bug#31985] [PATCH 2/2] gnu: python-pylibscrypt: Improve speed. In-Reply-To: <87zhz9ejpr.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 02 Jul 2018 17:33:04 +0200") References: <20180626223116.3448-1-mail@nicolasgoaziou.fr> <20180626223116.3448-2-mail@nicolasgoaziou.fr> <87zhz9ejpr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Mon, 02 Jul 2018 23:19:24 +0200 Message-ID: <87o9fptjxf.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Level: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31985-done Cc: 31985-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Nicolas Goaziou skribis: > >> * gnu/packages/python-crypto.scm (python-pylibscrypt): Use "libscrypt" >> implementation instead of "openssl". >> >> "hashlib.scrypt" requires Python 3.6+ and OpenSSL 1.1+. Since Python is= built >> with OpenSSL 1.0, the library is unavailable. "pylibscrypt" defaults to = a slow >> pure Python implementation. Instead, rely on the much faster "libscrypt= ". > > LGTM. Thanks! Applied. Thank you. Regards, --=20 Nicolas Goaziou 0x80A93738 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 03 04:09:44 2018 Received: (at 31985) by debbugs.gnu.org; 3 Jul 2018 08:09:44 +0000 Received: from localhost ([127.0.0.1]:44377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faGNc-0004oJ-0a for submit@debbugs.gnu.org; Tue, 03 Jul 2018 04:09:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faGNa-0004nz-7t for 31985@debbugs.gnu.org; Tue, 03 Jul 2018 04:09:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faGNQ-0007jr-Po for 31985@debbugs.gnu.org; Tue, 03 Jul 2018 04:09:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faGNQ-0007jl-Lu; Tue, 03 Jul 2018 04:09:32 -0400 Received: from [193.50.110.150] (port=34362 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1faGNQ-0008TE-6e; Tue, 03 Jul 2018 04:09:32 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Nicolas Goaziou Subject: Re: [bug#31985] [PATCH 1/2] gnu: Add libscrypt. References: <20180626222409.3351-1-mail@nicolasgoaziou.fr> <20180626223116.3448-1-mail@nicolasgoaziou.fr> <874lhhfybm.fsf@gnu.org> <87sh51tjy3.fsf@nicolasgoaziou.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Messidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 03 Jul 2018 10:09:30 +0200 In-Reply-To: <87sh51tjy3.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 02 Jul 2018 23:19:00 +0200") Message-ID: <87woucivut.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31985 Cc: 31985@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello Nicolas, Nicolas Goaziou skribis: > OK. I used: > > @code{libscrypt} implements @code{scrypt} key derivation function. > It is designed to be far more secure against hardware brute-force > attacks than alternative functions such as @code{PBKDF2} or > @code{bcrypt}. > > Let me know if that isn't enough (though I wouldn't know what to say in > addition to the above). LGTM! The guiding principle should be to give enough context to someone who doesn=E2=80=99t know the package at all to get an idea of what this is about (info "(guix) Synopses and Descriptions"). Thank you, Ludo=E2=80=99. From unknown Fri Jun 20 07:20:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 31 Jul 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator