source: postlfs/security/gnupg2.xml@ 59eea9d

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 59eea9d was 59eea9d, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Package updates and tags
Update to ibus-1.5.25.
Update to cups-filters-1.28.10.

  • Property mode set to 100644
File size: 16.8 KB
RevLine 
[618aef19]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY gnupg2-download-http "&gnupg-http;/gnupg/gnupg-&gnupg2-version;.tar.bz2">
[ee77a2cd]8 <!ENTITY gnupg2-download-ftp "&gnupg-ftp;/gnupg/gnupg-&gnupg2-version;.tar.bz2">
[7b7ef4cc]9 <!ENTITY gnupg2-md5sum "5db3334b528cf756b1e583db01319a24">
[f455d4a]10 <!ENTITY gnupg2-size "6.9 MB">
[7b7ef4cc]11 <!ENTITY gnupg2-buildsize "143 MB (with all tests; add 25 MB for docs)">
[28152d6]12 <!ENTITY gnupg2-time "0.4 SBU (using parallelism=4; add 1.5 SBU for tests)">
[618aef19]13]>
14
15<sect1 id="gnupg2" xreflabel="GnuPG-&gnupg2-version;">
[f82ac3f]16 <?dbhtml filename="gnupg.html"?>
[618aef19]17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>GnuPG-&gnupg2-version;</title>
23
24 <indexterm zone="gnupg2">
[f82ac3f]25 <primary sortas="a-GnuPG">GnuPG</primary>
[618aef19]26 </indexterm>
27
28 <sect2 role="package">
[f82ac3f]29 <title>Introduction to GnuPG</title>
[618aef19]30
[47274444]31 <para>
32 The <application>GnuPG</application> package is GNU's tool for
33 secure communication and data storage. It can be used to encrypt data and
34 to create digital signatures. It includes an advanced key management
35 facility and is compliant with the proposed OpenPGP Internet standard as
36 described in RFC2440 and the S/MIME standard as described by several RFCs.
37 GnuPG 2 is the stable version of GnuPG integrating support for OpenPGP and
38 S/MIME.
39 </para>
[618aef19]40
[59eea9d]41 &lfs110_checked;
[477e290c]42
[618aef19]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[47274444]46 <para>
47 Download (HTTP): <ulink url="&gnupg2-download-http;"/>
48 </para>
[618aef19]49 </listitem>
50 <listitem>
[47274444]51 <para>
52 Download (FTP): <ulink url="&gnupg2-download-ftp;"/>
53 </para>
[618aef19]54 </listitem>
55 <listitem>
[47274444]56 <para>
57 Download MD5 sum: &gnupg2-md5sum;
58 </para>
[618aef19]59 </listitem>
60 <listitem>
[47274444]61 <para>
62 Download size: &gnupg2-size;
63 </para>
[618aef19]64 </listitem>
65 <listitem>
[47274444]66 <para>
67 Estimated disk space required: &gnupg2-buildsize;
68 </para>
[618aef19]69 </listitem>
70 <listitem>
[47274444]71 <para>
72 Estimated build time: &gnupg2-time;
73 </para>
[618aef19]74 </listitem>
75 </itemizedlist>
76
[3e68554d]77 <bridgehead renderas="sect3">GnuPG 2 Dependencies</bridgehead>
[618aef19]78
79 <bridgehead renderas="sect4">Required</bridgehead>
[439d67f]80 <para role="required">
81 <xref linkend="libassuan"/>,
82 <xref linkend="libgcrypt"/>,
83 <xref linkend="libksba"/>, and
84 <xref linkend="npth"/>
85 </para>
[618aef19]86
[2af0daa7]87 <bridgehead renderas="sect4">Recommended</bridgehead>
[439d67f]88 <para role="recommended">
[45fc41c7]89 <xref linkend="gnutls"/> (required to communicate with keyservers
90 using https or hkps protocol) and
[439d67f]91 <xref linkend="pinentry"/> (Run-time requirement for most of
92 the package's functionality)
93 </para>
[618aef19]94
[2af0daa7]95 <bridgehead renderas="sect4">Optional</bridgehead>
[439d67f]96 <para role="optional">
97 <xref linkend="curl"/>,
[5718cff]98 <xref linkend="fuse3"/>,
[1872da27]99 <xref linkend="imagemagick"/> (for the <command>convert</command> utility,
100 used for generating the documentation),
[227b44ff]101 <xref linkend="libusb"/>,
[d0b1879]102 an <xref linkend="server-mail"/>,
[5ee1266]103 <xref linkend="openldap"/>,
[3af9e1e9]104 <xref linkend="sqlite"/>,
[1872da27]105 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
[560b86d]106 <ulink url="http://mcj.sourceforge.net/">fig2dev</ulink> (for
[1872da27]107 generating documentation),
108 and <ulink url="http://www.chiark.greenend.org.uk/~ian/adns/">GNU
[d0b1879]109 adns</ulink>
110 </para>
[a41f643]111
[618aef19]112 <para condition="html" role="usernotes">User Notes:
113 <ulink url="&blfs-wiki;/gnupg2"/></para>
114
115 </sect2>
116
117 <sect2 role="installation">
[f82ac3f]118 <title>Installation of GnuPG</title>
[47274444]119
120 <para>
121 By default GnuPG doesn't install the deprecated gpg-zip script,
122 but it is still needed by some programs. Make GnuPG install it with:
[ee77a2cd]123 </para>
[ac3058f]124
[fdaae04]125<screen><userinput>sed -e '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' \
126 -i tools/Makefile.in</userinput></screen>
[9210a92]127
[7b7ef4cc]128<!-- Seems to be resolved in 2.2.29
[eede1a3]129 <para>
130 Fix a issue causing build failure if
131 <application>OpenLDAP</application> is not installed:
132 </para>
133
134<screen><userinput>sed -e '737a #if USE_LDAP' \
135 -e '760a #endif' \
136 -i dirmngr/dirmngr.c</userinput></screen>
[7b7ef4cc]137-->
[eede1a3]138
[47274444]139 <para>
140 Install <application>GnuPG</application> by running the following
141 commands:
142 </para>
[618aef19]143
[fdaae04]144<screen><userinput>./configure --prefix=/usr \
[5718cff]145 --localstatedir=/var \
[ceb9fde2]146 --sysconfdir=/etc \
[2af0daa7]147 --docdir=/usr/share/doc/gnupg-&gnupg2-version; &amp;&amp;
[faf325d]148make &amp;&amp;
[618aef19]149
[85d2158]150makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &amp;&amp;
[a42c273]151makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi &amp;&amp;
152make -C doc html</userinput></screen>
[618aef19]153
[47274444]154 <para>
155 If you have <xref linkend="texlive"/>
156 installed and you wish to create documentation in alternate formats,
157 issue the following commands
158 (<ulink url="http://mcj.sourceforge.net/">fig2dev</ulink> is needed for
159 the ps format):
160 </para>
[f1e103a]161
[a42c273]162<screen remap="doc"><userinput>make -C doc pdf ps</userinput></screen>
[618aef19]163
[47274444]164 <para>
165 To test the results, issue: <command>make check</command>.
166 </para>
[618aef19]167
[47274444]168 <para>
169 Note that if you have already installed
170 <application>GnuPG</application>, the instructions below will overwrite
171 <filename>/usr/share/man/man1/gpg-zip.1</filename>. Now, as the
172 <systemitem class="username">root</systemitem> user:
173 </para>
[618aef19]174
[68d0ff78]175<screen role="root"><userinput>make install &amp;&amp;
[f1e103a]176
[aed3e6ec]177install -v -m755 -d /usr/share/doc/gnupg-&gnupg2-version;/html &amp;&amp;
[f1e103a]178install -v -m644 doc/gnupg_nochunks.html \
[aed3e6ec]179 /usr/share/doc/gnupg-&gnupg2-version;/html/gnupg.html &amp;&amp;
[f1e103a]180install -v -m644 doc/*.texi doc/gnupg.txt \
[a42c273]181 /usr/share/doc/gnupg-&gnupg2-version; &amp;&amp;
182install -v -m644 doc/gnupg.html/* \
183 /usr/share/doc/gnupg-&gnupg2-version;/html</userinput></screen>
[47274444]184 <para>
185 If you created alternate formats of the documentation, install them
186 using the following command as the
187 <systemitem class="username">root</systemitem> user:
188 </para>
[618aef19]189
[a42c273]190<screen role="root"
191 remap="doc"><userinput>install -v -m644 doc/gnupg.{pdf,dvi,ps} \
[faf325d]192 /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
[618aef19]193
194 </sect2>
195
196 <sect2 role="commands">
197 <title>Command Explanations</title>
198
[47274444]199 <para>
200 <command>sed ... tools/Makefile.in</command>:
201 This command is needed to build the gpg-zip program.
202 </para>
[fdaae04]203
[47274444]204 <para>
205 <parameter>--docdir=/usr/share/doc/gnupg-&gnupg2-version;</parameter>:
206 This switch changes the default docdir to <filename
207 class="directory">/usr/share/doc/gnupg-&gnupg2-version;</filename>.
208 </para>
[2af0daa7]209
[6cbbb2d]210<!-- Unrecognized in 2.2.26, seems to get built automatically now.
[47274444]211 <para>
[6cbbb2d]212 <parameter>- -enable-symcryptrun</parameter>: This switch enables
[47274444]213 building the symcryptrun program.
214 </para>
[6cbbb2d]215-->
[fa30d84]216 <para>
[7b7ef4cc]217 <option>--enable-all-tests</option>: This switch allows more tests to be
218 run with <command>make check</command>.
[fa30d84]219 </para>
[ed07746]220
221 <para>
222 <option>--enable-g13</option>: This switch enables building the
223 g13 program.
224 </para>
[3af9e1e9]225
[618aef19]226 </sect2>
227
228 <sect2 role="content">
229 <title>Contents</title>
230
231 <segmentedlist>
232 <segtitle>Installed Programs</segtitle>
233 <segtitle>Installed Libraries</segtitle>
234 <segtitle>Installed Directories</segtitle>
235
236 <seglistitem>
[10023bb]237 <seg>addgnupghome, applygnupgdefaults, dirmngr, dirmngr-client, g13
238 (optional), gpg-agent, gpg-connect-agent, gpg, gpgconf, gpgparsemail,
[f455d4a]239 gpgscm, gpgsm, gpgsplit, gpgtar, gpgv, gpg-wks-server, gpg-zip, kbxutil,
[c513d6e6]240 <!--symcryptrun,--> and watchgnupg</seg>
[618aef19]241 <seg>None</seg>
[39c6300]242 <seg>/usr/share/doc/gnupg-&gnupg2-version; and
243 /usr/share/gnupg</seg>
[618aef19]244 </seglistitem>
245 </segmentedlist>
246
247 <variablelist>
248 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
249 <?dbfo list-presentation="list"?>
250 <?dbhtml list-presentation="table"?>
251
252 <varlistentry id="addgnupghome">
253 <term><command>addgnupghome</command></term>
254 <listitem>
[47274444]255 <para>
256 is used to create and populate a user's
[4c24eb0a]257 <filename class="directory">~/.gnupg</filename> directories
[47274444]258 </para>
[618aef19]259 <indexterm zone="gnupg2 addgnupghome">
260 <primary sortas="b-addgnupghome">addgnupghome</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="applygnupgdefaults">
266 <term><command>applygnupgdefaults</command></term>
267 <listitem>
[47274444]268 <para>
269 is a wrapper script used to run <command>gpgconf</command>
270 with the <parameter>--apply-defaults</parameter> parameter on all
[4c24eb0a]271 user's GnuPG home directories
[47274444]272 </para>
[618aef19]273 <indexterm zone="gnupg2 applygnupgdefaults">
274 <primary sortas="b-applygnupgdefaults">applygnupgdefaults</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
[439d67f]279 <varlistentry id="dirmngr">
280 <term><command>dirmngr</command></term>
281 <listitem>
[47274444]282 <para>
[4c24eb0a]283 is a tool that takes care of accessing the OpenPGP keyservers
[439d67f]284 </para>
285 <indexterm zone="gnupg2 dirmngr">
286 <primary sortas="b-dirmngr">dirmngr</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="dirmngr-client">
292 <term><command>dirmngr-client</command></term>
293 <listitem>
[47274444]294 <para>
295 is a tool to contact a running dirmngr and test whether a
[4c24eb0a]296 certificate has been revoked
[47274444]297 </para>
[439d67f]298 <indexterm zone="gnupg2 dirmngr-client">
299 <primary sortas="b-dirmngr-client">dirmngr-client</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="g13">
305 <term><command>g13</command></term>
306 <listitem>
[47274444]307 <para>
308 is a tool to create, mount or unmount an encrypted file system
[4c24eb0a]309 container (optional)
[47274444]310 </para>
[439d67f]311 <indexterm zone="gnupg2 g13">
312 <primary sortas="b-g13">g13</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
[618aef19]317 <varlistentry id="gpg-agent">
318 <term><command>gpg-agent</command></term>
319 <listitem>
[47274444]320 <para>
321 is a daemon used to manage secret (private) keys independently
322 from any protocol. It is used as a backend for
[45fc41c7]323 <command>gpg</command> and <command>gpgsm</command> as well as
[4c24eb0a]324 for a couple of other utilities
[47274444]325 </para>
[618aef19]326 <indexterm zone="gnupg2 gpg-agent">
327 <primary sortas="b-gpg-agent">gpg-agent</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="gpg-connect-agent">
333 <term><command>gpg-connect-agent</command></term>
334 <listitem>
[47274444]335 <para>
336 is a utility used to communicate with a running
[4c24eb0a]337 <command>gpg-agent</command>
[47274444]338 </para>
[618aef19]339 <indexterm zone="gnupg2 gpg-connect-agent">
340 <primary sortas="b-gpg-connect-agent">gpg-connect-agent</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
[68d0ff78]345 <varlistentry id="gpg">
346 <term><command>gpg</command></term>
[618aef19]347 <listitem>
[47274444]348 <para>
349 is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a
350 tool used to provide digital encryption and signing services using
[4c24eb0a]351 the OpenPGP standard
[47274444]352 </para>
[92d2b83]353 <indexterm zone="gnupg2 gpg">
354 <primary sortas="b-gpg">gpg</primary>
[618aef19]355 </indexterm>
356 </listitem>
357 </varlistentry>
358
359 <varlistentry id="gpgconf">
360 <term><command>gpgconf</command></term>
361 <listitem>
[47274444]362 <para>
363 is a utility used to automatically and reasonably safely
364 query and modify configuration files in the
[4c24eb0a]365 <filename class="directory">~/.gnupg</filename> home directory. It
[47274444]366 is designed not to be invoked manually by the user, but
[4c24eb0a]367 automatically by graphical user interfaces
[47274444]368 </para>
[618aef19]369 <indexterm zone="gnupg2 gpgconf">
370 <primary sortas="b-gpgconf">gpgconf</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="gpgparsemail">
376 <term><command>gpgparsemail</command></term>
377 <listitem>
[47274444]378 <para>
379 is a utility currently only useful for debugging. Run it with
[4c24eb0a]380 <parameter>--help</parameter> for usage information
[47274444]381 </para>
[618aef19]382 <indexterm zone="gnupg2 gpgparsemail">
383 <primary sortas="b-gpgparsemail">gpgparsemail</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
[6f13fc0b]388 <varlistentry id="gpgscm">
389 <term><command>gpgscm</command></term>
390 <listitem>
[47274444]391 <para>
[4c24eb0a]392 executes the given scheme program or spawns an interactive shell
[47274444]393 </para>
[6f13fc0b]394 <indexterm zone="gnupg2 gpgscm">
395 <primary sortas="b-gpgscm">gpgscm</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
[618aef19]400 <varlistentry id="gpgsm">
401 <term><command>gpgsm</command></term>
402 <listitem>
[47274444]403 <para>
[45fc41c7]404 is a tool similar to <command>gpg</command> used to provide
[47274444]405 digital encryption and signing services on X.509 certificates and
406 the CMS protocol. It is mainly used as a backend for S/MIME mail
[4c24eb0a]407 processing
[47274444]408 </para>
[618aef19]409 <indexterm zone="gnupg2 gpgsm">
410 <primary sortas="b-gpgsm">gpgsm</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
[f455d4a]415 <varlistentry id="gpgsplit">
416 <term><command>gpgsplit</command></term>
417 <listitem>
418 <para>
[4c24eb0a]419 splits an OpenPGP message into packets
[f455d4a]420 </para>
421 <indexterm zone="gnupg2 gpgsplit">
422 <primary sortas="b-gpgsplit">gpgsplit</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
[439d67f]427 <varlistentry id="gpgtar">
428 <term><command>gpgtar</command></term>
429 <listitem>
[47274444]430 <para>
[4c24eb0a]431 is a tool to encrypt or sign files into an archive
[47274444]432 </para>
[439d67f]433 <indexterm zone="gnupg2 gpgtar">
434 <primary sortas="b-gpgtar">gpgtar</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
[68d0ff78]439 <varlistentry id="gpgv">
440 <term><command>gpgv</command></term>
441 <listitem>
[47274444]442 <para>
[45fc41c7]443 is a verify only version of <command>gpg</command>
[47274444]444 </para>
[68d0ff78]445 <indexterm zone="gnupg2 gpgv">
446 <primary sortas="b-gpgv">gpgv</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
450
[5718cff]451 <varlistentry id="gpg-wks-server">
452 <term><command>gpg-wks-server</command></term>
453 <listitem>
[47274444]454 <para>
455 provides a server for the
[4c24eb0a]456 <application>Web Key Service</application> protocol
[47274444]457 </para>
[5718cff]458 <indexterm zone="gnupg2 gpg-wks-server">
459 <primary sortas="b-gpg-wks-server">gpg-wks-server</primary>
460 </indexterm>
461 </listitem>
462 </varlistentry>
463
[fdaae04]464 <varlistentry id="gpg-zip">
465 <term><command>gpg-zip</command></term>
466 <listitem>
[47274444]467 <para>
[4c24eb0a]468 encrypts or signs files into an archive
[47274444]469 </para>
[fdaae04]470 <indexterm zone="gnupg2 gpg-zip">
471 <primary sortas="b-gpg-zip">gpg-zip</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
[618aef19]476 <varlistentry id="kbxutil">
477 <term><command>kbxutil</command></term>
478 <listitem>
[47274444]479 <para>
[4c24eb0a]480 is used to list, export and import Keybox data
[47274444]481 </para>
[618aef19]482 <indexterm zone="gnupg2 kbxutil">
483 <primary sortas="b-kbxutil">kbxutil</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
[c513d6e6]488 <!--
[584ded4]489 <varlistentry id="symcryptrun">
490 <term><command>symcryptrun</command></term>
491 <listitem>
[47274444]492 <para>
493 is a simple symmetric encryption tool.
494 </para>
[584ded4]495 <indexterm zone="gnupg2 symcryptrun">
496 <primary sortas="b-symcryptrun">symcryptrun</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
[c513d6e6]500-->
[618aef19]501 <varlistentry id="watchgnupg">
502 <term><command>watchgnupg</command></term>
503 <listitem>
[47274444]504 <para>
505 is used to listen to a Unix Domain socket created by any of
[4c24eb0a]506 the GnuPG tools
[47274444]507 </para>
[618aef19]508 <indexterm zone="gnupg2 watchgnupg">
509 <primary sortas="b-watchgnupg">watchgnupg</primary>
510 </indexterm>
511 </listitem>
512 </varlistentry>
513
514 </variablelist>
515
516 </sect2>
517
518</sect1>
Note: See TracBrowser for help on using the repository browser.