From patchwork Thu Oct 17 08:02:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 15752 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 EEAA2175C3; Thu, 17 Oct 2019 09:03:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9F90B1757D for ; Thu, 17 Oct 2019 09:03:17 +0100 (BST) Received: from localhost ([::1]:39182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL0ke-00022T-0S for patchwork@mira.cbaines.net; Thu, 17 Oct 2019 04:03:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42161) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL0kY-00021z-00 for guix-patches@gnu.org; Thu, 17 Oct 2019 04:03:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL0kW-00018s-MM for guix-patches@gnu.org; Thu, 17 Oct 2019 04:03:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL0kV-00018T-25 for guix-patches@gnu.org; Thu, 17 Oct 2019 04:03:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iL0kS-0002Ou-CA for guix-patches@gnu.org; Thu, 17 Oct 2019 04:03:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37788] [PATCH] gnu: Add minisign. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Oct 2019 08:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37788 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37788@debbugs.gnu.org X-Debbugs-Original-To: Guix Received: via spool by submit@debbugs.gnu.org id=B.15712993689201 (code B ref -1); Thu, 17 Oct 2019 08:03:03 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2019 08:02:48 +0000 Received: from localhost ([127.0.0.1]:47069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iL0kB-0002OJ-Co for submit@debbugs.gnu.org; Thu, 17 Oct 2019 04:02:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:34005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iL0k9-0002O9-DA for submit@debbugs.gnu.org; Thu, 17 Oct 2019 04:02:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42031) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL0k4-00020Z-5T for guix-patches@gnu.org; Thu, 17 Oct 2019 04:02:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL0k2-00011J-Q0 for guix-patches@gnu.org; Thu, 17 Oct 2019 04:02:40 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:34933) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iL0k2-00010p-JX for guix-patches@gnu.org; Thu, 17 Oct 2019 04:02:38 -0400 Received: from localhost (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 4F4B1200012 for ; Thu, 17 Oct 2019 08:02:34 +0000 (UTC) Date: Thu, 17 Oct 2019 10:02:33 +0200 From: Tanguy Le Carrour Message-ID: <20191017080233.dcsjsyh5ui6x67kj@rafflesia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 7d5c08fd00e9cd5d883fc939187ce6fc6e8c45f7 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 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 9592d18011..baf7c81a6a 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -974,3 +974,37 @@ 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))) +