gnu: libextractor: Update to 1.10.
[jackhill/guix/guix.git] / gnu / packages / openpgp.scm
CommitLineData
d51cb7f8
JW
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages openpgp)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (guix build-system gnu)
23 #:use-module ((guix licenses) #:prefix license:)
39222080 24 #:use-module (gnu packages compression)
d51cb7f8
JW
25 #:use-module (gnu packages gnupg)
26 #:use-module (gnu packages multiprecision))
27
28(define-public libtmcg
29 (package
30 (name "libtmcg")
31 (version "1.3.18")
32 (source (origin
33 (method url-fetch)
34 (uri (string-append "mirror://savannah/libtmcg/libTMCG-" version
35 ".tar.gz"))
36 (sha256
37 (base32
38 "179b5jx3mqs9hgsj8cfwk6x8qib60kw9szk9fkz6s1gl3v83mnyx"))))
39 (build-system gnu-build-system)
40 (arguments '(#:configure-flags '("--enable-silent-rules")))
41 (inputs `(("gmp" ,gmp)
42 ("libgcrypt" ,libgcrypt)))
43 (synopsis
44 "C++ library for creating secure and fair online card games")
45 (description
46 "The library provides a sort of useful classes, algorithms, and
47high-level protocols to support an application programmer in writing such
48software. The most remarkable feature is the absence of a trusted third
49party (TTP), i.e. neither a central game server nor trusted hardware
50components are necessary.
51
52The corresponding cryptographic problem, actually called Mental Poker, has
53been studied since 1979 (Shamir, Rivest, and Adleman) by many authors.
54LibTMCG provides the first practical implementation of such protocols.")
55 (home-page "https://www.nongnu.org/libtmcg/")
56 (license license:gpl2+)))
39222080
JW
57
58(define-public dkgpg
59 (package
60 (name "dkgpg")
61 (version "1.1.3")
62 (source (origin
63 (method url-fetch)
64 (uri (string-append "mirror://savannah/dkgpg/dkgpg-" version
65 ".tar.gz"))
66 (sha256
67 (base32
68 "1hpfg7akd5icj49i03z74hp9zj0xwl90bndn0hnw0hpb8lk7qcxg"))))
69 (build-system gnu-build-system)
70 (arguments '(#:configure-flags
71 '("--enable-silent-rules")
72 ;; https://savannah.nongnu.org/bugs/?58772
73 #:parallel-tests? #f))
74 (inputs `(("bzip2" ,bzip2)
75 ("gmp" ,gmp)
76 ("libgcrypt" ,libgcrypt)
77 ("libtmcg" ,libtmcg)
78 ("zlib" ,zlib)))
79 (synopsis
80 "Distributed Key Generation and Threshold Cryptography for OpenPGP")
81 (description
82 "The Distributed Privacy Guard (DKGPG) implements Distributed Key
83Generation (DKG) and Threshold Cryptography for OpenPGP. The generated public
84keys are compatible with the standard and thus can be used by any
85RFC4880-compliant application (e.g. GnuPG). The main purposes of this
86software are distributing power among multiple parties, eliminating single
87points of failure, and increasing the difficulty of side-channel attacks on
88private key material.
89
90DKGPG consists of a bunch of simple command-line programs. The current
91implementation is in experimental state and should NOT be used in production
92environments.")
93 (home-page "https://www.nongnu.org/dkgpg/")
94 (license license:gpl2+)))