Merge branch 'master' into staging
[jackhill/guix/guix.git] / gnu / packages / gnupg.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2013, 2015, 2018 Andreas Enge <andreas@enge.fr>
4 ;;; Copyright © 2014, 2018 Eric Bavier <bavier@member.fsf.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
7 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2015, 2016, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
9 ;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
10 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
11 ;;; Copyright © 2016 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2016 Mike Gerwitz <mtg@gnu.org>
13 ;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
14 ;;; Copyright © 2017, 2020 Leo Famulari <leo@famulari.name>
15 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
16 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
17 ;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
18 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
19 ;;;
20 ;;; This file is part of GNU Guix.
21 ;;;
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
26 ;;;
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
31 ;;;
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34
35 (define-module (gnu packages gnupg)
36 #:use-module ((guix licenses) #:prefix license:)
37 #:use-module (gnu packages)
38 #:use-module (gnu packages adns)
39 #:use-module (gnu packages autotools)
40 #:use-module (gnu packages base)
41 #:use-module (gnu packages curl)
42 #:use-module (gnu packages crypto)
43 #:use-module (gnu packages emacs)
44 #:use-module (gnu packages enlightenment)
45 #:use-module (gnu packages gettext)
46 #:use-module (gnu packages guile)
47 #:use-module (gnu packages openldap)
48 #:use-module (gnu packages perl)
49 #:use-module (gnu packages perl-check)
50 #:use-module (gnu packages pth)
51 #:use-module (gnu packages python)
52 #:use-module (gnu packages python-xyz)
53 #:use-module (gnu packages qt)
54 #:use-module (gnu packages readline)
55 #:use-module (gnu packages compression)
56 #:use-module (gnu packages gtk)
57 #:use-module (gnu packages glib)
58 #:use-module (gnu packages gnome)
59 #:use-module (gnu packages pkg-config)
60 #:use-module (gnu packages ncurses)
61 #:use-module (gnu packages security-token)
62 #:use-module (gnu packages sqlite)
63 #:use-module (gnu packages swig)
64 #:use-module (gnu packages texinfo)
65 #:use-module (gnu packages tls)
66 #:use-module (gnu packages tor)
67 #:use-module (gnu packages web)
68 #:use-module (gnu packages xorg)
69 #:use-module (gnu packages xml)
70 #:use-module (guix packages)
71 #:use-module (guix download)
72 #:use-module (guix git-download)
73 #:use-module (guix build-system gnu)
74 #:use-module (guix build-system perl)
75 #:use-module (guix build-system python)
76 #:use-module (srfi srfi-1))
77
78 (define-public libgpg-error
79 (package
80 (name "libgpg-error")
81 (version "1.36")
82 (source
83 (origin
84 (method url-fetch)
85 (uri (string-append "mirror://gnupg/libgpg-error/libgpg-error-"
86 version ".tar.bz2"))
87 (sha256
88 (base32
89 "0z696dmhfxm2n6pmr8b857wwljq9h633yi99bhbn7h88f91rigds"))
90 (patches (search-patches "libgpg-error-gawk-compat.patch"))
91 ;; XXX: Remove this snippet with the gawk patch above. It avoids having
92 ;; to call autoreconf for the Makefile.am change to take effect.
93 (modules '((guix build utils)))
94 (snippet
95 '(begin
96 (substitute* "src/Makefile.in"
97 (("namespace=errnos") "pkg_namespace=errnos"))
98 #t))))
99 (build-system gnu-build-system)
100 (home-page "https://gnupg.org")
101 (synopsis "Library of error values for GnuPG components")
102 (description
103 "Libgpg-error is a small library that defines common error values
104 for all GnuPG components. Among these are GPG, GPGSM, GPGME,
105 GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SmartCard
106 Daemon and possibly more in the future.")
107 (license license:lgpl2.0+)
108 (properties '((ftp-server . "ftp.gnupg.org")
109 (ftp-directory . "/gcrypt/libgpg-error")))))
110
111 (define-public libgcrypt
112 (package
113 (name "libgcrypt")
114 (version "1.8.4")
115 (replacement libgcrypt-1.8.5)
116 (source (origin
117 (method url-fetch)
118 (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-"
119 version ".tar.bz2"))
120 (sha256
121 (base32
122 "09r27ywj9zplq6n9qw3mn7zmvf6y2jdmwx5d1kg8yqkj0qx18f7n"))))
123 (build-system gnu-build-system)
124 (propagated-inputs
125 `(("libgpg-error-host" ,libgpg-error)))
126 (native-inputs
127 ;; Needed here for the 'gpg-error' program.
128 `(("libgpg-error-native" ,libgpg-error)))
129 (arguments
130 ;; The '--with-gpg-error-prefix' argument is needed because otherwise
131 ;; 'configure' uses 'gpg-error-config' to determine the '-L' flag, and
132 ;; the 'gpg-error-config' it runs is the native one---i.e., the wrong one.
133 `(#:configure-flags
134 (list (string-append "--with-gpg-error-prefix="
135 (assoc-ref %build-inputs "libgpg-error-host")))))
136 (outputs '("out" "debug"))
137 (home-page "https://gnupg.org/")
138 (synopsis "Cryptographic function library")
139 (description
140 "Libgcrypt is a general-purpose cryptographic library. It provides the
141 standard cryptographic building blocks such as symmetric ciphers, hash
142 algorithms, public key algorithms, large integer functions and random number
143 generation.")
144 (license license:lgpl2.0+)
145 (properties '((ftp-server . "ftp.gnupg.org")
146 (ftp-directory . "/gcrypt/libgcrypt")))))
147
148 (define-public libgcrypt-1.8.5
149 (package
150 (inherit libgcrypt)
151 (version "1.8.5")
152 (source (origin
153 (method url-fetch)
154 (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-"
155 version ".tar.bz2"))
156 (sha256
157 (base32
158 "1hvsazms1bfd769q0ngl0r9g5i4m9mpz9jmvvrdzyzk3rfa2ljiv"))))))
159
160 (define-public libassuan
161 (package
162 (name "libassuan")
163 (version "2.5.3")
164 (source
165 (origin
166 (method url-fetch)
167 (uri (string-append "mirror://gnupg/libassuan/libassuan-"
168 version ".tar.bz2"))
169 (sha256
170 (base32
171 "00p7cpvzf0q3qwcgg51r9d0vbab4qga2xi8wpk2fgd36710b1g4i"))))
172 (build-system gnu-build-system)
173 (propagated-inputs
174 `(("libgpg-error" ,libgpg-error)
175 ("pth" ,pth)))
176 (home-page "https://gnupg.org")
177 (synopsis
178 "IPC library used by GnuPG and related software")
179 (description
180 "Libassuan is a small library implementing the so-called Assuan
181 protocol. This protocol is used for IPC between most newer
182 GnuPG components. Both, server and client side functions are
183 provided.")
184 (license license:lgpl2.0+)
185 (properties '((ftp-server . "ftp.gnupg.org")
186 (ftp-directory . "/gcrypt/libassuan")))))
187
188 (define-public libksba
189 (package
190 (name "libksba")
191 (version "1.3.5")
192 (source
193 (origin
194 (method url-fetch)
195 (uri (string-append
196 "mirror://gnupg/libksba/libksba-"
197 version ".tar.bz2"))
198 (sha256
199 (base32
200 "0h53q4sns1jz1pkmhcz5wp9qrfn9f5g9i3vjv6dafwzzlvblyi21"))))
201 (build-system gnu-build-system)
202 (propagated-inputs
203 `(("libgpg-error" ,libgpg-error)))
204 (native-inputs
205 `(("libgpg-error" ,libgpg-error)))
206 (arguments
207 `(#:configure-flags
208 (list ,@(if (%current-target-system)
209 '("CC_FOR_BUILD=gcc")
210 '())
211 (string-append "--with-gpg-error-prefix="
212 (assoc-ref %build-inputs "libgpg-error")))))
213 (home-page "https://www.gnupg.org")
214 (synopsis "CMS and X.509 access library")
215 (description
216 "KSBA (pronounced Kasbah) is a library to make X.509 certificates
217 as well as the CMS easily accessible by other applications. Both
218 specifications are building blocks of S/MIME and TLS.")
219 (license license:gpl3+)
220 (properties '((ftp-server . "ftp.gnupg.org")
221 (ftp-directory . "/gcrypt/libksba")))))
222
223 (define-public npth
224 (package
225 (name "npth")
226 (version "1.6")
227 (source
228 (origin
229 (method url-fetch)
230 (uri (string-append "mirror://gnupg/npth/npth-" version ".tar.bz2"))
231 (sha256
232 (base32 "1lg2lkdd3z1s3rpyf88786l243adrzyk9p4q8z9n41ygmpcsp4qk"))))
233 (build-system gnu-build-system)
234 (home-page "https://www.gnupg.org")
235 (synopsis "Non-preemptive thread library")
236 (description
237 "Npth is a library to provide the GNU Pth API and thus a non-preemptive
238 threads implementation.
239
240 In contrast to GNU Pth is is based on the system's standard threads
241 implementation. This allows the use of libraries which are not
242 compatible to GNU Pth.")
243 (license (list license:lgpl3+ license:gpl2+)) ; dual license
244 (properties '((ftp-server . "ftp.gnupg.org")
245 (ftp-directory . "/gcrypt/npth")))))
246
247 (define-public gnupg
248 (package
249 (name "gnupg")
250 (version "2.2.20")
251 (source (origin
252 (method url-fetch)
253 (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
254 ".tar.bz2"))
255 (patches (search-patches "gnupg-default-pinentry.patch"))
256 (sha256
257 (base32
258 "0c6a4v9p6qzhsw1pfcwc459bxpc8hma0w9z8iqb9khvligack9q4"))))
259 (build-system gnu-build-system)
260 (native-inputs
261 `(("pkg-config" ,pkg-config)))
262 (inputs
263 `(("gnutls" ,gnutls)
264 ("libassuan" ,libassuan)
265 ("libgcrypt" ,libgcrypt)
266 ("libgpg-error" ,libgpg-error)
267 ("libksba" ,libksba)
268 ("npth" ,npth)
269 ("openldap" ,openldap)
270 ("pcsc-lite" ,pcsc-lite)
271 ("readline" ,readline)
272 ("sqlite" ,sqlite)
273 ("zlib" ,zlib)))
274 (arguments
275 `(#:configure-flags '(;; Otherwise, the test suite looks for the `gpg`
276 ;; executable in its installation directory in
277 ;; /gnu/store before it has been installed.
278 "--enable-gnupg-builddir-envvar"
279 "--enable-all-tests")
280 #:phases
281 (modify-phases %standard-phases
282 (add-before 'configure 'patch-paths
283 (lambda* (#:key inputs #:allow-other-keys)
284 (substitute* "scd/scdaemon.c"
285 (("\"(libpcsclite\\.so[^\"]*)\"" _ name)
286 (string-append "\"" (assoc-ref inputs "pcsc-lite")
287 "/lib/" name "\"")))
288 #t))
289 (add-after 'build 'patch-scheme-tests
290 (lambda _
291 (substitute* (find-files "tests" ".\\.scm$")
292 (("/usr/bin/env gpgscm")
293 (string-append (getcwd) "/tests/gpgscm/gpgscm")))
294 #t))
295 (add-before 'build 'patch-test-paths
296 (lambda _
297 (substitute* '("tests/inittests"
298 "tests/pkits/inittests"
299 "tests/Makefile"
300 "tests/pkits/common.sh"
301 "tests/pkits/Makefile")
302 (("/bin/pwd") (which "pwd")))
303 (substitute* "common/t-exectool.c"
304 (("/bin/cat") (which "cat"))
305 (("/bin/true") (which "true"))
306 (("/bin/false") (which "false")))
307 #t)))))
308 (home-page "https://gnupg.org/")
309 (synopsis "GNU Privacy Guard")
310 (description
311 "The GNU Privacy Guard is a complete implementation of the OpenPGP
312 standard. It is used to encrypt and sign data and communication. It
313 features powerful key management and the ability to access public key
314 servers. It includes several libraries: libassuan (IPC between GnuPG
315 components), libgpg-error (centralized GnuPG error values), and
316 libskba (working with X.509 certificates and CMS data).")
317 (license license:gpl3+)
318 (properties '((ftp-server . "ftp.gnupg.org")
319 (ftp-directory . "/gcrypt/gnupg")))))
320
321 (define-public gnupg-2.0
322 (package (inherit gnupg)
323 (version "2.0.30")
324 (source (origin
325 (method url-fetch)
326 (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
327 ".tar.bz2"))
328 (sha256
329 (base32
330 "0wax4cy14hh0h7kg9hj0hjn9424b71z8lrrc5kbsasrn9xd7hag3"))))
331 (native-inputs '())
332 (inputs
333 `(("adns" ,adns)
334 ("bzip2" ,bzip2)
335 ("curl" ,curl)
336 ("libassuan" ,libassuan)
337 ("libgcrypt" ,libgcrypt)
338 ("libgpg-error" ,libgpg-error)
339 ("libksba" ,libksba)
340 ("pth" ,pth)
341 ("openldap" ,openldap)
342 ("zlib" ,zlib)
343 ("readline" ,readline)))
344 (arguments
345 `(#:phases
346 (modify-phases %standard-phases
347 (add-before 'configure 'patch-config-files
348 (lambda _
349 (substitute* "tests/openpgp/Makefile.in"
350 (("/bin/sh") (which "sh")))
351 #t))
352 (add-after 'install 'rename-v2-commands
353 (lambda* (#:key outputs #:allow-other-keys)
354 ;; Upstream suggests removing the trailing '2' from command names:
355 ;; <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22883#58>.
356 (let ((out (assoc-ref outputs "out")))
357 (with-directory-excursion (string-append out "/bin")
358 (rename-file "gpgv2" "gpgv")
359 (rename-file "gpg2" "gpg")
360
361 ;; Keep the old name around to ease transition.
362 (symlink "gpgv" "gpgv2")
363 (symlink "gpg" "gpg2")
364 #t)))))))
365 (properties `((superseded . ,gnupg)))))
366
367 (define-public gnupg-1
368 (package (inherit gnupg)
369 (version "1.4.23")
370 (source (origin
371 (method url-fetch)
372 (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
373 ".tar.bz2"))
374 (sha256
375 (base32
376 "1fkq4sqldvf6a25mm2qz95swv1qjg464736091w51djiwqbjyin9"))))
377 (native-inputs '())
378 (inputs
379 `(("zlib" ,zlib)
380 ("bzip2" ,bzip2)
381 ("curl" ,curl)
382 ("readline" ,readline)
383 ("libgpg-error" ,libgpg-error)))
384 (arguments
385 `(#:phases
386 (modify-phases %standard-phases
387 (add-after 'unpack 'patch-check-sh
388 (lambda _
389 (substitute* "checks/Makefile.in"
390 (("/bin/sh") (which "sh")))
391 #t)))))))
392
393 (define-public gpgme
394 (package
395 (name "gpgme")
396 (version "1.13.1")
397 (source
398 (origin
399 (method url-fetch)
400 (uri (string-append "mirror://gnupg/gpgme/gpgme-" version ".tar.bz2"))
401 (sha256
402 (base32 "0imyjfryvvjdbai454p70zcr95m94j9xnzywrlilqdw2fqi0pqy4"))))
403 (build-system gnu-build-system)
404 (arguments
405 `(#:phases
406 (modify-phases %standard-phases
407 (add-before 'check 'disable-failing-test
408 ;; XXX gnupg@2.2.20 breaks the expected JSON response for this test.
409 (lambda _
410 (substitute* "tests/json/t-json.c"
411 (("\"t-keylist-secret\", ") ""))
412 #t)))))
413 (native-inputs
414 `(("gnupg" ,gnupg)))
415 (propagated-inputs
416 ;; Needs to be propagated because gpgme.h includes gpg-error.h.
417 `(("libgpg-error" ,libgpg-error)))
418 (inputs
419 `(("libassuan" ,libassuan)))
420 (home-page "https://www.gnupg.org/related_software/gpgme/")
421 (synopsis "Library providing simplified access to GnuPG functionality")
422 (description
423 "GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
424 easier for applications. It provides a High-Level Crypto API for encryption,
425 decryption, signing, signature verification and key management. Currently
426 it uses GnuPG as its backend but the API isn't restricted to this engine.
427
428 Because the direct use of GnuPG from an application can be a complicated
429 programming task, it is suggested that all software should try to use GPGME
430 instead. This way bug fixes or improvements can be done at a central place
431 and every application benefits from this.")
432 (license license:lgpl2.1+)
433 (properties '((ftp-server . "ftp.gnupg.org")
434 (ftp-directory . "/gcrypt/gpgme")))))
435
436 (define-public qgpgme
437 (package
438 (inherit gpgme)
439 (name "qgpgme")
440 (arguments
441 `(#:phases
442 (modify-phases %standard-phases
443 (add-before 'build 'chdir-and-symlink
444 (lambda* (#:key inputs #:allow-other-keys)
445 (let ((gpgme (assoc-ref inputs "gpgme")))
446 (symlink (string-append gpgme "/lib/libgpgmepp.la")
447 "lang/cpp/src/libgpgmepp.la")
448 (symlink (string-append gpgme "/lib/libgpgme.la")
449 "src/libgpgme.la"))
450 (chdir "lang/qt")
451 #t)))))
452 (native-inputs
453 `(("pkg-config" ,pkg-config)
454 ,@(package-native-inputs gpgme)))
455 (inputs
456 `(("gpgme" ,gpgme)
457 ("qtbase" ,qtbase)
458 ,@(package-inputs gpgme)))
459 (synopsis "Qt API bindings for gpgme")
460 (description "QGpgme provides a very high level Qt API around GpgMEpp.
461
462 QGpgME was originally developed as part of libkleo and incorporated into
463 gpgpme starting with version 1.7.")
464 (license license:gpl2+))) ;; Note: this differs from gpgme
465
466 (define-public guile-gcrypt
467 (package
468 (name "guile-gcrypt")
469 (version "0.2.1")
470 (home-page "https://notabug.org/cwebber/guile-gcrypt")
471 (source (origin
472 (method git-fetch)
473 (uri (git-reference
474 (url (string-append home-page ".git"))
475 (commit (string-append "v" version))))
476 (sha256
477 (base32
478 "0n232iyayc46f7hywmjw0jr7pbmmz5h4b04jskhkzz9gxz0ci99c"))
479 (file-name (git-file-name name version))))
480 (build-system gnu-build-system)
481 (native-inputs
482 `(("pkg-config" ,pkg-config)
483 ("autoconf" ,autoconf)
484 ("automake" ,automake)
485 ("texinfo" ,texinfo)))
486 (inputs
487 `(("guile" ,guile-2.2)
488 ("libgcrypt" ,libgcrypt)))
489 (synopsis "Cryptography library for Guile using Libgcrypt")
490 (description
491 "Guile-Gcrypt provides a Guile 2.x interface to a subset of the
492 GNU Libgcrypt crytographic library. It provides modules for cryptographic
493 hash functions, message authentication codes (MAC), public-key cryptography,
494 strong randomness, and more. It is implemented using the foreign function
495 interface (FFI) of Guile.")
496 (license license:gpl3+)))
497
498 (define-public guile2.0-gcrypt
499 (package (inherit guile-gcrypt)
500 (name "guile2.0-gcrypt")
501 (inputs
502 `(("guile" ,guile-2.0)
503 ,@(alist-delete "guile" (package-inputs guile-gcrypt))))))
504
505 (define-public guile3.0-gcrypt
506 (package
507 (inherit guile-gcrypt)
508 (name "guile3.0-gcrypt")
509 (inputs
510 `(("guile" ,guile-next)
511 ,@(alist-delete "guile" (package-inputs guile-gcrypt))))))
512
513 (define-public python-gpg
514 (package
515 (name "python-gpg")
516 (version "1.10.0")
517 (source (origin
518 (method url-fetch)
519 (uri (pypi-uri "gpg" version))
520 (sha256
521 (base32
522 "1ji3ynhp36m1ccx7bmaq75dhij9frpn19v9mpi4aajn8csl194il"))))
523 (build-system python-build-system)
524 (arguments
525 '(#:phases
526 (modify-phases %standard-phases
527 (add-before 'build 'set-environment
528 (lambda _
529 (substitute* "setup.py"
530 (("cc") (which "gcc")))
531 #t)))
532 #:tests? #f)) ; No test suite.
533 (inputs
534 `(("gpgme" ,gpgme)))
535 (native-inputs
536 `(("swig" ,swig)))
537 (home-page (package-home-page gpgme))
538 (synopsis "Python bindings for GPGME GnuPG cryptography library")
539 (description "This package provides Python bindings to the GPGME GnuPG
540 cryptographic library. It is developed in the GPGME source code, and then
541 distributed separately.")
542 (license license:lgpl2.1+)))
543
544 (define-public python2-gpg
545 (package-with-python2 python-gpg))
546
547 (define-public python-pygpgme
548 (package
549 (name "python-pygpgme")
550 (version "0.3")
551 (source
552 (origin
553 (method url-fetch)
554 (uri (pypi-uri "pygpgme" version))
555 (sha256
556 (base32
557 "1q82p3gs6lwq8j8dxk4pvrwk3jpww1zqcjrzznl9clh10z28gn2z"))
558 ;; Unfortunately, we have to disable some tests due to some gpg-agent
559 ;; goofiness... see:
560 ;; https://bugs.launchpad.net/pygpgme/+bug/999949
561 (patches (search-patches "pygpgme-disable-problematic-tests.patch"
562 "python-pygpgme-fix-pinentry-tests.patch"))))
563 (arguments
564 `(#:phases
565 (modify-phases %standard-phases
566 (add-before 'build 'make-build
567 (lambda _ (invoke "make" "build")))
568 (replace 'check
569 (lambda _ (invoke "make" "check"))))))
570 (build-system python-build-system)
571 (native-inputs
572 `(("gnupg" ,gnupg-1)))
573 (inputs
574 `(("gpgme" ,gpgme)))
575 (home-page "https://launchpad.net/pygpgme")
576 (synopsis "Python module for working with OpenPGP messages")
577 (description
578 "PyGPGME is a Python module that lets you sign, verify, encrypt and
579 decrypt messages using the OpenPGP format by making use of GPGME.")
580 (license license:lgpl2.1+)))
581
582 (define-public python2-pygpgme
583 (package-with-python2 python-pygpgme))
584
585 (define-public python-gnupg
586 (package
587 (name "python-gnupg")
588 (version "0.4.4")
589 (source
590 (origin
591 (method url-fetch)
592 (uri (pypi-uri "python-gnupg" version))
593 (sha256
594 (base32
595 "03pvjyp6q9pr8qa22i38az06ddzhvzy5kj192hxa3gbhnchg1nj5"))))
596 (build-system python-build-system)
597 (arguments
598 `(#:phases
599 (modify-phases %standard-phases
600 (replace 'check
601 (lambda _
602 (substitute* "test_gnupg.py"
603 ;; Unsure why this test fails.
604 (("'test_search_keys'") "True")
605 (("def test_search_keys") "def disabled__search_keys"))
606 (setenv "USERNAME" "guixbuilder")
607 ;; The doctests are extremely slow and sometimes time out,
608 ;; so we disable them.
609 (invoke "python"
610 "test_gnupg.py" "--no-doctests"))))))
611 (native-inputs
612 `(("gnupg" ,gnupg-1)))
613 (home-page "https://packages.python.org/python-gnupg/index.html")
614 (synopsis "Wrapper for the GNU Privacy Guard")
615 (description
616 "This module allows easy access to GnuPG’s key management, encryption
617 and signature functionality from Python programs.")
618 (license license:bsd-3)))
619
620 (define-public python2-gnupg
621 (package-with-python2 python-gnupg))
622
623 (define-public perl-gnupg-interface
624 (package
625 (name "perl-gnupg-interface")
626 (version "0.52")
627 (source (origin
628 (method url-fetch)
629 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
630 "GnuPG-Interface-" version ".tar.gz"))
631 (sha256
632 (base32
633 "0dgx8yhdsmhkazcrz14n4flrk1afv7azgl003hl4arxvi1d9yyi4"))))
634 (build-system perl-build-system)
635 (arguments
636 `(#:phases
637 (modify-phases %standard-phases
638 ;; FIXME: This test fails for unknown reasons
639 (add-after 'unpack 'delete-broken-test
640 (lambda _
641 (delete-file "t/encrypt_symmetrically.t")
642 #t)))))
643 (inputs
644 `(("gnupg" ,gnupg-1)))
645 (propagated-inputs
646 `(("perl-moo" ,perl-moo)
647 ("perl-moox-handlesvia" ,perl-moox-handlesvia)
648 ("perl-moox-late" ,perl-moox-late)))
649 (native-inputs
650 `(("which" ,which)
651 ("perl-module-install" ,perl-module-install)))
652 (home-page "https://metacpan.org/release/GnuPG-Interface")
653 (synopsis "Perl interface to GnuPG")
654 (description "@code{GnuPG::Interface} and its associated modules are
655 designed to provide an object-oriented method for interacting with GnuPG,
656 being able to perform functions such as but not limited to encrypting,
657 signing, decryption, verification, and key-listing parsing.")
658 (license license:perl-license)))
659
660 (define-public pius
661 (package
662 (name "pius")
663 (version "2.2.7")
664 (source (origin
665 (method url-fetch)
666 (uri (string-append
667 "https://github.com/jaymzh/pius/releases/download/v"
668 version "/pius-" version ".tar.bz2"))
669 (sha256
670 (base32
671 "1nsl7czicv95j0gfz4s82ys3g3h2mwr6cq3ilid8bpz3iy7z4ipy"))))
672 (build-system python-build-system)
673 (inputs `(("perl" ,perl) ; for 'pius-party-worksheet'
674 ("gpg" ,gnupg)
675 ("python-six" ,python2-six)))
676 (arguments
677 `(#:tests? #f
678 #:python ,python-2 ; uses the Python 2 'print' syntax
679 #:phases
680 (modify-phases %standard-phases
681 (add-before
682 'build 'set-gpg-file-name
683 (lambda* (#:key inputs outputs #:allow-other-keys)
684 (let* ((gpg (string-append (assoc-ref inputs "gpg")
685 "/bin/gpg")))
686 (substitute* "libpius/constants.py"
687 (("/usr/bin/gpg2") gpg))
688 #t))))))
689 (synopsis "Programs to simplify GnuPG key signing")
690 (description
691 "Pius (PGP Individual UID Signer) helps attendees of PGP keysigning
692 parties. It is the main utility and makes it possible to quickly and easily
693 sign each UID on a set of PGP keys. It is designed to take the pain out of
694 the sign-all-the-keys part of PGP Keysigning Party while adding security
695 to the process.
696
697 pius-keyring-mgr and pius-party-worksheet help organisers of
698 PGP keysigning parties.")
699 (license license:gpl2)
700 (home-page "https://www.phildev.net/pius/index.shtml")))
701
702 (define-public signing-party
703 (package
704 (name "signing-party")
705 (version "2.10")
706 (home-page "https://salsa.debian.org/signing-party-team/signing-party")
707 (source (origin
708 (method git-fetch)
709 (uri (git-reference
710 (url home-page)
711 (commit (string-append "v" version))))
712 (file-name (git-file-name name version))
713 (sha256
714 (base32
715 "0lq8nmwjmysry0n4jg6vb7bh0lagbyb9pa11ii3s41p1mhzchf2r"))))
716 (build-system gnu-build-system)
717 (native-inputs
718 `(("autoconf" ,autoconf-wrapper)
719 ("automake" ,automake)))
720 (inputs `(("perl" ,perl)
721 ("perl-text-template" ,perl-text-template)
722 ("perl-mime-tools" ,perl-mime-tools)
723 ("perl-gnupg-interface" ,perl-gnupg-interface)
724 ("perl-net-idn-encode" ,perl-net-idn-encode)
725 ("libmd" ,libmd)))
726 (arguments
727 `(#:tests? #f ; no test suite
728 #:phases
729 (modify-phases %standard-phases
730 (replace 'configure
731 (lambda* (#:key outputs #:allow-other-keys)
732 (let ((out (assoc-ref outputs "out")))
733 (substitute* "keyanalyze/Makefile"
734 (("LDLIBS") (string-append "CC=" (which "gcc") "\nLDLIBS")))
735 (substitute* "keyanalyze/Makefile"
736 (("\\./configure") (string-append "./configure --prefix=" out)))
737 (substitute* "gpgwrap/Makefile"
738 (("\\} clean")
739 (string-append "} clean\ninstall:\n\tinstall -D bin/gpgwrap "
740 out "/bin/gpgwrap\n")))
741 (substitute* '("gpgsigs/Makefile" "keyanalyze/Makefile"
742 "keylookup/Makefile" "sig2dot/Makefile"
743 "springgraph/Makefile")
744 (("/usr") out))
745 (setenv "CONFIG_SHELL" (which "sh")))
746 #t))
747 (replace 'install
748 (lambda* (#:key outputs #:allow-other-keys #:rest args)
749 (let ((out (assoc-ref outputs "out"))
750 (install (assoc-ref %standard-phases 'install)))
751 (apply install args)
752 (for-each
753 (lambda (dir file)
754 (copy-file (string-append dir "/" file)
755 (string-append out "/bin/" file)))
756 '("caff" "caff" "caff" "gpgdir" "gpg-key2ps"
757 "gpglist" "gpg-mailkeys" "gpgparticipants")
758 '("caff" "pgp-clean" "pgp-fixkey" "gpgdir" "gpg-key2ps"
759 "gpglist" "gpg-mailkeys" "gpgparticipants"))
760 (for-each
761 (lambda (dir file)
762 (copy-file (string-append dir "/" file)
763 (string-append out "/share/man/man1/" file)))
764 '("caff" "caff" "caff" "gpgdir"
765 "gpg-key2ps" "gpglist" "gpg-mailkeys"
766 "gpgparticipants" "gpgsigs" "gpgwrap/doc"
767 "keyanalyze" "keyanalyze/pgpring" "keyanalyze")
768 '("caff.1" "pgp-clean.1" "pgp-fixkey.1" "gpgdir.1"
769 "gpg-key2ps.1" "gpglist.1" "gpg-mailkeys.1"
770 "gpgparticipants.1" "gpgsigs.1" "gpgwrap.1"
771 "process_keys.1" "pgpring.1" "keyanalyze.1")))
772 #t))
773 (add-after 'install 'wrap-programs
774 (lambda* (#:key outputs #:allow-other-keys)
775 (let* ((out (assoc-ref outputs "out")))
776 (wrap-program
777 (string-append out "/bin/caff")
778 `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
779 #t)))))
780 (synopsis "Collection of scripts for simplifying gnupg key signing")
781 (description
782 "Signing-party is a collection for all kinds of PGP/GnuPG related things,
783 including tools for signing keys, keyring analysis, and party preparation.
784 @enumerate
785 @item caff: CA - Fire and Forget signs and mails a key
786 @item pgp-clean: removes all non-self signatures from key
787 @item pgp-fixkey: removes broken packets from keys
788 @item gpg-mailkeys: simply mail out a signed key to its owner
789 @item gpg-key2ps: generate PostScript file with fingerprint paper strips
790 @item gpgdir: recursive directory encryption tool
791 @item gpglist: show who signed which of your UIDs
792 @item gpgsigs: annotates list of GnuPG keys with already done signatures
793 @item gpgparticipants: create list of party participants for the organiser
794 @item gpgwrap: a passphrase wrapper
795 @item keyanalyze: minimum signing distance (MSD) analysis on keyrings
796 @item keylookup: ncurses wrapper around gpg --search
797 @item sig2dot: converts a list of GnuPG signatures to a .dot file
798 @item springgraph: creates a graph from a .dot file
799 @end enumerate")
800 ;; gpl2+ for almost all programs, except for keyanalyze: gpl2
801 ;; and caff and gpgsigs: bsd-3, see
802 ;; http://packages.debian.org/changelogs/pool/main/s/signing-party/current/copyright
803 (license license:gpl2)))
804
805 (define-public pinentry-tty
806 (package
807 (name "pinentry-tty")
808 (version "1.1.0")
809 (source (origin
810 (method url-fetch)
811 (uri (string-append "mirror://gnupg/pinentry/pinentry-"
812 version ".tar.bz2"))
813 (sha256
814 (base32
815 "0w35ypl960pczg5kp6km3dyr000m1hf0vpwwlh72jjkjza36c1v8"))))
816 (build-system gnu-build-system)
817 (arguments
818 `(#:configure-flags '("--enable-pinentry-tty")))
819 (inputs
820 `(("ncurses" ,ncurses)
821 ("libassuan" ,libassuan)
822 ("libsecret" ,libsecret "out")))
823 (native-inputs
824 `(("pkg-config" ,pkg-config)))
825 (home-page "https://gnupg.org/aegypten2/")
826 (synopsis "GnuPG's interface to passphrase input")
827 (description
828 "Pinentry provides a console that allows users to enter a passphrase when
829 @code{gpg} is run and needs it.")
830 (license license:gpl2+)
831 (properties '((ftp-server . "ftp.gnupg.org")
832 (ftp-directory . "/gcrypt/pinentry")
833 (upstream-name . "pinentry")))))
834
835 (define-public pinentry-emacs
836 (package
837 (inherit pinentry-tty)
838 (name "pinentry-emacs")
839 (arguments
840 `(#:configure-flags '("--enable-pinentry-emacs")))
841 (description
842 "Pinentry provides a console and an Emacs interface that allows users to
843 enter a passphrase when required by @code{gpg} or other software.")))
844
845 (define-public pinentry-gtk2
846 (package
847 (inherit pinentry-tty)
848 (name "pinentry-gtk2")
849 (inputs
850 `(("gtk+" ,gtk+-2)
851 ("glib" ,glib)
852 ,@(package-inputs pinentry-tty)))
853 (description
854 "Pinentry provides a console and a GTK+ GUI that allows users to enter a
855 passphrase when @code{gpg} is run and needs it.")))
856
857 (define-public pinentry-gnome3
858 (package
859 (inherit pinentry-tty)
860 (name "pinentry-gnome3")
861 (inputs
862 `(("gtk+" ,gtk+-2)
863 ("gcr" ,gcr)
864 ("glib" ,glib)
865 ,@(package-inputs pinentry-tty)))
866 (arguments
867 `(#:configure-flags '("--enable-pinentry-gnome3")))
868 (description
869 "Pinentry provides a console and a GUI designed for use with GNOME@tie{}3
870 that allows users to enter a passphrase when required by @code{gpg} or other
871 software.")))
872
873 (define-public pinentry-qt
874 (package
875 (inherit pinentry-tty)
876 (name "pinentry-qt")
877 (inputs
878 `(("qtbase" ,qtbase)
879 ,@(package-inputs pinentry-tty)))
880 (description
881 "Pinentry provides a console and a Qt GUI that allows users to enter a
882 passphrase when @code{gpg} is run and needs it.")))
883
884 (define-public pinentry-efl
885 (package
886 (inherit pinentry-tty)
887 (name "pinentry-efl")
888 (source
889 (origin
890 (inherit (package-source pinentry-tty))
891 (patches (search-patches "pinentry-efl.patch"))))
892 (arguments
893 '(#:configure-flags '("--enable-pinentry-efl")
894 #:phases
895 (modify-phases %standard-phases
896 (replace 'bootstrap
897 (lambda _
898 (invoke "sh" "autogen.sh"))))))
899 (native-inputs
900 `(("autoconf" ,autoconf)
901 ("automake" ,automake)
902 ("gettext" ,gettext-minimal)
903 ,@(package-native-inputs pinentry-tty)))
904 (inputs
905 `(("efl" ,efl)
906 ,@(package-inputs pinentry-tty)))
907 (description
908 "Pinentry provides a console and a graphical interface for the
909 @dfn{Enlightenment Foundation Libraries} (EFL) that allows users to enter a
910 passphrase when @code{gpg} is run and needs it.")))
911
912 (define-public pinentry
913 (package (inherit pinentry-gtk2)
914 (name "pinentry")))
915
916 (define-public paperkey
917 (package
918 (name "paperkey")
919 (version "1.6")
920 (source (origin
921 (method url-fetch)
922 (uri (string-append "https://www.jabberwocky.com/"
923 "software/paperkey/paperkey-"
924 version ".tar.gz"))
925 (sha256
926 (base32
927 "1xq5gni6gksjkd5avg0zpd73vsr97appksfx0gx2m38s4w9zsid2"))))
928 (build-system gnu-build-system)
929 (arguments
930 `(#:phases
931 (modify-phases %standard-phases
932 (add-before 'check 'patch-check-scripts
933 (lambda _
934 (substitute* '("checks/roundtrip.sh"
935 "checks/roundtrip-raw.sh")
936 (("/bin/echo") "echo"))
937 #t)))))
938 (home-page "https://www.jabberwocky.com/software/paperkey/")
939 (synopsis "Backup OpenPGP keys to paper")
940 (description
941 "Paperkey extracts the secret bytes from an OpenPGP (GnuPG, PGP, etc) key
942 for printing with paper and ink, which have amazingly long retention
943 qualities. To reconstruct a secret key, you re-enter those
944 bytes (whether by hand, OCR, QR code, or the like) and paperkey can use
945 them to transform your existing public key into a secret key.")
946 (license license:gpl2+)))
947
948 (define-public pgpdump
949 (package
950 (name "pgpdump")
951 (version "0.33")
952 (source
953 (origin
954 (method url-fetch)
955 (uri (string-append "https://www.mew.org/~kazu/proj/pgpdump/pgpdump-"
956 version ".tar.gz"))
957 (sha256
958 (base32 "1j001jra2m89n6cys3n0hs574bipjdzfxhzpnd4jfyv95mqwl7n4"))))
959 (build-system gnu-build-system)
960 (arguments
961 `(#:tests? #f ; no make check
962 #:configure-flags (list "--prefix=/")
963 #:make-flags (list "CC=gcc"
964 (string-append "DESTDIR=" (assoc-ref %outputs "out")))))
965 (inputs
966 `(("zlib" ,zlib)))
967 (home-page "https://www.mew.org/~kazu/proj/pgpdump/en/")
968 (synopsis "PGP packet visualizer")
969 (description "pgpdump displays the sequence of OpenPGP or PGP version 2
970 packets from a file.
971
972 The output of this command is similar to GnuPG's list packets command,
973 however, pgpdump produces more detailed and easier to understand output.")
974 (license license:bsd-3)))
975
976 (define-public gpa
977 (package
978 (name "gpa")
979 (version "0.10.0")
980 (source (origin
981 (method url-fetch)
982 (uri (string-append "mirror://gnupg/gpa/"
983 name "-" version ".tar.bz2"))
984 (sha256
985 (base32
986 "1cbpc45f8qbdkd62p12s3q2rdq6fa5xdzwmcwd3xrj55bzkspnwm"))))
987 (build-system gnu-build-system)
988 (arguments
989 `(#:phases
990 (modify-phases %standard-phases
991 (add-after 'install 'wrap-program
992 (lambda* (#:key inputs outputs #:allow-other-keys)
993 (let ((out (assoc-ref outputs "out"))
994 (gnupg (assoc-ref inputs "gnupg")))
995 (wrap-program (string-append out "/bin/gpa")
996 `("PATH" ":" prefix (,(string-append gnupg "/bin"))))
997 #t))))))
998 (native-inputs
999 `(("pkg-config" ,pkg-config)))
1000 (inputs
1001 `(("gnupg" ,gnupg)
1002 ("gpgme" ,gpgme)
1003 ("libassuan" ,libassuan)
1004 ("libgpg-error" ,libgpg-error)
1005 ("gtk+-2" ,gtk+-2)))
1006 (home-page "https://gnupg.org/software/gpa/")
1007 (synopsis "Graphical user interface for GnuPG")
1008 (description
1009 "GPA, the GNU Privacy Assistant, is a graphical user interface for
1010 @uref{https://gnupg.org, GnuPG}. It can be used to encrypt, decrypt, and sign
1011 files, to verify signatures, and to manage the private and public keys.")
1012 (license license:gpl3+)
1013 (properties '((ftp-server . "ftp.gnupg.org")
1014 (ftp-directory . "/gcrypt/gpa")))))
1015
1016 (define-public parcimonie
1017 (package
1018 (name "parcimonie")
1019 (version "0.11.0")
1020 (source (origin
1021 (method url-fetch)
1022 (uri (string-append "https://gaffer.boum.org/intrigeri/files/"
1023 "parcimonie/App-Parcimonie-"
1024 version ".tar.gz"))
1025 (sha256
1026 (base32
1027 "14pvapvzrxh1yh8zgcj1llmc2dd8g1fgzskxlja21gmw8c88aqdk"))))
1028 (build-system perl-build-system)
1029 (inputs
1030 `(("gnupg" ,gnupg)
1031 ("perl-config-general" ,perl-config-general)
1032 ("perl-clone" ,perl-clone)
1033 ("perl-data" ,perl-data)
1034 ("perl-exporter-tiny" ,perl-exporter-tiny)
1035 ("perl-file-homedir" ,perl-file-homedir)
1036 ("perl-file-sharedir" ,perl-file-sharedir)
1037 ("perl-file-which" ,perl-file-which)
1038 ("perl-getopt-long-descriptive" ,perl-getopt-long-descriptive)
1039 ("perl-gnupg-interface" ,perl-gnupg-interface)
1040 ("perl-ipc-system-simple" ,perl-ipc-system-simple)
1041 ("perl-list-moreutils" ,perl-list-moreutils)
1042 ("perl-libintl-perl" ,perl-libintl-perl) ; Locale::TextDomain
1043 ("perl-lwp-online" ,perl-lwp-online)
1044 ("perl-module-build" ,perl-module-build)
1045 ("perl-module-pluggable-object" ,perl-module-pluggable)
1046 ("perl-moo" ,perl-moo)
1047 ("perl-moox-handlesvia" ,perl-moox-handlesvia)
1048 ("perl-moox-late" ,perl-moox-late)
1049 ("perl-moox-options" ,perl-moox-options)
1050 ("perl-moox-strictconstructor" ,perl-moox-strictconstructor)
1051 ("perl-namespace-clean" ,perl-namespace-clean)
1052 ("perl-net-dbus" ,perl-net-dbus)
1053 ("perl-net-dbus-glib" ,perl-net-dbus-glib)
1054 ("perl-path-tiny" ,perl-path-tiny)
1055 ("perl-strictures" ,perl-strictures-2)
1056 ("perl-test-most" ,perl-test-most)
1057 ("perl-test-trap" ,perl-test-trap)
1058 ("perl-time-duration" ,perl-time-duration)
1059 ("perl-time-duration-parse" ,perl-time-duration-parse)
1060 ("perl-try-tiny" ,perl-try-tiny)
1061 ("perl-type-tiny" ,perl-type-tiny)
1062 ("perl-types-path-tiny" ,perl-types-path-tiny)
1063 ("perl-unicode-linebreak" ,perl-unicode-linebreak)
1064 ("perl-xml-parser" ,perl-xml-parser)
1065 ("perl-xml-twig" ,perl-xml-twig)
1066 ("torsocks" ,torsocks)))
1067 (native-inputs
1068 `(("xorg-server" ,xorg-server-for-tests)))
1069 (arguments
1070 `(#:phases
1071 (modify-phases %standard-phases
1072 ;; Needed for using gpg-connect-agent during tests.
1073 (add-before 'check 'prepare-for-tests
1074 (lambda* (#:key inputs #:allow-other-keys)
1075 (let ((xorg-server (assoc-ref inputs "xorg-server")))
1076 (system (string-append xorg-server "/bin/Xvfb :1 &"))
1077 (setenv "DISPLAY" ":1")
1078 (setenv "HOME" "/tmp")
1079 ;; These tests are known to fail
1080 (delete-file "t/32-keyserver_defined_on_command_line.t")
1081 (delete-file "t/33-checkGpgHasDefinedKeyserver.t")
1082 ;; The applet is deprecated upstream.
1083 (delete-file "t/00-load_all.t")
1084 #t)))
1085 (add-before 'install 'fix-references
1086 (lambda* (#:key inputs outputs #:allow-other-keys)
1087 (substitute* "lib/App/Parcimonie/GnuPG/Interface.pm"
1088 ;; Skip check whether dependencies are in the PATH
1089 (("defined which.*") ""))
1090 #t))
1091 (add-after 'install 'wrap-program
1092 (lambda* (#:key inputs outputs #:allow-other-keys)
1093 (let* ((out (assoc-ref outputs "out"))
1094 (perllib (string-append out "/lib/perl5/site_perl/"
1095 ,(package-version perl))))
1096 (wrap-program (string-append out "/bin/parcimonie")
1097 `("PERL5LIB" ":"
1098 prefix (,(string-append perllib ":" (getenv "PERL5LIB")))))
1099 #t))))))
1100 (home-page "https://gaffer.boum.org/intrigeri/code/parcimonie/")
1101 (synopsis "Incrementally refreshes a GnuPG keyring")
1102 (description "Parcimonie incrementaly refreshes a GnuPG keyring in a way
1103 that makes it hard to correlate the keyring content to an individual, and
1104 makes it hard to locate an individual based on an identifying subset of her
1105 keyring content. Parcimonie is a daemon that fetches one key at a time using
1106 the Tor network, waits a bit, changes the Tor circuit being used, and starts
1107 over.")
1108 (license license:gpl1+)))
1109
1110 (define-public jetring
1111 (package
1112 (name "jetring")
1113 (version "0.29")
1114 (source
1115 (origin
1116 (method git-fetch)
1117 (uri (git-reference
1118 (url "https://salsa.debian.org/debian/jetring")
1119 (commit (string-append "debian/" version))))
1120 (file-name (git-file-name name version))
1121 (sha256
1122 (base32
1123 "1acbx2vnbkms1c0wgcnh05d4g359sg5z0aiw541vx2qq9sgdhlv6"))))
1124 (build-system gnu-build-system)
1125 (arguments
1126 '(#:phases
1127 (modify-phases %standard-phases
1128 (delete 'configure) ; no configure script
1129 (add-before 'install 'hardlink-gnupg
1130 (lambda* (#:key inputs #:allow-other-keys)
1131 (let ((gpg (string-append (assoc-ref inputs "gnupg")
1132 "/bin/gpg")))
1133 (substitute* (find-files "." "jetring-[[:alpha:]]+$")
1134 (("gpg -") (string-append gpg " -"))
1135 (("\\\"gpg\\\"") (string-append "\"" gpg "\"")))
1136 #t)))
1137 (replace 'install
1138 (lambda* (#:key outputs #:allow-other-keys)
1139 (let* ((out (assoc-ref outputs "out"))
1140 (man (string-append out "/share/man")))
1141 (for-each (lambda (file)
1142 (install-file file (string-append out "/bin/")))
1143 (find-files "." "jetring-[[:alpha:]]+$"))
1144 (for-each (lambda (file)
1145 (install-file file (string-append man "/man1/")))
1146 (find-files "." ".*\\.1$"))
1147 (install-file "jetring.7" (string-append man "/man7/"))
1148 #t))))
1149 #:tests? #f)) ; no test phase
1150 (inputs
1151 `(("gnupg" ,gnupg)
1152 ("perl" ,perl)))
1153 (home-page "https://joeyh.name/code/jetring/")
1154 (synopsis "GnuPG keyring maintenance using changesets")
1155 (description
1156 "Jetring is a collection of tools that allow for gpg keyrings to be
1157 maintained using changesets. It was developed with the Debian keyring in mind,
1158 and aims to solve the problem that a gpg keyring is a binary blob that's hard
1159 for multiple people to collaboratively edit.
1160
1161 With jetring, changesets can be submitted, reviewed to see exactly what they
1162 will do, applied, and used to build a keyring. The origin of every change made
1163 to the keyring is available for auditing, and gpg signatures can be used for
1164 integrity guarantees.")
1165 (license license:gpl2+)))