From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QMfKLcN8GV8XRAAA0tVLHw (envelope-from ) for ; Thu, 23 Jul 2020 12:04:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EPCeKcN8GV/WGwAAB5/wlQ (envelope-from ) for ; Thu, 23 Jul 2020 12:04:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7216C940A39 for ; Thu, 23 Jul 2020 12:04:19 +0000 (UTC) Received: from localhost ([::1]:37482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyZxS-0005MP-Cl for larch@yhetil.org; Thu, 23 Jul 2020 08:04:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyZxD-00056z-0r for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyZxC-000733-O6 for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyZxC-00058w-K5 for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42404] [PATCH 2/5] gnu: Add dkgpg. Resent-From: Justus Winter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42404 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42404@debbugs.gnu.org Cc: Justus Winter Received: via spool by 42404-submit@debbugs.gnu.org id=B42404.159550581119695 (code B ref 42404); Thu, 23 Jul 2020 12:04:02 +0000 Received: (at 42404) by debbugs.gnu.org; 23 Jul 2020 12:03:31 +0000 Received: from localhost ([127.0.0.1]:44269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyZwg-00057U-UA for submit@debbugs.gnu.org; Thu, 23 Jul 2020 08:03:31 -0400 Received: from avior.uberspace.de ([185.26.156.32]:50370 ident=0Z20vZdWDdR) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyZwe-000574-I4 for 42404@debbugs.gnu.org; Thu, 23 Jul 2020 08:03:29 -0400 Received: (qmail 10770 invoked from network); 23 Jul 2020 12:03:26 -0000 Received: from localhost (HELO europa) (127.0.0.1) by avior.uberspace.de with SMTP; 23 Jul 2020 12:03:26 -0000 Received: from teythoon by europa with local (Exim 4.92) (envelope-from ) id 1jyZwb-0002C8-E0; Thu, 23 Jul 2020 14:03:25 +0200 From: Justus Winter Date: Thu, 23 Jul 2020 14:03:19 +0200 Message-Id: <20200723120322.8385-2-justus@sequoia-pgp.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723120322.8385-1-justus@sequoia-pgp.org> References: <20200723120322.8385-1-justus@sequoia-pgp.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: Mrof/7ubShep * gnu/packages/openpgp.scm (dkgpg): New variable. --- gnu/packages/openpgp.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/openpgp.scm b/gnu/packages/openpgp.scm index d3cb9027f7..94beab9929 100644 --- a/gnu/packages/openpgp.scm +++ b/gnu/packages/openpgp.scm @@ -21,6 +21,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) #:use-module (gnu packages multiprecision)) @@ -53,3 +54,41 @@ been studied since 1979 (Shamir, Rivest, and Adleman) by many authors. LibTMCG provides the first practical implementation of such protocols.") (home-page "https://www.nongnu.org/libtmcg/") (license license:gpl2+))) + +(define-public dkgpg + (package + (name "dkgpg") + (version "1.1.3") + (source (origin + (method url-fetch) + (uri (string-append "mirror://savannah/dkgpg/dkgpg-" version + ".tar.gz")) + (sha256 + (base32 + "1hpfg7akd5icj49i03z74hp9zj0xwl90bndn0hnw0hpb8lk7qcxg")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags + '("--enable-silent-rules") + ;; https://savannah.nongnu.org/bugs/?58772 + #:parallel-tests? #f)) + (inputs `(("bzip2" ,bzip2) + ("gmp" ,gmp) + ("libgcrypt" ,libgcrypt) + ("libtmcg" ,libtmcg) + ("zlib" ,zlib))) + (synopsis + "Distributed Key Generation and Threshold Cryptography for OpenPGP") + (description + "The Distributed Privacy Guard (DKGPG) implements Distributed Key +Generation (DKG) and Threshold Cryptography for OpenPGP. The generated public +keys are compatible with the standard and thus can be used by any +RFC4880-compliant application (e.g. GnuPG). The main purposes of this +software are distributing power among multiple parties, eliminating single +points of failure, and increasing the difficulty of side-channel attacks on +private key material. + +DKGPG consists of a bunch of simple command-line programs. The current +implementation is in experimental state and should NOT be used in production +environments.") + (home-page "https://www.nongnu.org/dkgpg/") + (license license:gpl2+))) -- 2.20.1