all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dale Mellor <guix-devel-0brg6a@rdmp.org>
To: 69613@debbugs.gnu.org
Cc: goodoldpaul@autistici.org, guix-devel-0brg6a@rdmp.org
Subject: [bug#69613] [PATCH v2] gnu: Add ssh-to-pgp.
Date: Sun, 21 Apr 2024 03:43:02 +0100	[thread overview]
Message-ID: <20240421024302.733484-1-guix-devel-0brg6a@rdmp.org> (raw)
In-Reply-To: <2c9c0a408bad531898562ed868f501516315c09a.1709822187.git.goodoldpaul@autistici.org>

From: Giacomo Leidi <goodoldpaul@autistici.org>

* 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 <guix-devel-0brg6a@rdmp.org>
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





  reply	other threads:[~2024-04-21  2:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 14:36 [bug#69613] [PATCH] gnu: Add ssh-to-pgp Giacomo Leidi via Guix-patches via
2024-04-21  2:43 ` Dale Mellor [this message]
2024-04-23 13:55   ` bug#69613: [PATCH v2] " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240421024302.733484-1-guix-devel-0brg6a@rdmp.org \
    --to=guix-devel-0brg6a@rdmp.org \
    --cc=69613@debbugs.gnu.org \
    --cc=goodoldpaul@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.