GNU bug report logs - #69613
[PATCH] gnu: Add ssh-to-pgp.

Previous Next

Package: guix-patches;

Reported by: Giacomo Leidi <goodoldpaul <at> autistici.org>

Date: Thu, 7 Mar 2024 14:38:02 UTC

Owned by: Dale Mellor <guix-devel-0brg6a <at> rdmp.org>

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69613 in the body.
You can then email your comments to 69613 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#69613; Package guix-patches. (Thu, 07 Mar 2024 14:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Giacomo Leidi <goodoldpaul <at> autistici.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 07 Mar 2024 14:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Giacomo Leidi <goodoldpaul <at> autistici.org>
To: guix-patches <at> gnu.org
Cc: Giacomo Leidi <goodoldpaul <at> autistici.org>
Subject: [PATCH] gnu: Add ssh-to-pgp.
Date: Thu,  7 Mar 2024 15:36:27 +0100
* gnu/packages/crypto.scm (ssh-to-pgp): New variable.

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 9d47ebb4fd..0e7a455a2e 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")

base-commit: e8c904318339fd3b9edd763d70fad78fd7c3b2a8
-- 
2.41.0





Owner recorded as Dale Mellor <guix-devel-0brg6a <at> rdmp.org>. Request was from Dale Mellor <guix-devel-0brg6a <at> rdmp.org> to control <at> debbugs.gnu.org. (Sun, 21 Apr 2024 02:26:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#69613; Package guix-patches. (Sun, 21 Apr 2024 02:44:04 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dale Mellor <guix-devel-0brg6a <at> rdmp.org>
To: 69613 <at> debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul <at> autistici.org>,
 Dale Mellor <guix-devel-0brg6a <at> rdmp.org>, guix-patches <at> gnu.org
Subject: [PATCH v2] gnu: Add ssh-to-pgp.
Date: Sun, 21 Apr 2024 03:43:02 +0100
From: Giacomo Leidi <goodoldpaul <at> 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 <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#69613; Package guix-patches. (Sun, 21 Apr 2024 02:44:04 GMT) Full text and rfc822 format available.

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Tue, 23 Apr 2024 13:56:06 GMT) Full text and rfc822 format available.

Notification sent to Giacomo Leidi <goodoldpaul <at> autistici.org>:
bug acknowledged by developer. (Tue, 23 Apr 2024 13:56:07 GMT) Full text and rfc822 format available.

Message #18 received at 69613-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Dale Mellor <guix-devel-0brg6a <at> rdmp.org>
Cc: 69613-done <at> debbugs.gnu.org, goodoldpaul <at> autistici.org
Subject: Re: [bug#69613] [PATCH v2] gnu: Add ssh-to-pgp.
Date: Tue, 23 Apr 2024 14:55:12 +0100
[Message part 1 (text/plain, inline)]
Dale Mellor <guix-devel-0brg6a <at> rdmp.org> writes:

> From: Giacomo Leidi <goodoldpaul <at> 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 <at> rdmp.org>
> Change-Id: Ic8e55ede6b19d9a90291e3ac2cf608e8a59bc061
> ---
>  gnu/packages/crypto.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)

Thanks both, I've pushed this to master as
0d1070a5e294235f2ba821e2cda04d682ec9202a.

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 May 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.