gnu: Add ssh-to-pgp.

* gnu/packages/crypto.scm (ssh-to-pgp): New variable.

Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: Ic8e55ede6b19d9a90291e3ac2cf608e8a59bc061
This commit is contained in:
Giacomo Leidi 2024-04-21 03:43:02 +01:00 committed by Christopher Baines
parent fca358e78f
commit 0d1070a5e2
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -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")