* [bug#69613] [PATCH] gnu: Add ssh-to-pgp.
@ 2024-03-07 14:36 Giacomo Leidi via Guix-patches via
2024-04-21 2:43 ` [bug#69613] [PATCH v2] " Dale Mellor
0 siblings, 1 reply; 3+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-03-07 14:36 UTC (permalink / raw)
To: 69613; +Cc: Giacomo Leidi
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#69613] [PATCH v2] gnu: Add ssh-to-pgp.
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
2024-04-23 13:55 ` bug#69613: " Christopher Baines
0 siblings, 1 reply; 3+ messages in thread
From: Dale Mellor @ 2024-04-21 2:43 UTC (permalink / raw)
To: 69613; +Cc: goodoldpaul, guix-devel-0brg6a
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#69613: [PATCH v2] gnu: Add ssh-to-pgp.
2024-04-21 2:43 ` [bug#69613] [PATCH v2] " Dale Mellor
@ 2024-04-23 13:55 ` Christopher Baines
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2024-04-23 13:55 UTC (permalink / raw)
To: Dale Mellor; +Cc: 69613-done, goodoldpaul
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
Dale Mellor <guix-devel-0brg6a@rdmp.org> writes:
> 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(+)
Thanks both, I've pushed this to master as
0d1070a5e294235f2ba821e2cda04d682ec9202a.
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-23 13:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-07 14:36 [bug#69613] [PATCH] gnu: Add ssh-to-pgp Giacomo Leidi via Guix-patches via
2024-04-21 2:43 ` [bug#69613] [PATCH v2] " Dale Mellor
2024-04-23 13:55 ` bug#69613: " Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).