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 YIyWNsT6hF++SAAA0tVLHw (envelope-from ) for ; Tue, 13 Oct 2020 00:54:28 +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 QKdeMsT6hF/odAAAB5/wlQ (envelope-from ) for ; Tue, 13 Oct 2020 00:54:28 +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 9FC1F9401D0 for ; Tue, 13 Oct 2020 00:54:28 +0000 (UTC) Received: from localhost ([::1]:54314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kS8aB-0001Um-Ju for larch@yhetil.org; Mon, 12 Oct 2020 20:54:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kS8Zm-0001Iw-Qn for guix-patches@gnu.org; Mon, 12 Oct 2020 20:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kS8Zm-0007qe-I9 for guix-patches@gnu.org; Mon, 12 Oct 2020 20:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kS8Zm-00039a-Gu for guix-patches@gnu.org; Mon, 12 Oct 2020 20:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43970] [PATCH 2/5] gnu: Add python-pyotp. References: <20201013004738.23495-1-monego@posteo.net> In-Reply-To: <20201013004738.23495-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Oct 2020 00:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43970 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43970@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43970-submit@debbugs.gnu.org id=B43970.160255043012075 (code B ref 43970); Tue, 13 Oct 2020 00:54:02 +0000 Received: (at 43970) by debbugs.gnu.org; 13 Oct 2020 00:53:50 +0000 Received: from localhost ([127.0.0.1]:44452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS8Za-00038h-Cn for submit@debbugs.gnu.org; Mon, 12 Oct 2020 20:53:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS8ZX-00038R-KW for 43970@debbugs.gnu.org; Mon, 12 Oct 2020 20:53:48 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4142516005C for <43970@debbugs.gnu.org>; Tue, 13 Oct 2020 02:53:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1602550421; bh=nIOcT4h3ZUL7byRrXJrodDXHtKOUxf0K5oxD5GFuHRE=; h=From:To:Cc:Subject:Date:From; b=eqq8p/HXaBV1YimZdKZmJzEgGS2SUz+9BF69/97oOexiMXpqQMC2ZN5lmHsPMUmGg /cmz0KkKnNo7BVrGdVWeL71NCIoAzyJ2/lV8epv5i0+B0VXK8wMgXohz82dNukak7K a+PZt6LMfVqR+hMW7Uaj0mRpcE8nzIPw+SFwLL932EQvsKkVh18DJk9rcPlSl4D9P3 DcAGVHODlelxePUj6YOagMJHD2ep0uK+y6FHl4mPPGjKdekM7sS6sZ6pnVIwO7Rvse 9YldeeaYaIkVR8mTWOGGdJVaZVT7nCLZc8dzzYXZ3YX7cwe/Gx03oo6KezMoyuhgMw +Lufpe8CLOOtw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4C9H9H5Vmbz6tmF; Tue, 13 Oct 2020 02:53:39 +0200 (CEST) From: Vinicius Monego Date: Mon, 12 Oct 2020 21:53:22 -0300 Message-Id: <20201013005325.23880-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=eqq8p/HX; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Score: 5.09 X-TUID: sbBnrS9Mt5MN * gnu/packages/python-crypto.scm (python-pyotp): New variable. --- gnu/packages/python-crypto.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index b01f5bb173..f0cde74128 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1181,6 +1181,26 @@ been constructed to maintain extensive documentation on how to use @code{NaCl} as well as being completely portable.") (license license:asl2.0))) +(define-public python-pyotp + (package + (name "python-pyotp") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyotp" version)) + (sha256 + (base32 "0a1dx07y785xyl70h0vj6vssg13qfx11w04d0gz8h48qffsymv01")))) + (build-system python-build-system) + (home-page "https://github.com/pyauth/pyotp") + (synopsis "Python One Time Password Library") + (description + "PyOTP is a Python library for generating and verifying one-time +passwords. It can be used to implement two-factor (2FA) or multi-factor +(MFA) authentication methods in web applications and in other systems that +require users to log in.") + (license license:expat))) + (define-public python-scrypt (package (name "python-scrypt") -- 2.20.1