From patchwork Wed Nov 9 18:36:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 44409 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CA0F827BBEB; Wed, 9 Nov 2022 18:37:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DA33027BBE9 for ; Wed, 9 Nov 2022 18:37:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ospwe-0006y0-LM; Wed, 09 Nov 2022 13:37:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ospwc-0006xj-Sx for guix-patches@gnu.org; Wed, 09 Nov 2022 13:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ospwc-0007au-LK for guix-patches@gnu.org; Wed, 09 Nov 2022 13:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ospwc-0004rj-D1; Wed, 09 Nov 2022 13:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59154] [PATCH] gnu: Add python-xkcdpass. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Wed, 09 Nov 2022 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59154 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59154@debbugs.gnu.org Cc: Antero Mejr , lars@6xq.net X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: lars@6xq.net Received: via spool by submit@debbugs.gnu.org id=B.166801901918692 (code B ref -1); Wed, 09 Nov 2022 18:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Nov 2022 18:36:59 +0000 Received: from localhost ([127.0.0.1]:40877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ospwZ-0004rQ-0Y for submit@debbugs.gnu.org; Wed, 09 Nov 2022 13:36:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:44850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ospwW-0004rH-FQ for submit@debbugs.gnu.org; Wed, 09 Nov 2022 13:36:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ospwW-0006vx-AM for guix-patches@gnu.org; Wed, 09 Nov 2022 13:36:56 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ospwU-0007Xl-2O for guix-patches@gnu.org; Wed, 09 Nov 2022 13:36:56 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4N6twb2jPBz9scV for ; Wed, 9 Nov 2022 19:36:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1668019007; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Ukq1tbOGbWGRFA5jM4tP+TI2TNDako4SrGoKmSFQnJg=; b=XVgcP1sbuPgrOJqh23Ba7a6Io6FWOaDJl6G37Gt7tGFxzJtVMNQmeWVvLXO30v3Nq6Qj/3 QUgy/nds2KLOdNGHnMeIXB97fmiTA/0+DP/CU3P9Gkiy0VWeZr6w5tjsdlQwIsrxI8VmGr ST7GOiixiXKXoC5bgUPHpCLBdJ1gBENT9T7eczvzyGmcNgR5OirfVWm09MkHzWKE4my0V2 ts0vEitdwBb9l3fxCIV05lG1USyJLn31AFdaY3Cf/Cf8zqgcSF0lBqVybbzaqn/7wwwh5m CaEi3V5EF9FboNAOgI708YgNg8GV0M3ruoXqNUEegUygRR0hvOuO+TSDsgqaGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1668019005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Ukq1tbOGbWGRFA5jM4tP+TI2TNDako4SrGoKmSFQnJg=; b=jtcEvybRza53wnblVgMBD/spQQwswW5NFefmDSU/mDzoy6/f6ezVKQvb1Fo3BiVbeyDETq 4d8GvdWIFjdBPzPsTICRDnnk1v1HJHskcSaj2+Iu3EtX/p0r0MjSqQ3wYH5JXPlBN4JkuS BnYxscQ95Kx1xSSNO3pDXIFduBLD5f1IZnpdikE2zYMCHHl/e3d79l6h4/MAVTYMq3tbKp PfwLpwYBNL6cPj1UJRBe01fnL4XA0YXVefCUpXF+rL2gbJ8WI6JW97q6uLNLws6pYzfvb0 FxpYhlwgCzHtbt0WyqYYmqFoI4oKN9RcZ2Tr40tl6lP3xCYgG4iO/Q92hHFQtA== Date: Wed, 9 Nov 2022 18:36:21 +0000 Message-Id: <20221109183621.10818-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: zmqkmbn479z6chnyxdga5h1xyfcwmc9t X-MBO-RS-ID: 51f588a9ddf480e070a Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=antero@mailbox.org; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-crypto.scm (python-xkcdpass): New variable. --- gnu/packages/python-crypto.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index c9eb226d8a..cc94a08ed1 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1795,3 +1795,35 @@ (define-public python-zxcvbn in different situations. @end enumerate") (license license:expat))) + +(define-public python-xkcdpass + (package + (name "python-xkcdpass") + (version "1.19.3") + (home-page "https://github.com/redacted/XKCD-password-generator") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "xkcdpass-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xfrmx9k2vinlagv476rfcfdp41aix1ldy6qnzzx26n985gcyk7p")))) + (build-system python-build-system) + (synopsis + "Generate secure multiword passwords/passphrases, inspired by XKCD") + (description + "This package provides a flexible and scriptable password generator which +generates strong passphrases, inspired by +@url{https://xkcd.com/936/,XKCD 936}.") + (license (list license:bsd-3 ;code + license:cc0 ;spanish, eff_large_de, french word lists + license:cc-by-sa3.0 ;finnish, italian word list + license:lgpl2.0 ;finnish word list + license:eupl1.1 ;finnish word list + license:gpl3 ;ger-anix word list + license:cc-by-sa4.0 ;norwegian word list + license:gpl2 ;portuguese word list + license:lgpl2.1 ;portuguese word list + license:mpl1.1)))) ;portuguese word list