source: postlfs/security/gnupg2.xml@ 85d2158

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 85d2158 was 85d2158, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to mlt-6.8.0.
Update to xdg-utils-1.1.3.
Update to feh-2.26.3.
Update to nghttp2-1.32.0.
Update to libsoup-2.62.2.
Update to gnupg-2.2.7.

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

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