From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KJs9MX19JGYTAgEAqHPOHw:P1 (envelope-from ) for ; Sun, 21 Apr 2024 04:44:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KJs9MX19JGYTAgEAqHPOHw (envelope-from ) for ; Sun, 21 Apr 2024 04:44:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713667453; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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; bh=pk/z5bAwseEXj0WpqLTBO5Y9EI6Q6VnK/N1sKIbdzUg=; b=kihRQykEn0fH7J6S6j6ZF0yQE5iwpoM+Gt/muSIU6gQVDYs/sn4Kc3LGzXCf7RX5av2EYN vaVL/esw5x5lioCtD/N4IW6KkPNMHhXvAr1K3iEZjwRkUj4iJ7djl97a9/6ojcC2Vqe535 tD0fPNd7E1Jj5vGjVmnMyeaJV/PDcXsrgUqF2qVSTwdCNbSNMoSpH8m3gDr9p3eLP5IWR6 G41txJmNQShGHaeLpzb+PqRhIBSzGPWq9oJ5KLjkQkAlVUHdXzrvhVWxHWbqRx4leuzxgP mD3x4v+JrjueYTacCx5/n0CtCNs1ZsdDRwQyNEdBH8iOORMMY8xBzpFy8LBVnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713667453; a=rsa-sha256; cv=none; b=As/V4zYx+sQFRqM1WAQL8tT+2chniOxBo2fCx6BH/W/2JJPwrLBEL0CNyswDKRuvuxx8nj QmxpVT3UZUl4BusuWs2peZWplRpKymD16yVe0IFz3Y3UWtQp6aukqy094UBoBEaQwk632X OeG7Fd8Zb+aM1M/w6QJebwQJqTWhvoBkjU0/5GqHp/hOgpTMQLqQPNmM4sU5y+/YqKRIuG EGvPi1qgyetIGjRbLpe5WuAlAtnJgFjaCrJYAGUO7rslmp4rIyN3P90k4D+JGoWmB2usk0 kgvia2b9nG2avA9fibEW5TukcHa+DRfprj0Im62UxBjsf4f64SWAwgfEZcg4fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=none 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 84A4A677A7 for ; Sun, 21 Apr 2024 04:44:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryNBI-0006oW-3T; Sat, 20 Apr 2024 22:43:52 -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 1ryNBF-0006ny-Ra for guix-patches@gnu.org; Sat, 20 Apr 2024 22:43:49 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryNBF-0000Q3-98 for guix-patches@gnu.org; Sat, 20 Apr 2024 22:43:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryNBU-0001lj-7D for guix-patches@gnu.org; Sat, 20 Apr 2024 22:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69613] [PATCH v2] gnu: Add ssh-to-pgp. Resent-From: Dale Mellor Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Apr 2024 02:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69613 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69613@debbugs.gnu.org Cc: goodoldpaul@autistici.org, guix-devel-0brg6a@rdmp.org X-Debbugs-Original-Cc: Giacomo Leidi , Dale Mellor , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17136674306736 (code B ref -1); Sun, 21 Apr 2024 02:44:03 +0000 Received: (at submit) by debbugs.gnu.org; 21 Apr 2024 02:43:50 +0000 Received: from localhost ([127.0.0.1]:40032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryNBF-0001kW-BK for submit@debbugs.gnu.org; Sat, 20 Apr 2024 22:43:50 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryNBA-0001jF-T5 for submit@debbugs.gnu.org; Sat, 20 Apr 2024 22:43:46 -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 1ryNAq-0006n1-Hj for guix-patches@gnu.org; Sat, 20 Apr 2024 22:43:24 -0400 Received: from [195.15.247.228] (helo=rdmp.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryNAo-0000PL-S3 for guix-patches@gnu.org; Sat, 20 Apr 2024 22:43:24 -0400 Received: from [127.0.0.1] (helo=localhost.localdomain) by rdmp.org with esmtp (Exim 4.96.1) (envelope-from ) id 1ryNAl-0003Sp-1c; Sun, 21 Apr 2024 02:43:19 +0000 From: Dale Mellor Date: Sun, 21 Apr 2024 03:43:02 +0100 Message-ID: <20240421024302.733484-1-guix-devel-0brg6a@rdmp.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <2c9c0a408bad531898562ed868f501516315c09a.1709822187.git.goodoldpaul@autistici.org> References: <2c9c0a408bad531898562ed868f501516315c09a.1709822187.git.goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.15.247.228 (failed) Received-SPF: pass client-ip=195.15.247.228; envelope-from=guix-devel-0brg6a@rdmp.org; helo=rdmp.org X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.88 X-Spam-Score: -4.88 X-Migadu-Queue-Id: 84A4A677A7 X-Migadu-Scanner: mx12.migadu.com X-TUID: T/yioz4uBpad From: Giacomo Leidi * gnu/packages/crypto.scm (ssh-to-pgp): New variable. Review: * License is MIT declared as expat, fine * Standard declaration for a Go package * guix lint, build --check, build --source --check, all run clean * I had a very cursory look over the upstream source, nothing nasty jumps out * It works for me Reviewed-by: Dale Mellor Change-Id: Ic8e55ede6b19d9a90291e3ac2cf608e8a59bc061 --- gnu/packages/crypto.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 2491abcce1..9c62689d18 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1674,6 +1674,33 @@ (define-public libxcrypt (home-page "https://github.com/besser82/libxcrypt") (license license:lgpl2.1))) +(define-public ssh-to-pgp + (package + (name "ssh-to-pgp") + (version "1.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Mic92/ssh-to-pgp") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mph8mm80qzrsd07v7drfrhdah9n9ibsqfcf9kbffi1pw83cm0aa")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/Mic92/ssh-to-pgp")) + (native-inputs + (list gnupg)) + (propagated-inputs + (list go-golang-org-x-sys + go-golang-org-x-crypto)) + (home-page "https://github.com/Mic92/ssh-to-pgp") + (synopsis "Convert SSH RSA keys to GPG keys") + (description "This package provides @code{ssh-to-pgp}: a Go command line ++utility to convert SSH RSA keys to GPG keys.") + (license license:expat))) + (define-public keychain (package (name "keychain") -- 2.41.0