unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58922] [PATCH] gnu: Add ssh-to-age.
@ 2022-10-31 10:16 Nicolas Graves via Guix-patches via
  2022-11-05 10:58 ` bug#58922: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-10-31 10:16 UTC (permalink / raw)
  To: 58922; +Cc: ngraves

* gnu/packages/password-utils.scm (ssh-to-age): New variable.
---
 gnu/packages/password-utils.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 24aee6428a..24cceba055 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -340,6 +340,34 @@ (define-public shroud
     (home-page "https://dthompson.us/projects/shroud.html")
     (license license:gpl3+)))
 
+(define-public ssh-to-age
+  (let* ((commit "37365ce80fa64d8794855ec3c63cc9a071799fea")
+         (revision "0"))
+    (package
+      (name "ssh-to-age")
+      (version (git-version "1.0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Mic92/ssh-to-age")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1fk2vxa854jnnffcw4q3vm1445jk1ck1v3p4mr9fh04yz06g7d28"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/Mic92/ssh-to-age/cmd/ssh-to-age"
+         #:unpack-path "github.com/Mic92/ssh-to-age"))
+      (inputs (list go-golang-org-x-crypto
+                    go-filippo-io-edwards25519
+                    go-filippo-io-age))
+      (home-page "https://github.com/Mic92/ssh-to-age")
+      (synopsis "Convert SSH @code{ed25519} keys to @code{age} keys.")
+      (description "This package provides a simple command-line tool to
+convert SSH @code{ed25519} keys to @code{age} keys.")
+      (license license:expat))))
+
 (define-public yapet
   (package
     (name "yapet")
-- 
2.38.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#58922: [PATCH] gnu: Add ssh-to-age.
  2022-10-31 10:16 [bug#58922] [PATCH] gnu: Add ssh-to-age Nicolas Graves via Guix-patches via
@ 2022-11-05 10:58 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-11-05 10:58 UTC (permalink / raw)
  To: Nicolas Graves; +Cc: 58922-done, guix-patches

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]


Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/password-utils.scm (ssh-to-age): New variable.
> ---
>  gnu/packages/password-utils.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)

Thanks! Pushed to master as a5099d95c8b398a3e372c321e6a73452951b3d44.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-05 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 10:16 [bug#58922] [PATCH] gnu: Add ssh-to-age Nicolas Graves via Guix-patches via
2022-11-05 10:58 ` bug#58922: " 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).