From patchwork Sun Oct 23 09:03:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 43944 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 69AEA27BBEA; Mon, 24 Oct 2022 04:17:46 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 9CA3227BBE9 for ; Mon, 24 Oct 2022 04:17:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omlCE-0008Fp-Je for patchwork@mira.cbaines.net; Sun, 23 Oct 2022 20:20:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omWtm-0007Au-BX for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omWtm-0001Mu-0S for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omWtl-0001Ri-SF for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04: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: Sun, 23 Oct 2022 09:04: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: moreinfo To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.16665158265517 (code B ref 58381); Sun, 23 Oct 2022 09:04:01 +0000 Received: (at 58381) by debbugs.gnu.org; 23 Oct 2022 09:03:46 +0000 Received: from localhost ([127.0.0.1]:42837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtV-0001Qq-Ok for submit@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:46 -0400 Received: from 8.mo581.mail-out.ovh.net ([46.105.77.114]:41261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtS-0001Qd-9E for 58381@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:45 -0400 Received: from player770.ha.ovh.net (unknown [10.109.143.3]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 26B9821A9D for <58381@debbugs.gnu.org>; Sun, 23 Oct 2022 09:03:38 +0000 (UTC) Received: from ngraves.fr (unknown [80.215.87.216]) (Authenticated sender: ngraves@ngraves.fr) by player770.ha.ovh.net (Postfix) with ESMTPSA id 4F5BF300A45F8; Sun, 23 Oct 2022 09:03:37 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-103G0059553aa10-c901-4880-8a69-82d04ac60199, 0CD24D3AC26E8C41D5695D95FFCA27897E3E9F1F) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.87.216 Date: Sun, 23 Oct 2022 11:03:31 +0200 Message-Id: <20221023090333.29383-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 246009132632105698 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtvddgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeuieehfedtgeevfeegudeiheeileetkeevgeejjedutdefteehleegvdehledtudenucffohhmrghinhepphgrnhhnvghtrhgrthdrtghomhdpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrkeejrddvudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefkeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedupdhmohguvgepshhmthhpohhuth 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..a286f7a631 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)) + (inputs (list pcsc-lite)) + (native-inputs (list pkg-config)) + (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 Sun Oct 23 09:03: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: 44054 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 EA31927BBEA; Mon, 24 Oct 2022 06:58:17 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 7264927BBE9 for ; Mon, 24 Oct 2022 06:58:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omlCM-0008IG-90 for patchwork@mira.cbaines.net; Sun, 23 Oct 2022 20:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omWtm-0007B0-PA for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omWtm-0001My-Dz for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omWtm-0001Rp-9j for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04: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: Sun, 23 Oct 2022 09:04: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: moreinfo To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.16665158335537 (code B ref 58381); Sun, 23 Oct 2022 09:04:02 +0000 Received: (at 58381) by debbugs.gnu.org; 23 Oct 2022 09:03:53 +0000 Received: from localhost ([127.0.0.1]:42840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtd-0001RE-5K for submit@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:53 -0400 Received: from 17.mo584.mail-out.ovh.net ([46.105.41.16]:53733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtU-0001Qi-2m for 58381@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:45 -0400 Received: from player715.ha.ovh.net (unknown [10.110.103.41]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 6224B2391F for <58381@debbugs.gnu.org>; Sun, 23 Oct 2022 09:03:42 +0000 (UTC) Received: from ngraves.fr (unknown [80.215.87.216]) (Authenticated sender: ngraves@ngraves.fr) by player715.ha.ovh.net (Postfix) with ESMTPSA id 90DF92FD8D992; Sun, 23 Oct 2022 09:03:40 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R0029f816c11-daff-4cb4-830f-230c2fce3a92, 0CD24D3AC26E8C41D5695D95FFCA27897E3E9F1F) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.87.216 Date: Sun, 23 Oct 2022 11:03:32 +0200 Message-Id: <20221023090333.29383-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221023090333.29383-1-ngraves@ngraves.fr> References: <20221023090333.29383-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 247135032515158754 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtvddgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedtrddvudehrdekjedrvdduieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheekfeekudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht 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 a286f7a631..78a6388006 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 Sun Oct 23 09:03:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 44014 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 C86C727BBEA; Mon, 24 Oct 2022 05:48:03 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 64BD327BBE9 for ; Mon, 24 Oct 2022 05:48:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omlCY-0008Kx-Ak for patchwork@mira.cbaines.net; Sun, 23 Oct 2022 20:20:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omWtn-0007B8-4y for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omWtm-0001N9-St for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omWtm-0001Rw-OC for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04: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: Sun, 23 Oct 2022 09:04: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: moreinfo To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.16665158335543 (code B ref 58381); Sun, 23 Oct 2022 09:04:02 +0000 Received: (at 58381) by debbugs.gnu.org; 23 Oct 2022 09:03:53 +0000 Received: from localhost ([127.0.0.1]:42842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtd-0001RG-GG for submit@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:53 -0400 Received: from 9.mo561.mail-out.ovh.net ([87.98.184.141]:58521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtZ-0001R4-Hx for 58381@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:50 -0400 Received: from player693.ha.ovh.net (unknown [10.111.208.229]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 84BD923231 for <58381@debbugs.gnu.org>; Sun, 23 Oct 2022 09:03:46 +0000 (UTC) Received: from ngraves.fr (unknown [80.215.87.216]) (Authenticated sender: ngraves@ngraves.fr) by player693.ha.ovh.net (Postfix) with ESMTPSA id A957E2FF7EC1F; Sun, 23 Oct 2022 09:03:43 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-95G00156ccc1c3-ea3e-4d1f-9d6b-803175731f7f, 0CD24D3AC26E8C41D5695D95FFCA27897E3E9F1F) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.87.216 Date: Sun, 23 Oct 2022 11:03:33 +0200 Message-Id: <20221023090333.29383-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221023090333.29383-1-ngraves@ngraves.fr> References: <20221023090333.29383-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 248260930944492258 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtvddgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepheelfeejuedtvdekgfevueeuleeiieettefhjeduhfekgeefgedvgefgkedtieelnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpfhhilhhiphhpohdrihhonecukfhppeduvdejrddtrddtrddupdektddrvdduhedrkeejrddvudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefkeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth 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 78a6388006..a6782804fd 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")) + (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))))