From patchwork Thu Mar 7 14:28:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: paul X-Patchwork-Id: 61463 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3CE7B27BBE9; Thu, 7 Mar 2024 14:29:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DAC7127BBE2 for ; Thu, 7 Mar 2024 14:29:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riEkb-00029n-1X; Thu, 07 Mar 2024 09:29:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riEkW-00025I-6H for guix-patches@gnu.org; Thu, 07 Mar 2024 09:29:32 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riEkV-00063w-N2 for guix-patches@gnu.org; Thu, 07 Mar 2024 09:29:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riEl1-0006dq-2a for guix-patches@gnu.org; Thu, 07 Mar 2024 09:30:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69612] [PATCH] gnu: Add ssh-to-age. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Mar 2024 14:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69612 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69612@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170982179725490 (code B ref -1); Thu, 07 Mar 2024 14:30:03 +0000 Received: (at submit) by debbugs.gnu.org; 7 Mar 2024 14:29:57 +0000 Received: from localhost ([127.0.0.1]:52951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riEku-0006d3-Of for submit@debbugs.gnu.org; Thu, 07 Mar 2024 09:29:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:60456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riEks-0006cl-7Z for submit@debbugs.gnu.org; Thu, 07 Mar 2024 09:29:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riEkK-0001kc-LS for guix-patches@gnu.org; Thu, 07 Mar 2024 09:29:21 -0500 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riEkH-0005rQ-ET for guix-patches@gnu.org; Thu, 07 Mar 2024 09:29:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1709821746; bh=zCAG3UEBEDWZKjxBAme7sStWo/tnCxpd1paf01CG5uw=; h=From:To:Cc:Subject:Date:From; b=ttbSk7xrs6PkZnGgv6+JngEBAy8gCtThBQ6w2ofMhzSveyGHbZp8Dwr2xM9Gkh//W 1la4AU2gKC7AjuBOOqTkzz3gUZRrbAulseSAcEgKIvcuS1iKiuYjg0+yaB/SirPiFk sWsBo7tlRaJ0S4i68Ykn9A2HAGjR7raAY8rjPyOc= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TrBWQ33vcz114d; Thu, 7 Mar 2024 14:29:06 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TrBWQ26xSz113K; Thu, 7 Mar 2024 14:29:06 +0000 (UTC) Date: Thu, 7 Mar 2024 15:28:21 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=93.190.126.19; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: paul Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crypto.scm (ssh-to-pgp): New variable. Change-Id: Ic8b8da90abe5f18ed5989d231a90643e0c2d7163 --- gnu/packages/crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) base-commit: 0f2eede9f1d4574813935b7f58384036d509002d diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 9d47ebb4fd..de9346746d 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2023 Foundation Devices, Inc. +;;; Copyright © 2024 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -62,6 +63,7 @@ (define-module (gnu packages crypto) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-crypto) #:use-module (gnu packages graphviz) #:use-module (gnu packages image) #:use-module (gnu packages kerberos) @@ -1674,6 +1676,32 @@ (define-public libxcrypt (home-page "https://github.com/besser82/libxcrypt") (license license:lgpl2.1))) +(define-public ssh-to-age + (package + (name "ssh-to-age") + (version "1.1.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Mic92/ssh-to-age") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "134gpbalyll238wvj9ci0rascgm4csayz863ci99cy5qq8266wrl")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/Mic92/ssh-to-age")) + (propagated-inputs (list go-golang-org-x-sys + 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 Ed25519 keys to age keys") + (description "This package provides @code{ssh-to-age}: a Go command line +utility to convert SSH Ed25519 keys to age keys.") + (license license:expat))) + (define-public keychain (package (name "keychain")