From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6L9FEoEwmGGqRAAAgWs5BA (envelope-from ) for ; Sat, 20 Nov 2021 00:17:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wE7tDYEwmGFGcAAAB5/wlQ (envelope-from ) for ; Fri, 19 Nov 2021 23:17:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB432DA99 for ; Sat, 20 Nov 2021 00:17:20 +0100 (CET) Received: from localhost ([::1]:33682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moD8C-0003mW-4T for larch@yhetil.org; Fri, 19 Nov 2021 18:17:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moD7v-0003mF-Dy for guix-patches@gnu.org; Fri, 19 Nov 2021 18:17:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moD7v-0000Y3-4e for guix-patches@gnu.org; Fri, 19 Nov 2021 18:17:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moD7u-0007Dl-Id for guix-patches@gnu.org; Fri, 19 Nov 2021 18:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51989] [PATCH 01/12] gnu: Add go-keyring References: <87lf1j4u2n.fsf@rekahsoft.ca> In-Reply-To: <87lf1j4u2n.fsf@rekahsoft.ca> Resent-From: "Collin J. Doering" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Nov 2021 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51989@debbugs.gnu.org Received: via spool by 51989-submit@debbugs.gnu.org id=B51989.163736377827675 (code B ref 51989); Fri, 19 Nov 2021 23:17:02 +0000 Received: (at 51989) by debbugs.gnu.org; 19 Nov 2021 23:16:18 +0000 Received: from localhost ([127.0.0.1]:40766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moD76-0007CD-PT for submit@debbugs.gnu.org; Fri, 19 Nov 2021 18:16:18 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:46619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moD74-0007Bv-NP for 51989@debbugs.gnu.org; Fri, 19 Nov 2021 18:16:11 -0500 Received: by mail-qt1-f182.google.com with SMTP id m25so10934731qtq.13 for <51989@debbugs.gnu.org>; Fri, 19 Nov 2021 15:16:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=G/i/fsaK25E5I72zkswanVhYYYnmPfpSNvWuv1GVxMM=; b=cd9JfgxUPlqrUy6iU3VTxMny2R9RgkJwHR/DC/bznSC2WfItwTnW5tZVO8tSLquxka w9s/Qn3BpEUz87DQGa54XHLdBfO35WZWpiNEelwzlIBpcCP8iN8tEdwEivwcKLjEPMA0 XswUmnWRkBcewHfTZur9jYRBFbHnsImHUqzIvlu8bnPSxySf/PZobMHT01VIIJ2TfB5I 58Hq+qXdyyKnJ/ny+nBN7g9oa/YPWJ1pRaR9RkoLcLUZxP5ageZN3poIUx6TAwZw98FT WKNui3imSBWOHQP2pMxmt0ejPvcQU9khZjCkMBGW69pd+oujeRRUJHOaQCRvltJ4nKV6 UScA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=G/i/fsaK25E5I72zkswanVhYYYnmPfpSNvWuv1GVxMM=; b=SMri5GxviaGf6xfQi9bcO7VvG1y71SxHrpZyPKp/ITB6orfJW+XyVzSxM9YqNlzz/M 4hnIEclwFqfY4dtIX0ilI1wgPPrc9R0eIk7/aPEKDPuglFeI9ogess+dKVz6QumdLy99 RXYV0vkSt4hs/CWJslJb9ySnI+q+dy1ZXVTzS+FQ/U1kKt6EQgfnU+ovoU3wlAOnTmQA fcWRfgapNLed+AKbv6bcKjdAgkLQK1YnMj1n0idhOBWsAtQQNqU2Vg6PGrfTkVb2QiMn jvcU0cL3u3iGMuAehmvRHOpDhMkFBbxWzrcQSZU8gYmi7iJH1HlfgLBtcxiidvWXpuCb qUmg== X-Gm-Message-State: AOAM53258GC5KkexxbzErid2AmJJV/3kKW6hEWcp+eSx8J+OMYfwR9IU Rg04MECZBqeP+LzRbsJIUt29+oJr4BfA5A== X-Google-Smtp-Source: ABdhPJwvLMyM3X4RRBcwtbr8TLpp0ZSfLUvWjFmUcM4xlnL2I9dv1bLSdsyoI9IOwxTj8EGRmbUEkA== X-Received: by 2002:a05:622a:2cc:: with SMTP id a12mr10576494qtx.101.1637363764857; Fri, 19 Nov 2021 15:16:04 -0800 (PST) Received: from rekahsoft-work (cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com. [99.255.210.233]) by smtp.gmail.com with ESMTPSA id j20sm628139qtj.43.2021.11.19.15.16.04 for <51989@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Nov 2021 15:16:04 -0800 (PST) User-agent: mu4e 1.6.10; emacs 27.2 From: "Collin J. Doering" Date: Fri, 19 Nov 2021 18:15:17 -0500 Message-ID: <87h7c74tzg.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637363841; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=G/i/fsaK25E5I72zkswanVhYYYnmPfpSNvWuv1GVxMM=; b=dGDzho28KODWLOVmbD/fbYC7oxsyt0S/IfwiaXn2ILF09LkaoMAoufQ+/22c2T15W6rb54 rqY/KFbNrtuTgpkj7j3HVx1EeTUOfAqtZXBA8PabE30VwE+po1YA3/EPWlRJmlCbTL8t7U M9+MC7hmR0xOftIYLY/bFwWhIIYFvGexHLyhXUbFF5f6m6gXSwGxOvQ3FEX89JoA6YTWmm NTh3QyGrhvW/DhJd8x1wj3tKv5376i34vowXn5F7shF8bLx1QgYdQEZyxLK7dsCqR9mHj5 7jE/KN6E1fUk7mFUM/0dKWqFk1EJzp9QkO07dlqB9K9y4jL7J65+AWhLeFeXWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637363841; a=rsa-sha256; cv=none; b=q125bRIvACVsz1JPZMxul6VGYwHqrVcHtF9W7wHVhbfrbrax0uTYD4fcCgFgQzJTWVPgNI 0CRnIZNTQiQs5Ay4CnOnGBecgFSLZ7sLv09ypOWBEdVRE20MiRJ4vrvgU9aXlG4E2qr4oB 3YzTnb4Qqv6VJpFb25J74oQVRqDy1KmBzDnWFGO0d5M3E4IDC/sBvg1cj6wvREGKPv+9vQ RCfGi+CZSg+77a6hoMQYPLuzT69+QbDFq9tz2bbSBfMp0HHDUTfzV7t5G3z1C2vKCzbIQh vMF0d+UvA3X0OsvDHDdnnujWfJe4o6er+d4iqRyiCQVmAxrQhyVtKsOmSEXWUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rekahsoft.ca header.s=google header.b=cd9JfgxU; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rekahsoft.ca header.s=google header.b=cd9JfgxU; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DB432DA99 X-Spam-Score: -1.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: ADYiSzqoKuPk --- gnu/packages/golang.scm | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index cc2a4ebc16..9d7b4e6d02 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -63,8 +63,10 @@ (define-module (gnu packages golang) #:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker)) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) + #:use-module (gnu packages gnupg) #:use-module (gnu packages lua) #:use-module (gnu packages mp3) + #:use-module (gnu packages password-utils) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -8839,3 +8841,45 @@ (define-public go-gopkg-in-djherbis-times-v1 (description "Provides a platform-independent way to get atime, mtime, ctime and btime for files.") (license license:expat))) +(define-public go-keyring + (package + (name "go-keyring") + (version "v1.1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/99designs/keyring") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08rcdqpxaa9n348q10fw40q4gxpjajkyrighykk71i7mxzwkcgwn")))) + (build-system go-build-system) + (native-inputs + `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto) + ("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-github-com-percent" ,go-github-com-percent) + ("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir) + ("go-github-com-dvsekhvalnov-jose2go" ,go-github-com-dvsekhvalnov-jose2go) + ("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus) + ("go-github-com-go-libsecret" ,go-github-com-go-libsecret) + ("password-store" ,password-store) + ("gnupg" ,gnupg))) + (arguments + '(#:import-path "github.com/99designs/keyring" + #:phases (modify-phases %standard-phases + ;; Tests require vagrant + (delete 'check)))) + (synopsis "Go library providing a uniform interface for various secure +credential stores") + (description + "Keyring provides utility functions for and a common interface to a range +of secure credential storage services. Originally developed as part of AWS +Vault, a command line tool for securely managing AWS access from developer +workstations. + +Currently Keyring supports the following backends: macOS/OSX Keychain, Windows +pcredential store, Pass, Secret Service, KDE Wallet, Encrypted File.") + (home-page "https://github.com/99designs/keyring") + (license license:expat))) + -- 2.33.1 -- Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca