source: postlfs/security/gnupg2.xml@ 18b304df

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 18b304df was 1dee513, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to gnupg-2.2.18

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22402 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.9 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">
[1dee513]9 <!ENTITY gnupg2-md5sum "f449339d8110c54fc9279961a76cc636">
[4402a39]10 <!ENTITY gnupg2-size "6.4 MB">
[1dee513]11 <!ENTITY gnupg2-buildsize "150 MB (with all tests; add 24 MB for docs)">
12 <!ENTITY gnupg2-time "0.3 SBU (using parallelism=4; add 1.7 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 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GnuPG-&gnupg2-version;</title>
24
25 <indexterm zone="gnupg2">
[f82ac3f]26 <primary sortas="a-GnuPG">GnuPG</primary>
[618aef19]27 </indexterm>
28
29 <sect2 role="package">
[f82ac3f]30 <title>Introduction to GnuPG</title>
[618aef19]31
[f82ac3f]32 <para>The <application>GnuPG</application> package is GNU's tool for
[618aef19]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
[f82ac3f]38 S/MIME.</para>
[618aef19]39
[48bcac9]40 &lfs90_checked;
[477e290c]41
[618aef19]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&gnupg2-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&gnupg2-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &gnupg2-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &gnupg2-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &gnupg2-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &gnupg2-time;</para>
61 </listitem>
62 </itemizedlist>
63
[3e68554d]64 <bridgehead renderas="sect3">GnuPG 2 Dependencies</bridgehead>
[618aef19]65
66 <bridgehead renderas="sect4">Required</bridgehead>
[439d67f]67 <para role="required">
68 <xref linkend="libassuan"/>,
69 <xref linkend="libgcrypt"/>,
70 <xref linkend="libksba"/>, and
71 <xref linkend="npth"/>
72 </para>
[618aef19]73
[2af0daa7]74 <bridgehead renderas="sect4">Recommended</bridgehead>
[439d67f]75 <para role="recommended">
76 <xref linkend="pinentry"/> (Run-time requirement for most of
77 the package's functionality)
78 </para>
[618aef19]79
[2af0daa7]80 <bridgehead renderas="sect4">Optional</bridgehead>
[439d67f]81 <para role="optional">
82 <xref linkend="curl"/>,
[5718cff]83 <xref linkend="fuse3"/>,
[c5353a8]84 <xref linkend="gnutls"/>,
[1872da27]85 <xref linkend="imagemagick"/> (for the <command>convert</command> utility,
86 used for generating the documentation),
[227b44ff]87 <xref linkend="libusb"/>,
[d0b1879]88 an <xref linkend="server-mail"/>,
[5ee1266]89 <xref linkend="openldap"/>,
[3af9e1e9]90 <xref linkend="sqlite"/>,
[1872da27]91 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
[560b86d]92 <ulink url="http://mcj.sourceforge.net/">fig2dev</ulink> (for
[1872da27]93 generating documentation),
94 and <ulink url="http://www.chiark.greenend.org.uk/~ian/adns/">GNU
[d0b1879]95 adns</ulink>
96 </para>
[a41f643]97
[618aef19]98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/gnupg2"/></para>
100
101 </sect2>
102
103 <sect2 role="installation">
[f82ac3f]104 <title>Installation of GnuPG</title>
[5718cff]105 <!-- It's been well over three years. I think this can be commented for now.
[65d86241]106 <warning>
107 <para>
[ac3058f]108 If you are upgrading from gnupg prior to version 2.1, upstream
[4d7d99d]109 developers recommend backing up
110 <filename class="directory">~/.gnupg</filename> because some additional
111 configuration will probably be necessary and you could lose your keys.
[ac3058f]112 You can find instructions at
[65d86241]113 <ulink url="http://jo-ke.name/wp/?p=111"></ulink> and
114 <ulink url="https://wiki.archlinux.org/index.php/GnuPG#.22Lost.22_keys.2C_upgrading_to_gnupg_version_2.1"></ulink>.
115 </para>
116 </warning>
[5718cff]117 -->
[65d86241]118
[1dee513]119 <para>By default GnuPG doesn't install the deprecated gpg-zip script,
120 but it is still needed by some programs. Make GnuPG install it with:
[ee77a2cd]121 </para>
[ac3058f]122
[fdaae04]123<screen><userinput>sed -e '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' \
124 -i tools/Makefile.in</userinput></screen>
[9210a92]125
[f82ac3f]126 <para>Install <application>GnuPG</application> by running the following
[618aef19]127 commands:</para>
128
[fdaae04]129<screen><userinput>./configure --prefix=/usr \
130 --enable-symcryptrun \
[5718cff]131 --localstatedir=/var \
[2af0daa7]132 --docdir=/usr/share/doc/gnupg-&gnupg2-version; &amp;&amp;
[faf325d]133make &amp;&amp;
[618aef19]134
[85d2158]135makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &amp;&amp;
[a42c273]136makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi &amp;&amp;
137make -C doc html</userinput></screen>
[618aef19]138
[8aeb474]139 <para>If you have <xref linkend="texlive"/>
[f1e103a]140 installed and you wish to create documentation in alternate formats,
[55781c2]141 issue the following commands
142 (<ulink url="http://mcj.sourceforge.net/">fig2dev</ulink> is needed for
143 the ps format):</para>
[f1e103a]144
[a42c273]145<screen remap="doc"><userinput>make -C doc pdf ps</userinput></screen>
[618aef19]146
147 <para>To test the results, issue: <command>make check</command>.</para>
148
[3e68554d]149 <para>Note that if you have already installed
150 <application>GnuPG</application>, the instructions below will overwrite
151 <filename>/usr/share/man/man1/gpg-zip.1</filename>. Now, as the
152 <systemitem class="username">root</systemitem> user:</para>
[618aef19]153
[68d0ff78]154<screen role="root"><userinput>make install &amp;&amp;
[f1e103a]155
[aed3e6ec]156install -v -m755 -d /usr/share/doc/gnupg-&gnupg2-version;/html &amp;&amp;
[f1e103a]157install -v -m644 doc/gnupg_nochunks.html \
[aed3e6ec]158 /usr/share/doc/gnupg-&gnupg2-version;/html/gnupg.html &amp;&amp;
[f1e103a]159install -v -m644 doc/*.texi doc/gnupg.txt \
[a42c273]160 /usr/share/doc/gnupg-&gnupg2-version; &amp;&amp;
161install -v -m644 doc/gnupg.html/* \
162 /usr/share/doc/gnupg-&gnupg2-version;/html</userinput></screen>
163 <para>If you created alternate formats of the documentation, install them
[618aef19]164 using the following command as the
165 <systemitem class="username">root</systemitem> user:</para>
166
[a42c273]167<screen role="root"
168 remap="doc"><userinput>install -v -m644 doc/gnupg.{pdf,dvi,ps} \
[faf325d]169 /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
[618aef19]170
171 </sect2>
172
173 <sect2 role="commands">
174 <title>Command Explanations</title>
175
[fdaae04]176 <para><command>sed ... tools/Makefile.in</command>:
177 This command is needed to build the gpg-zip program.</para>
178
[a41f643]179 <para><parameter>--docdir=/usr/share/doc/gnupg-&gnupg2-version;</parameter>:
[2af0daa7]180 This switch changes the default docdir to <filename
181 class="directory">/usr/share/doc/gnupg-&gnupg2-version;</filename>.</para>
182
[a41f643]183 <para><parameter>--enable-symcryptrun</parameter>: This switch enables
[584ded4]184 building the symcryptrun program.</para>
[2af0daa7]185
[fa30d84]186 <para>
[ed07746]187 <option>--enable-all-tests</option>: allows more tests to be run with
[fa30d84]188 <command>make check</command>.
189 </para>
[ed07746]190
191 <para>
192 <option>--enable-g13</option>: This switch enables building the
193 g13 program.
194 </para>
[3af9e1e9]195
[618aef19]196 </sect2>
197
198 <sect2 role="content">
199 <title>Contents</title>
200
201 <segmentedlist>
202 <segtitle>Installed Programs</segtitle>
203 <segtitle>Installed Libraries</segtitle>
204 <segtitle>Installed Directories</segtitle>
205
206 <seglistitem>
[10023bb]207 <seg>addgnupghome, applygnupgdefaults, dirmngr, dirmngr-client, g13
208 (optional), gpg-agent, gpg-connect-agent, gpg, gpgconf, gpgparsemail,
[5718cff]209 gpgscm, gpgsm, gpgtar, gpgv, gpg-wks-server, gpg-zip, kbxutil,
210 symcryptrun, and watchgnupg</seg>
[618aef19]211 <seg>None</seg>
[39c6300]212 <seg>/usr/share/doc/gnupg-&gnupg2-version; and
213 /usr/share/gnupg</seg>
[618aef19]214 </seglistitem>
215 </segmentedlist>
216
217 <variablelist>
218 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
219 <?dbfo list-presentation="list"?>
220 <?dbhtml list-presentation="table"?>
221
222 <varlistentry id="addgnupghome">
223 <term><command>addgnupghome</command></term>
224 <listitem>
[5718cff]225 <para>is used to create and populate a user's
[618aef19]226 <filename class='directory'>~/.gnupg</filename> directories</para>
227 <indexterm zone="gnupg2 addgnupghome">
228 <primary sortas="b-addgnupghome">addgnupghome</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="applygnupgdefaults">
234 <term><command>applygnupgdefaults</command></term>
235 <listitem>
236 <para>is a wrapper script used to run <command>gpgconf</command>
237 with the <parameter>--apply-defaults</parameter> parameter on all
238 user's GnuPG home directories.</para>
239 <indexterm zone="gnupg2 applygnupgdefaults">
240 <primary sortas="b-applygnupgdefaults">applygnupgdefaults</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
[439d67f]245 <varlistentry id="dirmngr">
246 <term><command>dirmngr</command></term>
247 <listitem>
248 <para> is a tool that takes care of accessing the OpenPGP keyservers.
249 </para>
250 <indexterm zone="gnupg2 dirmngr">
251 <primary sortas="b-dirmngr">dirmngr</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="dirmngr-client">
257 <term><command>dirmngr-client</command></term>
258 <listitem>
259 <para> is a tool to contact a running dirmngr and test whether a
260 certificate has been revoked. </para>
261 <indexterm zone="gnupg2 dirmngr-client">
262 <primary sortas="b-dirmngr-client">dirmngr-client</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="g13">
268 <term><command>g13</command></term>
269 <listitem>
270 <para>is a tool to create, mount or unmount an encrypted file system
[3af9e1e9]271 container (optional).</para>
[439d67f]272 <indexterm zone="gnupg2 g13">
273 <primary sortas="b-g13">g13</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
[618aef19]278 <varlistentry id="gpg-agent">
279 <term><command>gpg-agent</command></term>
280 <listitem>
281 <para>is a daemon used to manage secret (private) keys independently
[68d0ff78]282 from any protocol. It is used as a backend for <command>gpg2</command>
[618aef19]283 and <command>gpgsm</command> as well as for a couple of other
284 utilities.</para>
285 <indexterm zone="gnupg2 gpg-agent">
286 <primary sortas="b-gpg-agent">gpg-agent</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="gpg-connect-agent">
292 <term><command>gpg-connect-agent</command></term>
293 <listitem>
294 <para>is a utility used to communicate with a running
295 <command>gpg-agent</command>.</para>
296 <indexterm zone="gnupg2 gpg-connect-agent">
297 <primary sortas="b-gpg-connect-agent">gpg-connect-agent</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
[68d0ff78]302 <varlistentry id="gpg">
303 <term><command>gpg</command></term>
[618aef19]304 <listitem>
305 <para>is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a
306 tool used to provide digital encryption and signing services using
307 the OpenPGP standard.</para>
[92d2b83]308 <indexterm zone="gnupg2 gpg">
309 <primary sortas="b-gpg">gpg</primary>
[618aef19]310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="gpgconf">
315 <term><command>gpgconf</command></term>
316 <listitem>
[97ccf649]317 <para>is a utility used to automatically and reasonably safely
[618aef19]318 query and modify configuration files in the
319 <filename class='directory'>~/.gnupg</filename> home directory. It is
320 designed not to be invoked manually by the user, but automatically by
321 graphical user interfaces.</para>
322 <indexterm zone="gnupg2 gpgconf">
323 <primary sortas="b-gpgconf">gpgconf</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="gpgparsemail">
329 <term><command>gpgparsemail</command></term>
330 <listitem>
331 <para>is a utility currently only useful for debugging. Run it with
332 <parameter>--help</parameter> for usage information.</para>
333 <indexterm zone="gnupg2 gpgparsemail">
334 <primary sortas="b-gpgparsemail">gpgparsemail</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
[6f13fc0b]339 <varlistentry id="gpgscm">
340 <term><command>gpgscm</command></term>
341 <listitem>
342 <para>executes the given scheme program or spawns an interactive
343 shell.</para>
344 <indexterm zone="gnupg2 gpgscm">
345 <primary sortas="b-gpgscm">gpgscm</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
[618aef19]350 <varlistentry id="gpgsm">
351 <term><command>gpgsm</command></term>
352 <listitem>
[68d0ff78]353 <para>is a tool similar to <command>gpg2</command> used to provide
[618aef19]354 digital encryption and signing services on X.509 certificates and the
355 CMS protocol. It is mainly used as a backend for S/MIME mail
356 processing.</para>
357 <indexterm zone="gnupg2 gpgsm">
358 <primary sortas="b-gpgsm">gpgsm</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
[439d67f]363 <varlistentry id="gpgtar">
364 <term><command>gpgtar</command></term>
365 <listitem>
366 <para> is a tool to encrypt or sign files into an archive.</para>
367 <indexterm zone="gnupg2 gpgtar">
368 <primary sortas="b-gpgtar">gpgtar</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
[68d0ff78]373 <varlistentry id="gpgv">
374 <term><command>gpgv</command></term>
375 <listitem>
[92d2b83]376 <para>is a verify only version of <command>gpg2</command>.</para>
[68d0ff78]377 <indexterm zone="gnupg2 gpgv">
378 <primary sortas="b-gpgv">gpgv</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
[5718cff]383 <varlistentry id="gpg-wks-server">
384 <term><command>gpg-wks-server</command></term>
385 <listitem>
386 <para>provides a server for the
387 <application>Web Key Service</application> protocol.</para>
388 <indexterm zone="gnupg2 gpg-wks-server">
389 <primary sortas="b-gpg-wks-server">gpg-wks-server</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
[fdaae04]394 <varlistentry id="gpg-zip">
395 <term><command>gpg-zip</command></term>
396 <listitem>
[5718cff]397 <para>encrypts or signs files into an archive.</para>
[fdaae04]398 <indexterm zone="gnupg2 gpg-zip">
399 <primary sortas="b-gpg-zip">gpg-zip</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
[618aef19]404 <varlistentry id="kbxutil">
405 <term><command>kbxutil</command></term>
406 <listitem>
407 <para>is used to list, export and import Keybox data.</para>
408 <indexterm zone="gnupg2 kbxutil">
409 <primary sortas="b-kbxutil">kbxutil</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
[584ded4]414 <varlistentry id="symcryptrun">
415 <term><command>symcryptrun</command></term>
416 <listitem>
417 <para>is a simple symmetric encryption tool.</para>
418 <indexterm zone="gnupg2 symcryptrun">
419 <primary sortas="b-symcryptrun">symcryptrun</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
[618aef19]424 <varlistentry id="watchgnupg">
425 <term><command>watchgnupg</command></term>
426 <listitem>
427 <para>is used to listen to a Unix Domain socket created by any of
428 the GnuPG tools.</para>
429 <indexterm zone="gnupg2 watchgnupg">
430 <primary sortas="b-watchgnupg">watchgnupg</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
435 </variablelist>
436
437 </sect2>
438
439</sect1>
Note: See TracBrowser for help on using the repository browser.