From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43046) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL0rD-0003tN-Qs for guix-patches@gnu.org; Thu, 17 Oct 2019 04:10:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL0rC-0003I8-LS for guix-patches@gnu.org; Thu, 17 Oct 2019 04:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL0rC-0003Hz-He for guix-patches@gnu.org; Thu, 17 Oct 2019 04:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iL0rC-0002Za-BQ for guix-patches@gnu.org; Thu, 17 Oct 2019 04:10:02 -0400 Subject: [bug#37788] [PATCH] gnu: Add minisign. References: <20191017080233.dcsjsyh5ui6x67kj@rafflesia> In-Reply-To: <20191017080233.dcsjsyh5ui6x67kj@rafflesia> Resent-Message-ID: Date: Thu, 17 Oct 2019 10:09:54 +0200 From: Tanguy Le Carrour Message-ID: <20191017080954.rxj4m7dmelakx7zv@rafflesia> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="pyzxq6n6ajuus5ln" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37788@debbugs.gnu.org --pyzxq6n6ajuus5ln Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Remove new blank line at EOF. --pyzxq6n6ajuus5ln Content-Type: text/plain; charset=us-ascii Content-Disposition: inline >From 467e7d9566cc655c4ea226769b76c8d803ecb4d4 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 17 Oct 2019 09:57:28 +0200 Subject: [PATCH] gnu: Add minisign. * gnu/packages/crypto.scm (minisign): New public variable. --- gnu/packages/crypto.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 9592d18011..9ab15a6395 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -974,3 +974,36 @@ pre-shared keys out of band. It is designed to handle large amounts of data quickly by using all your CPU cores and hardware acceleration.") (home-page "https://github.com/vstakhov/hpenc") (license license:bsd-3))) + +(define-public minisign + (package + (name "minisign") + (version "0.8") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/jedisct1/minisign/releases/download/" + version "/minisign-" version ".tar.gz")) + (sha256 + (base32 + "10hhgwxf9rcdlr00shrkcyxndrc22dh5lj8k5z27xg3nc0jba3hk")))) + (build-system cmake-build-system) + (arguments + ; No test suite + `(#:tests? #f)) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libsodium" ,libsodium))) + (home-page "https://jedisct1.github.io/minisign") + (synopsis "Tool to sign files and verify signatures") + (description + "Minisign is a dead simple tool to sign files and verify signatures. It is +portable, lightweight, and uses the highly secure Ed25519 public-key signature +system. Signature written by minisign can be verified using OpenBSD's +signify tool: public key files and signature files are compatible. However, +minisign uses a slightly different format to store secret keys. Minisign +signatures include trusted comments in addition to untrusted comments. +Trusted comments are signed, thus verified, before being displayed.") + (license license:isc))) -- 2.23.0 --pyzxq6n6ajuus5ln--