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))))