From unknown Wed Jun 18 23:08:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58340 <58340@debbugs.gnu.org> To: bug#58340 <58340@debbugs.gnu.org> Subject: Status: Age encryption Reply-To: bug#58340 <58340@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:08:18 +0000 retitle 58340 Age encryption reassign 58340 guix-patches submitter 58340 Nicolas Graves severity 58340 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 13:05:57 2022 Received: (at submit) by debbugs.gnu.org; 6 Oct 2022 17:05:57 +0000 Received: from localhost ([127.0.0.1]:33412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUJo-0005TS-Tx for submit@debbugs.gnu.org; Thu, 06 Oct 2022 13:05:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:43668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUJk-0005TF-Ku for submit@debbugs.gnu.org; Thu, 06 Oct 2022 13:05:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogUJj-0001x6-NB for guix-patches@gnu.org; Thu, 06 Oct 2022 13:05:52 -0400 Received: from 4.mo575.mail-out.ovh.net ([46.105.59.63]:50891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogUJf-00062O-V9 for guix-patches@gnu.org; Thu, 06 Oct 2022 13:05:50 -0400 Received: from player699.ha.ovh.net (unknown [10.108.20.46]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 49ED62634D for ; Thu, 6 Oct 2022 17:05:34 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player699.ha.ovh.net (Postfix) with ESMTPSA id BAC482F4DEE7B for ; Thu, 6 Oct 2022 17:05:33 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-110S00434c735d8-43a2-450d-9adb-8142ea18790a, 70C2DFD32F68E13D3C9C268F03C068DD756A4038) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 From: Nicolas Graves To: guix-patches@gnu.org Subject: Age encryption Date: Thu, 06 Oct 2022 19:05:32 +0200 Message-ID: <87czb4naqr.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 782781911897203450 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeihedguddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeujeelieeljeffhfelteejtdeljeehveduffelvefgudefkeehgfdvvdevgeevfeenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrieelledrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhe Received-SPF: pass client-ip=46.105.59.63; envelope-from=ngraves@ngraves.fr; helo=4.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi guix! Here's a few patches to package the encryption tool age. I'm probably going to send some other derived tools (passage notably). -- Best regards, Nicolas Graves From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 13:09:27 2022 Received: (at 58340) by debbugs.gnu.org; 6 Oct 2022 17:09:27 +0000 Received: from localhost ([127.0.0.1]:33421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUN6-0005aK-OK for submit@debbugs.gnu.org; Thu, 06 Oct 2022 13:09:27 -0400 Received: from 6.mo550.mail-out.ovh.net ([46.105.43.205]:35175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUN2-0005a8-Rh for 58340@debbugs.gnu.org; Thu, 06 Oct 2022 13:09:19 -0400 Received: from player692.ha.ovh.net (unknown [10.109.146.76]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4383125F6C for <58340@debbugs.gnu.org>; Thu, 6 Oct 2022 17:09:14 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player692.ha.ovh.net (Postfix) with ESMTPSA id 563F82F458293; Thu, 6 Oct 2022 17:09:12 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-106R0065c51245d-1cb1-46c3-959d-3a978c548dc4, 70C2DFD32F68E13D3C9C268F03C068DD756A4038) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 From: Nicolas Graves To: 58340@debbugs.gnu.org Subject: [PATCH 1/2] gnu: Add go-filippo-io-edwards25519. Date: Thu, 6 Oct 2022 19:09:07 +0200 Message-Id: <20221006170908.24921-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 844987882031735522 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeihedguddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeevheejveejgfeljedvleevhedufeetuedtiedugeelveehveejvedvheeiueefieenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhfihhlihhpphhordhiohenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrieelvddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefgedtseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedt X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58340 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/golang.scm (go-filippo-io-edwards25519): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4a4c706509..e8132eb138 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -926,6 +926,29 @@ (define-public go-std-1.17 (make-go-std go-1.17)) (define-public go-std-1.18 (make-go-std go-1.18)) (define-public go-std-1.19 (make-go-std go-1.19)) +(define-public go-filippo-io-edwards25519 + (package + (name "go-filippo-io-edwards25519") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/edwards25519") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01m8hpaj0cwp250f7b0din09cf8j6j5y631grx67qfhvfrmwr1zr")))) + (build-system go-build-system) + (arguments + '(#:import-path "filippo.io/edwards25519")) + (home-page "https://filippo.io/edwards25519") + (synopsis "Group logic for the twisted Edwards curve") + (description + "This package implements the edwards25519 elliptic curve in Go, exposing +the necessary APIs to build a wide array of higher-level primitives.") + (license license:bsd-3))) + (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") (revision "12")) -- 2.37.3 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 13:09:31 2022 Received: (at 58340) by debbugs.gnu.org; 6 Oct 2022 17:09:31 +0000 Received: from localhost ([127.0.0.1]:33424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUNG-0005ag-G7 for submit@debbugs.gnu.org; Thu, 06 Oct 2022 13:09:31 -0400 Received: from 13.mo581.mail-out.ovh.net ([87.98.150.175]:42911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUN6-0005aI-IH for 58340@debbugs.gnu.org; Thu, 06 Oct 2022 13:09:28 -0400 Received: from player691.ha.ovh.net (unknown [10.108.4.4]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id B65EA2376B for <58340@debbugs.gnu.org>; Thu, 6 Oct 2022 17:09:18 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player691.ha.ovh.net (Postfix) with ESMTPSA id EE3F22F7C895B; Thu, 6 Oct 2022 17:09:16 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-97G002469677bb-0b44-4566-afbf-0dd27c8c2309, 70C2DFD32F68E13D3C9C268F03C068DD756A4038) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 From: Nicolas Graves To: 58340@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add age and its modules. Date: Thu, 6 Oct 2022 19:09:08 +0200 Message-Id: <20221006170908.24921-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221006170908.24921-1-ngraves@ngraves.fr> References: <20221006170908.24921-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 846113782235914978 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeihedguddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffdtleetgfehvdfgtdetleelveefhfefjeejtddtgfdvkeeuvedvudegfeefveevnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpfhhilhhiphhpohdrihhopdgrghgvqdgvnhgtrhihphhtihhonhdrohhrghenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrieeluddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefgedtseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedu X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58340 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/golang.scm (age): New variable. (go-filippo-io-cmd-age): New variable. (go-filippo-io-cmd-age-keygen): New variable. --- gnu/packages/golang.scm | 50 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e8132eb138..7559e3ef9d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2021 Lu Hui ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -949,6 +950,55 @@ (define-public go-filippo-io-edwards25519 the necessary APIs to build a wide array of higher-level primitives.") (license license:bsd-3))) +(define-public age + (package + (name "age") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/age") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19fz68n262kvg2ssw4r6nik30zk6g6cy7rdi0fm05czwigqrdz1i")))) + (build-system go-build-system) + (arguments `(#:import-path "filippo.io/age")) + (propagated-inputs + (list go-filippo-io-cmd-age + go-filippo-io-cmd-age-keygen)) + (home-page "https://filippo.io/age") + (synopsis "Secure file encryption tool, format, and Go library") + (description + "This package implements file encryption according to the +@code{age-encryption.org/v1} specification. It features small explicit keys, +no config options, and UNIX-style composability.") + (license license:bsd-3))) + +(define-public go-filippo-io-cmd-age + (package + (inherit age) + (name "go-filippo-io-cmd-age") + (propagated-inputs + (list go-golang-org-x-sys + go-golang-org-x-term + go-golang-org-x-crypto + go-filippo-io-edwards25519)) + (arguments + `(#:import-path "filippo.io/age/cmd/age" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + +(define-public go-filippo-io-cmd-age-keygen + (package + (inherit go-filippo-io-cmd-age) + (name "go-filippo-io-cmd-age-keygen") + (arguments + `(#:import-path "filippo.io/age/cmd/age-keygen" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") (revision "12")) -- 2.37.3 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 17:09:58 2022 Received: (at 58340) by debbugs.gnu.org; 13 Oct 2022 21:09:58 +0000 Received: from localhost ([127.0.0.1]:35182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj5So-0005ti-1o for submit@debbugs.gnu.org; Thu, 13 Oct 2022 17:09:58 -0400 Received: from 10.mo576.mail-out.ovh.net ([46.105.73.241]:35389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj5Sj-0005tW-I0 for 58340@debbugs.gnu.org; Thu, 13 Oct 2022 17:09:56 -0400 Received: from player763.ha.ovh.net (unknown [10.108.1.15]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id AD0022451F for <58340@debbugs.gnu.org>; Thu, 13 Oct 2022 21:09:51 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player763.ha.ovh.net (Postfix) with ESMTPSA id CACEF2FB2FE66; Thu, 13 Oct 2022 21:09:49 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-96R001bb29cb74-3267-4e24-999d-36c057c5d98b, 53D520BF8C7D357E56109CC47E5FF8C87124EC76) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 From: Nicolas Graves To: 58340@debbugs.gnu.org Subject: [PATCH v2 1/2] gnu: Add go-filippo-io-edwards25519. Date: Thu, 13 Oct 2022 23:09:44 +0200 Message-Id: <20221013210945.22345-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9124011371137327842 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeektddgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeevheejveejgfeljedvleevhedufeetuedtiedugeelveehveejvedvheeiueefieenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhfihhlihhpphhordhiohenucfkphepuddvjedrtddrtddruddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheekfeegtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58340 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/golang.scm (go-filippo-io-edwards25519): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 53d1e38c28..f404adc646 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -927,6 +927,29 @@ (define-public go-std-1.17 (make-go-std go-1.17)) (define-public go-std-1.18 (make-go-std go-1.18)) (define-public go-std-1.19 (make-go-std go-1.19)) +(define-public go-filippo-io-edwards25519 + (package + (name "go-filippo-io-edwards25519") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/edwards25519") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01m8hpaj0cwp250f7b0din09cf8j6j5y631grx67qfhvfrmwr1zr")))) + (build-system go-build-system) + (arguments + '(#:import-path "filippo.io/edwards25519")) + (home-page "https://filippo.io/edwards25519") + (synopsis "Group logic for the twisted Edwards curve") + (description + "This package implements the edwards25519 elliptic curve in Go, exposing +the necessary APIs to build a wide array of higher-level primitives.") + (license license:bsd-3))) + (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") (revision "12")) -- 2.38.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 17:10:43 2022 Received: (at 58340) by debbugs.gnu.org; 13 Oct 2022 21:10:43 +0000 Received: from localhost ([127.0.0.1]:35186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj5TX-0005vX-FN for submit@debbugs.gnu.org; Thu, 13 Oct 2022 17:10:43 -0400 Received: from 14.mo581.mail-out.ovh.net ([178.33.251.19]:51111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj5TT-0005vA-1h for 58340@debbugs.gnu.org; Thu, 13 Oct 2022 17:10:41 -0400 Received: from player696.ha.ovh.net (unknown [10.110.103.177]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id C9F7624D86 for <58340@debbugs.gnu.org>; Thu, 13 Oct 2022 21:10:37 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player696.ha.ovh.net (Postfix) with ESMTPSA id 4E790258086EB; Thu, 13 Oct 2022 21:10:36 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-104R005dc1e20c2-d9cd-4971-877a-74f392d71418, 53D520BF8C7D357E56109CC47E5FF8C87124EC76) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 From: Nicolas Graves To: 58340@debbugs.gnu.org Subject: [PATCH v2] gnu: Add age and its modules. Date: Thu, 13 Oct 2022 23:10:31 +0200 Message-Id: <20221013211031.22485-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9136959220685005538 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeektddgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdeiieegtedtkefgueeuiefhvdejffeggeegfefhjeejtdegiedugffhgeelgedvnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpfhhilhhiphhpohdrihhopdgrghgvqdgvnhgtrhihphhtihhonhdrohhrghenucfkphepuddvjedrtddrtddruddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheekfeegtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58340 Cc: ngraves@ngraves.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/golang.scm (age): New variable. (go-filippo-io-cmd-age): New variable. (go-filippo-io-cmd-age-keygen): New variable. --- gnu/packages/golang.scm | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f404adc646..b9ac942702 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm ;;; Copyright © 2022 Dhruvin Gandhi +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -950,6 +951,56 @@ (define-public go-filippo-io-edwards25519 the necessary APIs to build a wide array of higher-level primitives.") (license license:bsd-3))) +(define-public age + (package + (name "age") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/age") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19fz68n262kvg2ssw4r6nik30zk6g6cy7rdi0fm05czwigqrdz1i")))) + (build-system go-build-system) + (arguments `(#:import-path "filippo.io/age")) + (inputs + (list go-golang-org-x-sys + go-golang-org-x-term + go-golang-org-x-crypto + go-filippo-io-edwards25519)) + (propagated-inputs + (list go-filippo-io-cmd-age + go-filippo-io-cmd-age-keygen)) + (home-page "https://filippo.io/age") + (synopsis "Secure file encryption tool, format, and Go library") + (description + "This package implements file encryption according to the +@code{age-encryption.org/v1} specification. It features small explicit keys, +no config options, and UNIX-style composability.") + (license license:bsd-3))) + +(define-public go-filippo-io-cmd-age + (package + (inherit age) + (name "go-filippo-io-cmd-age") + (propagated-inputs '()) + (arguments + `(#:import-path "filippo.io/age/cmd/age" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + +(define-public go-filippo-io-cmd-age-keygen + (package + (inherit go-filippo-io-cmd-age) + (name "go-filippo-io-cmd-age-keygen") + (arguments + `(#:import-path "filippo.io/age/cmd/age-keygen" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") (revision "12")) -- 2.38.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 19 15:40:18 2022 Received: (at 58340-done) by debbugs.gnu.org; 19 Oct 2022 19:40:18 +0000 Received: from localhost ([127.0.0.1]:60113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olEvI-0002wt-W5 for submit@debbugs.gnu.org; Wed, 19 Oct 2022 15:40:18 -0400 Received: from tobias.gr ([80.241.217.52]:38518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olEvE-0002wb-CX; Wed, 19 Oct 2022 15:40:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=o4VnPDuOaEmrU N5JEx4stzlGQSSHYmHko8gPqOKqDNY=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=ECFYMtWuCbABVWa/AM9tGXPVBpMTurXPtYDFIu 6FS+EvGNwK18YctRUhF57L+jK1AdOUoA154pZBI9Yhmmfijuq995NzxN2mBVvoZlN47vJB kApxAA9mE2xRb8CXLLsPqKQO/M+CnCqt9Jua6nsigV5CcWPdHEDCEbxKFXjnAa2xDbTp8a 6C3F7mEbK2NCQ9C2kRvy8qIwaLHdsDCPhb7siBHnlBpg0y4vpD6chl6GOPnNGiV4F5rpDF aS5PQABmU9vRseP2qBRSQTDtJUe55cq3vPhLGtjlLqLrizSw6MxOo/kTLt1Oqmu7Jt2Q6A 4WF23NnJLC/N+SeraKU5Xnsg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id aeeb51c4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 19 Oct 2022 19:40:03 +0000 (UTC) References: <87fsfxdfwk.fsf@nckx> <87y1tmujj2.fsf@ngraves.fr> From: Tobias Geerinckx-Rice To: Nicolas Graves Subject: Re: [PATCH v2] gnu: Add passage. Date: Wed, 19 Oct 2022 19:17:33 +0200 In-reply-to: <87y1tmujj2.fsf@ngraves.fr> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87h6zzbo14.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58340-done Cc: 58386-done@debbugs.gnu.org, 58340-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Nicolas, Nicolas Graves =E5=86=99=E9=81=93=EF=BC=9A > Just as a reminder, this patch cannot be merged before 58340. Thanks, I realised that after I sent it. I'll treat (and close)=20 them as one bug for this reply. I've pushed all 3 patches as=20 ac553ba68e535810085dd838e48e4fa6ac553e67 et al with the following=20 mods: > * gnu/packages/password-utils.scm (passage): New variable. I fixed up the commit message to match the name, and addressed the=20 following =E2=80=98guix lint=E2=80=99 warnings: pass-age@1.7.4a0: no article allowed at the beginning of the=20 synopsis age@1.0.0: sentences in description should be followed by two=20 spaces Whilst there, I turned @code{age-encryption.org/v1} into a full=20 @url{}, and fixed up upstream's =E2=80=98config=E2=80=99 & =E2=80=98UNIX=E2= =80=99 slang. > * gnu/packages/golang.scm > (age): New variable. > (go-filippo-io-cmd-age): New variable. > (go-filippo-io-cmd-age-keygen): New variable. ^^ Our changelogs are never indented, you'd write: > * gnu/packages/golang.scm (age, go-filippo-io-cmd-age) > (go-filippo-io-cmd-age-keygen): New variables. =E2=80=A6but in this case, I was bold and removed the two=20 go-filippo-io-cmd-age* packages completely. I moved =E2=80=98age=E2=80=99 = to (gnu=20 packages password-utils). The partial recursion in the go-* variants made me nervous (and=20 would probably prevent the move, although I didn't try). If these variants are needed for something, it's not pass-age, and=20 we can review them separately if/when needed. Is that acceptable? > I would think that choices need to be made Princip(al)ly: the choice to reuse an existing package name was=20 FiloSottile's, for the sake of a pun. Much as I like bad puns, I=20 think that's rather rude. It's not hard to search for free=20 package names, e.g., [0]. > that this one would not annoy a lot. Technically: it would silently replace users' games with some=20 encryption tool. That's problematic even if those users are few. Similarly: had the game been added after this =E2=80=98passage=E2=80=99, I = would=20 have grumpily agreed to =E2=80=98passage-game=E2=80=99 :-) But it wasn't. But: I think your =E2=80=99pass-age=E2=80=99 solution is perfect. Thanks!= =20 FiloSottile should consider it. Kind regards, T G-R [0]: https://repology.org/project/passage/versions --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY1BSmA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15nmwBANI3HDA0LNGiEzTFUO4nCPwBs+IW2XvsiDGlibAJ G+0kAQDI2WXajUt59q3kymG7iEs+7UOHMym3NbnZitv/1cR1DA== =G6Wa -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 19 15:53:40 2022 Received: (at 58340-done) by debbugs.gnu.org; 19 Oct 2022 19:53:40 +0000 Received: from localhost ([127.0.0.1]:60172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olF8G-0003L0-1B for submit@debbugs.gnu.org; Wed, 19 Oct 2022 15:53:40 -0400 Received: from tobias.gr ([80.241.217.52]:42510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olF8D-0003Km-Up; Wed, 19 Oct 2022 15:53:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=yYXUfC1Mbo29T bHAHpHgTULjpSYuEU4E06TSI8H6wuE=; h=in-reply-to:date:subject:cc:from: references; d=tobias.gr; b=jgCRHJ39/1qiRlI99okJVtlC1uAShYzZwP2Pb+QOSyG vc9M0hfDoB6JIjxKVz8dhoQbjbbdPo3khqqivOqP+IjUHwwyurme2I3Xx7n/K42oSrwMIz oaCZt8oSejxViexZgA9YuIFpxDaj4IOBrVYAl6clxj95Wf5bCmQFa03DQScnjndGHf8kQ0 +FLxrbkLtWffkIY2VY99cREeUfFTTLzbcSeduG1o1OCRD/w782Jiyo+fGmrMjAI46eVeyo pgBm7qDt1mrrw35d7nkh0EWd568VVfie0aSpuFNWeJXS/SVyK/Q7Wn6IwBp4Hwwp1NIYke 4fcRY6/tq7JRRSWI8LA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 5f62f7f4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 19 Oct 2022 19:53:29 +0000 (UTC) References: <87fsfxdfwk.fsf@nckx> <87y1tmujj2.fsf@ngraves.fr> <87h6zzbo14.fsf@nckx> From: Tobias Geerinckx-Rice Subject: Re: bug#58386: [PATCH v2] gnu: Add passage. Date: Wed, 19 Oct 2022 21:49:50 +0200 In-reply-to: <87h6zzbo14.fsf@nckx> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87czanbneo.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Tobias Geerinckx-Rice via Guix-patches via 写道: > …but in this case, I was bold and removed the two > go-filippo-io-cmd-age* packages completely. Grr. And of course, whilst migrating pass-age's propagated-inputs to regular ones (propagation is evil and should be avoided whenever possible), I see I've been looking at the wrong ‘age’. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.2 MISSING_HEADERS Missing To: header X-Debbugs-Envelope-To: 58340-done Cc: 58386-done@debbugs.gnu.org, Nicolas Graves , guix-patches@gnu.org, 58340-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A > =E2=80=A6but in this case, I was bold and removed the two > go-filippo-io-cmd-age* packages completely. Grr. And of course, whilst migrating pass-age's propagated-inputs=20 to regular ones (propagation is evil and should be avoided=20 whenever possible), I see I've been looking at the wrong =E2=80=98age=E2=80= =99. Y'know. The one that does have a =E2=80=98/bin/age=E2=80=99 in it. Yep, I'm back, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY1BVvw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15SdABAK/9DT1xg38KheRGXhDYYt6TwwFSmSP5WxWSZB2h H1dnAP4lsXJDgGqiGU16aYPnrfMH5uQu18RAae1eZZcuUfw7Dg== =n+xB -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 22 03:51:20 2022 Received: (at 58340) by debbugs.gnu.org; 22 Oct 2022 07:51:20 +0000 Received: from localhost ([127.0.0.1]:39639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om9Hs-0002FI-Hh for submit@debbugs.gnu.org; Sat, 22 Oct 2022 03:51:20 -0400 Received: from 20.mo582.mail-out.ovh.net ([178.32.124.17]:40065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om9Hj-0002Ep-A4 for 58340@debbugs.gnu.org; Sat, 22 Oct 2022 03:51:12 -0400 Received: from player716.ha.ovh.net (unknown [10.110.115.139]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id B5A07245F1 for <58340@debbugs.gnu.org>; Sat, 22 Oct 2022 07:51:08 +0000 (UTC) Received: from ngraves.fr (unknown [80.215.71.174]) (Authenticated sender: ngraves@ngraves.fr) by player716.ha.ovh.net (Postfix) with ESMTPSA id F263B2FE5C54E; Sat, 22 Oct 2022 07:51:03 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-106R00602571779-b4d1-4c4f-848c-5ce57ded3bef, A98A25EFF172E1B19F6713DC1AF2D6AEABFC828A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.71.174 From: Nicolas Graves To: Tobias Geerinckx-Rice Subject: Re: bug#58386: [PATCH v2] gnu: Add passage. In-Reply-To: <87czanbneo.fsf@nckx> References: <87fsfxdfwk.fsf@nckx> <87y1tmujj2.fsf@ngraves.fr> <87h6zzbo14.fsf@nckx> <87czanbneo.fsf@nckx> Date: Sat, 22 Oct 2022 09:51:02 +0200 Message-ID: <87wn8s70ux.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 11595361668582728372 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeelledgudduhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefujghffffkgggtgfesthhqredttddtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeffudelkeejveetleeuffejfefftefhhfffuedtteethfelueelveffjedvffdtffenucfkphepuddvjedrtddrtddruddpkedtrddvudehrdejuddrudejgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheekfeegtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58340 Cc: 58340@debbugs.gnu.org, 58386@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hey Tobias, > Y'know. The one that does have a =E2=80=98/bin/age=E2=80=99 in it. In the current version, it seems that the age-keygen binary is not in the bin output. Both commands "age" and "age-keygen" are necessary, hence the way I tried to package that with propagated inputs. Thanks for your reviews, let me know if I can help. --=20 Best regards, Nicolas Graves From unknown Wed Jun 18 23:08:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 19 Nov 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator