From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 58922@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#58922] [PATCH] gnu: Add ssh-to-age.
Date: Mon, 31 Oct 2022 11:16:00 +0100 [thread overview]
Message-ID: <20221031101600.17299-1-ngraves@ngraves.fr> (raw)
* 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
next reply other threads:[~2022-10-31 10:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 10:16 Nicolas Graves via Guix-patches via [this message]
2022-11-05 10:58 ` bug#58922: [PATCH] gnu: Add ssh-to-age 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221031101600.17299-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=58922@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/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 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).