From patchwork Sat Oct 8 16:39:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 43217 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 B03C327BBEA; Sat, 8 Oct 2022 17:40:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 5E59827BBE9 for ; Sat, 8 Oct 2022 17:40:10 +0100 (BST) Received: from localhost ([::1]:52508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohCrx-0001zj-HG for patchwork@mira.cbaines.net; Sat, 08 Oct 2022 12:40:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohCrq-0001zL-7v for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohCrp-0004QL-Uy for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohCrp-0008Qn-Q0 for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58381] [PATCH 1/3] gnu: Add go-github-com-go-piv-piv-go. References: <87r0zil1bh.fsf@ngraves.fr> In-Reply-To: <87r0zil1bh.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Oct 2022 16:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58381 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.166524718732357 (code B ref 58381); Sat, 08 Oct 2022 16:40:01 +0000 Received: (at 58381) by debbugs.gnu.org; 8 Oct 2022 16:39:47 +0000 Received: from localhost ([127.0.0.1]:41330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCra-0008Pk-D7 for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:47 -0400 Received: from 13.mo561.mail-out.ovh.net ([188.165.33.202]:43923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCrV-0008PX-SP for 58381@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:44 -0400 Received: from player761.ha.ovh.net (unknown [10.110.171.54]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 23DBD24087 for <58381@debbugs.gnu.org>; Sat, 8 Oct 2022 16:39:39 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player761.ha.ovh.net (Postfix) with ESMTPSA id 143B22F7D76B5; Sat, 8 Oct 2022 16:39:37 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-107S00127e56177-59d9-4685-86f8-d50fbd3bb50a, 5F6F42330A353EE9EB4E9625E491D0CA375D2A9D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Sat, 8 Oct 2022 18:39:30 +0200 Message-Id: <20221008163932.15808-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 12090757626111451874 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeiledguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueeiheeftdegveefgeduieehieelteekveegjeejuddtfeetheelgedvheeltddunecuffhomhgrihhnpehprghnnhgvthhrrghtrdgtohhmpdhgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeeiuddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefkeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedu 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * gnu/packages/security-token.scm (go-github-com-go-piv-piv-go): New variable. --- gnu/packages/security-token.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 447a7a582d..3dc619ed4f 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,6 +45,7 @@ (define-module (gnu packages security-token) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system go) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system python) #:use-module (gnu packages autotools) @@ -967,3 +969,30 @@ (define-public cardpeek It also has limited support for Mifare Classic compatible cards (Thalys card)") (license license:gpl3+) (home-page "http://pannetrat.com/Cardpeek"))) + +(define-public go-github-com-go-piv-piv-go + (package + (name "go-github-com-go-piv-piv-go") + (version "1.10.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-piv/piv-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1j2szvvwgd0ysbap42rap4f60pj4smmmrxjlx0y131l3ki6v6gdm")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/go-piv/piv-go/piv" + #:unpack-path "github.com/go-piv/piv-go" + #:tests? #f)) + (native-inputs (list pkg-config)) + (propagated-inputs (list pcsc-lite)) + (home-page "https://github.com/go-piv/piv-go") + (synopsis "A Go YubiKey PIV implementation") + (description "YubiKeys implement the PIV specification for managing smart +card certificates. This package provides a simpler alternative to GPG for +managing asymmetric keys on a YubiKey.") + (license license:asl2.0))) From patchwork Sat Oct 8 16:39:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 43218 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 BEC7027BBEA; Sat, 8 Oct 2022 17:40:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,TVD_SPACE_RATIO autolearn=unavailable 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 6B66027BBE9 for ; Sat, 8 Oct 2022 17:40:25 +0100 (BST) Received: from localhost ([::1]:48672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohCsC-0002AX-KL for patchwork@mira.cbaines.net; Sat, 08 Oct 2022 12:40:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohCrq-0001zS-JV for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohCrq-0004QQ-AU for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohCrq-0008Qu-6J for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58381] [PATCH 2/3] gnu: Add go-github-com-twpayne-go-pinentry-minimal. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Oct 2022 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58381 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.166524718932369 (code B ref 58381); Sat, 08 Oct 2022 16:40:02 +0000 Received: (at 58381) by debbugs.gnu.org; 8 Oct 2022 16:39:49 +0000 Received: from localhost ([127.0.0.1]:41332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCrd-0008Q1-1m for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:49 -0400 Received: from 14.mo584.mail-out.ovh.net ([46.105.40.29]:56917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCrZ-0008Ph-P1 for 58381@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:46 -0400 Received: from player739.ha.ovh.net (unknown [10.109.143.232]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 3AA0E21C4F for <58381@debbugs.gnu.org>; Sat, 8 Oct 2022 16:39:43 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player739.ha.ovh.net (Postfix) with ESMTPSA id 61A272B6F599C; Sat, 8 Oct 2022 16:39:42 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G00656adb0cc-17f1-435a-90ab-80cc2a8862e5, 5F6F42330A353EE9EB4E9625E491D0CA375D2A9D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Sat, 8 Oct 2022 18:39:31 +0200 Message-Id: <20221008163932.15808-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221008163932.15808-1-ngraves@ngraves.fr> References: <20221008163932.15808-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12091883527128146658 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeiledguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejfeelrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheekfeekudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekge 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * gnu/packages/security-token.scm (go-github-com-twpayne-go-pinentry-minimal): New variable. --- gnu/packages/security-token.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 3dc619ed4f..af7325ee79 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -996,3 +996,28 @@ (define-public go-github-com-go-piv-piv-go card certificates. This package provides a simpler alternative to GPG for managing asymmetric keys on a YubiKey.") (license license:asl2.0))) + +(define-public go-github-com-twpayne-go-pinentry-minimal + (package + (name "go-github-com-twpayne-go-pinentry-minimal") + (version "0.0.0-20220113210447-2a5dc4396c2a") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/twpayne/go-pinentry-minimal") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1rzy0r8bf6qhfvymsg36db07pgrv10kn0yanc12ph73mg9rw2qgz")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/twpayne/go-pinentry-minimal/pinentry" + #:unpack-path "github.com/twpayne/go-pinentry-minimal")) + (home-page "https://github.com/twpayne/go-pinentry-minimal") + (synopsis "Pinentry client") + (description + "This package provides a minimal client to GnuPG's pinentry, +which only depends on Go's standard library. It is a fork of +@url{https://github.com/twpayne/go-pinentry}.") + (license license:expat))) From patchwork Sat Oct 8 16:39:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 43219 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 DCF0927BBEA; Sat, 8 Oct 2022 17:40:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 9907027BBE9 for ; Sat, 8 Oct 2022 17:40:43 +0100 (BST) Received: from localhost ([::1]:48096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohCsU-0002M8-Ob for patchwork@mira.cbaines.net; Sat, 08 Oct 2022 12:40:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohCrr-0001zb-1T for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohCrq-0004RZ-OC for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohCrq-0008R1-Jk for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58381] [PATCH 3/3] gnu: Add yubikey-agent. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Oct 2022 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58381 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.166524719132385 (code B ref 58381); Sat, 08 Oct 2022 16:40:02 +0000 Received: (at 58381) by debbugs.gnu.org; 8 Oct 2022 16:39:51 +0000 Received: from localhost ([127.0.0.1]:41335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCrf-0008QG-CC for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:51 -0400 Received: from 7.mo560.mail-out.ovh.net ([188.165.48.182]:56069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCrd-0008Pz-9Z for 58381@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:50 -0400 Received: from player728.ha.ovh.net (unknown [10.109.146.173]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 9B3A023C35 for <58381@debbugs.gnu.org>; Sat, 8 Oct 2022 16:39:47 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player728.ha.ovh.net (Postfix) with ESMTPSA id ED5F32F68899C; Sat, 8 Oct 2022 16:39:45 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-96R001f08b3068-46fa-4563-a7d4-5769e30c34e3, 5F6F42330A353EE9EB4E9625E491D0CA375D2A9D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Sat, 8 Oct 2022 18:39:32 +0200 Message-Id: <20221008163932.15808-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221008163932.15808-1-ngraves@ngraves.fr> References: <20221008163932.15808-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12093009425799373538 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeiledguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeehleefjeeutddvkefgveeuueelieeiteethfejudfhkeegfeegvdeggfektdeileenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhfihhlihhpphhordhiohenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjedvkedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefkeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedt 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * gnu/packages/security-token.scm (yubikey-agent): New variable. --- gnu/packages/security-token.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index af7325ee79..306d0b86e6 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -62,6 +62,7 @@ (define-module (gnu packages security-token) #:use-module (gnu packages graphviz) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang) #:use-module (gnu packages gtk) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) @@ -1021,3 +1022,34 @@ (define-public go-github-com-twpayne-go-pinentry-minimal which only depends on Go's standard library. It is a fork of @url{https://github.com/twpayne/go-pinentry}.") (license license:expat))) + +(define-public yubikey-agent + (let* ((commit "6d9db9c29100daacbe83e74653c79c94acc5958d") + (revision "1")) + (package + (name "yubikey-agent") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/yubikey-agent") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06y2qjq0m365sdl6inxzfnqyd346i5sgfis5crw2zmgsl1q5kdws")))) + (build-system go-build-system) + (arguments + '(#:import-path "filippo.io/yubikey-agent")) + (propagated-inputs + (list go-golang-org-x-term + go-golang-org-x-sys + go-golang-org-x-crypto + go-github-com-twpayne-go-pinentry-minimal + go-github-com-go-piv-piv-go + pcsc-lite)) + (native-inputs (list pkg-config)) + (home-page "https://filippo.io/yubikey-agent") + (synopsis "yubikey-agent") + (description "yubikey-agent is a seamless ssh-agent for YubiKeys.") + (license license:bsd-3))))