From: Justus Winter <justus@sequoia-pgp.org>
To: 42404@debbugs.gnu.org
Cc: Justus Winter <justus@sequoia-pgp.org>
Subject: [bug#42404] [PATCH] gnu: Add libtmcg and dkgpg.
Date: Fri, 17 Jul 2020 11:36:09 +0200 [thread overview]
Message-ID: <20200717093609.9507-1-justus@sequoia-pgp.org> (raw)
* gnu/packages/openpgp.scm: New file.
---
gnu/packages/openpgp.scm | 95 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
create mode 100644 gnu/packages/openpgp.scm
diff --git a/gnu/packages/openpgp.scm b/gnu/packages/openpgp.scm
new file mode 100644
index 0000000000..d4bcbacafc
--- /dev/null
+++ b/gnu/packages/openpgp.scm
@@ -0,0 +1,95 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages openpgp)
+ #:use-module (guix packages)
+ #: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))
+
+(define-public libtmcg
+ (package
+ (name "libtmcg")
+ (version "1.3.18")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://savannah/libtmcg/libTMCG-" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "179b5jx3mqs9hgsj8cfwk6x8qib60kw9szk9fkz6s1gl3v83mnyx"))))
+ (build-system gnu-build-system)
+ (arguments '(#:configure-flags '("--enable-silent-rules")))
+ (inputs `(("gmp" ,gmp)
+ ("libgcrypt" ,libgcrypt)))
+ (synopsis
+ "C++ library for creating secure and fair online card games")
+ (description
+ "The library provides a sort of useful classes, algorithms, and
+high-level protocols to support an application programmer in writing such
+software. The most remarkable feature is the absence of a trusted third
+party (TTP), i.e. neither a central game server nor trusted hardware
+components are necessary.
+
+The corresponding cryptographic problem, actually called Mental Poker, has
+been studied since 1979 (Shamir, Rivest, and Adleman) by many authors (see the
+first section of [St05] for a short survey). 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
next reply other threads:[~2020-07-17 9:45 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 9:36 Justus Winter [this message]
[not found] ` <87y2nfp5c6.fsf@gnu.org>
2020-07-20 8:53 ` [bug#42404] [PATCH] gnu: Add libtmcg and dkgpg Justus Winter
2020-07-20 9:28 ` [bug#42404] [PATCH 1/2] gnu: Add libtmcg Justus Winter
2020-07-20 9:28 ` [bug#42404] [PATCH 2/2] gnu: Add dkgpg Justus Winter
2020-07-23 12:03 ` [bug#42404] [PATCH 1/5] gnu: Add libtmcg Justus Winter
2020-07-23 12:03 ` [bug#42404] [PATCH 2/5] gnu: Add dkgpg Justus Winter
2020-07-23 12:03 ` [bug#42404] [PATCH 3/5] gnu: Add rnp Justus Winter
2020-07-24 10:27 ` Ludovic Courtès
2020-07-24 11:18 ` Justus Winter
2020-07-24 12:43 ` Justus Winter
2020-07-24 13:20 ` Ludovic Courtès
2020-07-27 13:38 ` [bug#42404] [PATCH 1/3] " Justus Winter
2020-07-27 13:44 ` Justus Winter
2020-07-28 22:16 ` Ludovic Courtès
2020-07-23 12:03 ` [bug#42404] [PATCH 4/5] gnu: Add python-pgpy Justus Winter
2020-07-23 12:03 ` [bug#42404] [PATCH 5/5] gnu: Add python-sop Justus Winter
2020-07-28 22:19 ` bug#42404: " Ludovic Courtès
2020-07-24 12:21 ` [bug#42404] [PATCH 1/5] gnu: Add libtmcg Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200717093609.9507-1-justus@sequoia-pgp.org \
--to=justus@sequoia-pgp.org \
--cc=42404@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.