From patchwork Thu Jul 8 11:15:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 217 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 3923627BC81; Thu, 8 Jul 2021 12:17:20 +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 E88E827BC78 for ; Thu, 8 Jul 2021 12:17:19 +0100 (BST) Received: from localhost ([::1]:53416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1S1u-0003DG-TX for patchwork@mira.cbaines.net; Thu, 08 Jul 2021 07:17:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1S1f-0003Bl-8h for guix-patches@gnu.org; Thu, 08 Jul 2021 07:17:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1S1e-0005L9-Ne for guix-patches@gnu.org; Thu, 08 Jul 2021 07:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1S1e-0001PH-Bp for guix-patches@gnu.org; Thu, 08 Jul 2021 07:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49464] [PATCH 0/3] Update yubikey-manager to version 4.0.3. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 11:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49464 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49464@debbugs.gnu.org Cc: Dhruvin Gandhi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16257430095381 (code B ref -1); Thu, 08 Jul 2021 11:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2021 11:16:49 +0000 Received: from localhost ([127.0.0.1]:54424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1S1R-0001Oj-5A for submit@debbugs.gnu.org; Thu, 08 Jul 2021 07:16:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:40704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1S1O-0001Ob-Kd for submit@debbugs.gnu.org; Thu, 08 Jul 2021 07:16:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1S1O-00033e-D6 for guix-patches@gnu.org; Thu, 08 Jul 2021 07:16:46 -0400 Received: from mout-p-101.mailbox.org ([2001:67c:2050::465:101]:58072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1m1S1M-0005Aq-7X for guix-patches@gnu.org; Thu, 08 Jul 2021 07:16:46 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (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-101.mailbox.org (Postfix) with ESMTPS id 4GLDJP6GMJzQjhn; Thu, 8 Jul 2021 13:16:37 +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=1625742996; 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=THi/0mJm+xjIfcDntMJsSPYZlHPF6Yx/l3MqyK0HEsg=; b=nCF+XXO78pcvu9JWg5HMqCUNssy5yIW3HmgHUSOvSvAll43KwZN6ScwhubbxdNrLjAa19R Nxpmct5A9epJM3YRRZMQixMOnrj/Q3zfdkNoMlKDc5zu+1Z49jwaRq50bI/fvKDZxIzlaR DQR7vkIyFlFUgefwsn4/YFaFR2/0jiCra+K8rQ9UfmTNAy3IZjanSRPJk2YpHWGHN+O55X CGySj/CLSXoF+G5JXHpt/WDiOGVDwYw+DdumQ185x3jsumwhtWwH6jBe7lu8i0JZoYEav1 BgX0AK7+IJ8A+QEgBLa+paPrnPYSpqEpXbLVYtLJSHoNP0K3ryTakntDkwM85w== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id XXVIKYKTk4il; Thu, 8 Jul 2021 13:16:31 +0200 (CEST) Date: Thu, 8 Jul 2021 16:45:26 +0530 Message-Id: <20210708111526.18658-1-contact@dhruvin.dev> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -4.74 / 15.00 / 15.00 X-Rspamd-Queue-Id: 0A2541893 X-Rspamd-UID: 5eff60 Received-SPF: pass client-ip=2001:67c:2050::465:101; envelope-from=contact@dhruvin.dev; helo=mout-p-101.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: , 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 Notes: I tried using this package with my Yubikey 5. All applications seem to be working. There are two caveats: 1. gpg-agent must be stopped for some applications to be able to talk to the smartcard. 2. It tries to use /use/bin/pkill to kill scdaemon when it can't access the smartcard on Yubikey. pkill is not present in guix system at that path. Unfortunately, I don't know how to fix it in guix way. Any help is welcome. Notes on fido2: fido2 is quite an experimental package. I sent a patch fixing nfc.py to upstream. They suggested that the file should just be ignored/deleted for now, and the next upstream release won't have it in source. I removed OS specific code, other than linux. Some of the files caused build to fail. Notes on makefun: Tests of makefun require two packages dependent on each-other (besides requiring various other packages). As of now, in guix, makefun is just used for the tests of yubikey-manager. Notes on yubikey-manager. It uses poetry to build and install the package. Poetry requires internet, although offline installation is requests on the poetry issue tracker. I'm unfamiliar with the poetry build process but I assume python-build-system can work just as fine. I removed windows and macos specific code. Tests would fail otherwise. Dhruvin Gandhi (3): gnu: python-fido2: Update to 0.9.1. gnu: Add python-makefun. gnu: python-yubikey-manager: Update to 4.0.3. gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++ gnu/packages/security-token.scm | 35 +++++++++++++++++++++++++-------- 2 files changed, 54 insertions(+), 8 deletions(-) base-commit: 49e2e75ced01a821c84eb776cf42a36664eaa834