From patchwork Thu Jul 8 12:23:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 31233 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 5B2FB27BC81; Thu, 8 Jul 2021 13:26:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1138127BC78 for ; Thu, 8 Jul 2021 13:26:15 +0100 (BST) Received: from localhost ([::1]:33306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1T6b-0005Ke-Tr for patchwork@mira.cbaines.net; Thu, 08 Jul 2021 08:26:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1T5T-0004Iu-HJ for guix-patches@gnu.org; Thu, 08 Jul 2021 08:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1T5T-0007r3-6w for guix-patches@gnu.org; Thu, 08 Jul 2021 08:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1T5S-0005I2-Ix for guix-patches@gnu.org; Thu, 08 Jul 2021 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49464] [PATCH v2 1/3] gnu: python-fido2: Update to 0.9.1. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49464 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49464@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 49464-submit@debbugs.gnu.org id=B49464.162574707320267 (code B ref 49464); Thu, 08 Jul 2021 12:25:02 +0000 Received: (at 49464) by debbugs.gnu.org; 8 Jul 2021 12:24:33 +0000 Received: from localhost ([127.0.0.1]:54515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1T4o-0005Gd-SQ for submit@debbugs.gnu.org; Thu, 08 Jul 2021 08:24:33 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:8428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1T4m-0005G0-3H for 49464@debbugs.gnu.org; Thu, 08 Jul 2021 08:24:21 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (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-103.mailbox.org (Postfix) with ESMTPS id 4GLFpQ3tR8zQk3f; Thu, 8 Jul 2021 14:24:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=MBO0001; t=1625747052; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NJBNkbTBQQZ/LYa5xa9+51riflYpz6HywQRUckJuEcA=; b=oYB6zWECUMMPLx0EPgFVI5WzvnVkklCRmV/eZK2P3mT+xo9qRggzEjMta/i41evW2LrVcI fMDYMhtuvQ5EePoX3lWdGqNymSv7pfwUoO/zhwMEJVWMWLx2ZNtd5iMRSSfspUl00MJG6Q ArpCJmZZLK7p+mMvvJy+LYUScHhDylvLMu279AKPoMNlCNnZd9Uklb7nPdLi+bPvZb0PcV LDCHWFN4WjzrkL8csoCayLHXtirQGld7WIcqUm7ucumJtG+dGHOjScKqesFsd1Bk28Gi2G 5gMbmeuod3DkpfXqEZCA9C0CkCv9WDO7/zhOiwHl+9DG2cUb3/QFjb3icQ7JgA== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id XI1bv_m3GDxn; Thu, 8 Jul 2021 14:24:11 +0200 (CEST) Date: Thu, 8 Jul 2021 17:53:18 +0530 Message-Id: <20210708122320.23196-2-contact@dhruvin.dev> In-Reply-To: <20210708122320.23196-1-contact@dhruvin.dev> References: <20210708111526.18658-1-contact@dhruvin.dev> <20210708122320.23196-1-contact@dhruvin.dev> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -7.63 / 15.00 / 15.00 X-Rspamd-Queue-Id: 65B411857 X-Rspamd-UID: 86dd8a 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches X-Patchwork-Original-From: Dhruvin Gandhi via Guix-patches via From: Dhruvin Gandhi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/security-token.scm (python-fido2): Update to 0.9.1. --- gnu/packages/security-token.scm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index f8c9661df1..5ee3cb83f0 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Raphaël Mélotte ;;; Copyright © 2021 Antero Mejr ;;; Copyright © 2021 Sergey Trofimov +;;; Copyright © 2021 Dhruvin Gandhi ;;; ;;; This file is part of GNU Guix. ;;; @@ -593,7 +594,7 @@ your existing infrastructure.") (define-public python-fido2 (package (name "python-fido2") - (version "0.5.0") + (version "0.9.1") (source (origin (method url-fetch) (uri @@ -602,10 +603,21 @@ your existing infrastructure.") version "/fido2-" version ".tar.gz")) (sha256 (base32 - "1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3")) + "0vpyknka7wa4jl1xhvhli48wk70dih7hm45kdrchf8wf4cjyx046")) + (modules '((guix build utils))) (snippet - ;; Remove bundled dependency. - #~(delete-file "fido2/public_suffix_list.dat")))) + #~(begin + ;; Remove bundled dependency. + (delete-file "fido2/public_suffix_list.dat") + ;; Upstream: To be deleted in the next release. + (delete-file "fido2/nfc.py") + ;; Remove unused platform code. + (delete-file "fido2/hid/freebsd.py") + (delete-file "fido2/hid/macos.py") + (delete-file "fido2/hid/openbsd.py") + (delete-file "fido2/hid/windows.py") + ;; See https://bugs.python.org/issue16396. + (delete-file "fido2/win_api.py"))))) (build-system python-build-system) (arguments `(#:phases @@ -621,7 +633,8 @@ your existing infrastructure.") #t))))) (propagated-inputs `(("python-cryptography" ,python-cryptography) - ("python-six" ,python-six))) + ("python-six" ,python-six) + ("python-pyscard" ,python-pyscard))) (native-inputs `(("python-mock" ,python-mock) ("python-pyfakefs" ,python-pyfakefs)