From patchwork Thu Jul 8 11:21:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 31232 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 F220D27BC81; Thu, 8 Jul 2021 12:23:08 +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 B358A27BC78 for ; Thu, 8 Jul 2021 12:23:08 +0100 (BST) Received: from localhost ([::1]:56612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1S7X-0005ZB-Qr for patchwork@mira.cbaines.net; Thu, 08 Jul 2021 07:23:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1S7S-0005Z0-9x for guix-patches@gnu.org; Thu, 08 Jul 2021 07:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1S7S-000635-2n for guix-patches@gnu.org; Thu, 08 Jul 2021 07:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1S7R-0001Z9-Rx for guix-patches@gnu.org; Thu, 08 Jul 2021 07:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49464] [PATCH 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 11:23:01 +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.16257433255953 (code B ref 49464); Thu, 08 Jul 2021 11:23:01 +0000 Received: (at 49464) by debbugs.gnu.org; 8 Jul 2021 11:22:05 +0000 Received: from localhost ([127.0.0.1]:54438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1S6S-0001XL-LQ for submit@debbugs.gnu.org; Thu, 08 Jul 2021 07:22:05 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:28036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1S6K-0001WZ-5X for 49464@debbugs.gnu.org; Thu, 08 Jul 2021 07:21:59 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (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 4GLDQL0FxTzQk8k; Thu, 8 Jul 2021 13:21:46 +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=1625743304; 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: in-reply-to:in-reply-to:references:references; bh=5fcIbzTjXjhVyRWmP6iO3Y28XJZDd9f8UGyYZQZFYf4=; b=PrKwuKU734K4QEN+Y7o+MhLJPBjEuajVqU2IdsoRWsJYaoVJxPl9BYQOiNMOLtxicw/+Nr 1T6Riwbph00CNA3/AHHghdE+PA4guLbTaZUzJIFRY/J3/gj0BjQQ8g9iBjB/qkI+V7Dfhr ZcZ7lbCMbCkNEq52t9fnTJf+l0+Q6NxfX5GOfcV2F3sLSnFcHFWVIaM4Id+EyN4HLInxOA 1V6H5tecu/NXYkNJXhedd/vnsg1uTAhoQpHth8aM9eaOZ9bwz3eT5PgmXlITo8Ar2kgqaN AHmqKwIC8wQlKTPG87VPEixcg1fTKYE5Eun0TTItL20Soulu+yPb5z8jCl4kDg== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id 4GKBmzeEydVr; Thu, 8 Jul 2021 13:21:42 +0200 (CEST) Date: Thu, 8 Jul 2021 16:51:15 +0530 Message-Id: <20210708112117.19368-1-contact@dhruvin.dev> In-Reply-To: <20210708111526.18658-1-contact@dhruvin.dev> References: <20210708111526.18658-1-contact@dhruvin.dev> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -0.24 / 15.00 / 15.00 X-Rspamd-Queue-Id: D1547181E X-Rspamd-UID: bcc777 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 | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index f8c9661df1..4c844bc46b 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -593,7 +593,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 +602,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 +632,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)