From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UMP6ALhJB19mfgAA0tVLHw (envelope-from ) for ; Thu, 09 Jul 2020 16:45:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yEFjOLdJB1/qJQAAB5/wlQ (envelope-from ) for ; Thu, 09 Jul 2020 16:45:43 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A0B009401D0 for ; Thu, 9 Jul 2020 16:45:43 +0000 (UTC) Received: from localhost ([::1]:55716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtZHV-0001vq-OW for larch@yhetil.org; Thu, 09 Jul 2020 12:20:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtZHI-0001WG-CI for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtZHI-0003Ld-1Z for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtZHH-0007xq-UM for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42297] [PATCH 07/10] gnu: Add python-zxcvbn. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Jul 2020 16:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42297 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42297@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 42297-submit@debbugs.gnu.org id=B42297.159431159530532 (code B ref 42297); Thu, 09 Jul 2020 16:20:03 +0000 Received: (at 42297) by debbugs.gnu.org; 9 Jul 2020 16:19:55 +0000 Received: from localhost ([127.0.0.1]:41533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtZH8-0007wB-AT for submit@debbugs.gnu.org; Thu, 09 Jul 2020 12:19:54 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtZH5-0007ui-NJ for 42297@debbugs.gnu.org; Thu, 09 Jul 2020 12:19:51 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2BD6616005C for <42297@debbugs.gnu.org>; Thu, 9 Jul 2020 18:19:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1594311586; bh=PX5NNmCOfZJ1HsqfRD2U8IpleX7pvhkFG7ukR/WBMYE=; h=From:To:Cc:Subject:Date:From; b=kHLW4ogpfYEqMJL4RP18pNk/kEdDNYATReXpOBWevan5xWmAg9qeZf3vIiQx3Mxs2 tlM1FfVinkZvILxjy3UZ8YT2hZrpzJD7Xc2b9l5963Yh/dhL6sNS3SJP+zDzKAEYKT aEDwrKRjkovNfKcnlFEWQxXbvrFcjmx4Axl0VQC+eJSKdxu0uXdcN7fDEh2m7+x8tT /a6nDYRZcsCd44ZRk+li0MlnZFc1btOFl7Ni1Ylu7vYzKawJamoZuNLzP1j8/KG5ne PWXsjG4UFUfTj5C6eN8aUGxhrYeBkjXmwtxEo450mg5JEWbpYp82Tdq4lTSfHd0j/2 gxJE1wbPBZsDg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B2hG95Z9Pz9rxP; Thu, 9 Jul 2020 18:19:45 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Thu, 9 Jul 2020 22:19:15 +0300 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 9.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.ro header.s=2017 header.b=kHLW4ogp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.ro (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam: Yes X-TUID: 5oNIweE+wN+F * gnu/packages/python-xyz.scm (python-zxcvbn): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b3dddc57c1..e6a11182a1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20582,3 +20582,33 @@ diff data.") of emails that are part of the same thread and it'll build a tree of responses to the original message.") (license license:expat))) + +(define-public python-zxcvbn + (package + (name "python-zxcvbn") + (version "4.4.28") + (source + (origin + (method url-fetch) + (uri (pypi-uri "zxcvbn" version)) + (sha256 + (base32 + "1hbxxxsylwv8zghkpji06gm3flgq8hsv2m63cj85wr3yh4bdh6qm")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page + "https://github.com/dwolfhub/zxcvbn-python") + (synopsis "Realistic password strenght estimator") + (description + "Zxcvbn is realistic password strength estimator. Some of its +features are: +@enumerate +@item Accepts user data to be added to the dictionaries that are tested + against (name, birthdate, etc) +@item Gives a score to the password, from 0 (terrible) to 4 (great) +@item Provides feedback on the password and ways to improve it +@item Returns time estimates on how long it would take to guess the + password in different situations +@end enumerate\n") + (license license:expat))) -- 2.27.0