source: postlfs/security/gnupg2.xml@ f720ace1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym 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 f720ace1 was f720ace1, checked in by Ken Moffat <ken@…>, 9 years ago

Final '(or install-tl-unx)' xrefs.

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

  • Property mode set to 100644
File size: 13.6 KB
Line 
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
7 <!ENTITY gnupg2-download-http " ">
8 <!ENTITY gnupg2-download-ftp "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-&gnupg2-version;.tar.bz2">
9 <!ENTITY gnupg2-md5sum "fa7e704aad33eb114d1840164455aec1">
10 <!ENTITY gnupg2-size "4.2 MB">
11 <!ENTITY gnupg2-buildsize "68 MB">
12 <!ENTITY gnupg2-time "0.6 SBU (additional 0.5 SBU for the tests)">
13]>
14
15<sect1 id="gnupg2" xreflabel="GnuPG-&gnupg2-version;">
16 <?dbhtml filename="gnupg.html"?>
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">
26 <primary sortas="a-GnuPG">GnuPG</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GnuPG</title>
31
32 <para>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.</para>
39
40 &lfs76_checked;
41
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
64 <bridgehead renderas="sect3">GnuPG 2 Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Required</bridgehead>
67 <para role="required"><xref linkend="pth"/>,
68 <xref linkend="libassuan"/>,
69 <xref linkend="libgcrypt"/>, and
70 <xref linkend="libksba"/></para>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended"><xref linkend="pinentry"/> (Run-time requirement for most of
74 the package's functionality)</para>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional"><xref linkend="openldap"/>,
78 <xref linkend="libusb-compat"/>,
79 <xref linkend="curl"/>,
80 <ulink url="http://www.chiark.greenend.org.uk/~ian/adns/">GNU
81 adns</ulink>, an
82 <xref linkend="server-mail"/>, and
83 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)</para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/gnupg2"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of GnuPG</title>
92
93 <para>Install <application>GnuPG</application> by running the following
94 commands:</para>
95
96<screen><userinput>./configure --prefix=/usr \
97 --enable-symcryptrun \
98 --docdir=/usr/share/doc/gnupg-&gnupg2-version; &amp;&amp;
99make &amp;&amp;
100
101makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &amp;&amp;
102makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi</userinput></screen>
103
104 <para>If you have <xref linkend="texlive"/>
105 installed and you wish to create documentation in alternate formats,
106 issue the following commands:</para>
107
108<screen><userinput>make -C doc pdf ps html</userinput></screen>
109
110 <para>To test the results, issue: <command>make check</command>.</para>
111
112 <para>Note that if you have already installed
113 <application>GnuPG</application>, the instructions below will overwrite
114 <filename>/usr/share/man/man1/gpg-zip.1</filename>. Now, as the
115 <systemitem class="username">root</systemitem> user:</para>
116
117<screen role="root"><userinput>make install &amp;&amp;
118
119install -v -m755 -d /usr/share/doc/gnupg-&gnupg2-version;/html &amp;&amp;
120install -v -m644 doc/gnupg_nochunks.html \
121 /usr/share/doc/gnupg-&gnupg2-version;/gnupg.html &amp;&amp;
122install -v -m644 doc/*.texi doc/gnupg.txt \
123 /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
124
125 <para>We recommend the creation of symlinks for compatibility with the first
126 version of GnuPG, because some programs or scripts need them. Issue, as
127 <systemitem class="username">root</systemitem> user:</para>
128
129<screen role="root"><userinput>for f in gpg gpgv
130do
131 ln -svf ${f}2.1 /usr/share/man/man1/$f.1 &amp;&amp;
132 ln -svf ${f}2 /usr/bin/$f
133done
134unset f</userinput></screen>
135
136 <para>If you created alternate formats of the documentation, install it
137 using the following command as the
138 <systemitem class="username">root</systemitem> user:</para>
139
140<screen role="root"><userinput>install -v -m644 doc/gnupg.html/* \
141 /usr/share/doc/gnupg-&gnupg2-version;/html &amp;&amp;
142install -v -m644 doc/gnupg.{pdf,dvi,ps} \
143 /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
144
145 </sect2>
146
147 <sect2 role="commands">
148 <title>Command Explanations</title>
149
150 <para><parameter>--docdir=/usr/share/doc/gnupg-&gnupg2-version;</parameter>:
151 This switch changes the default docdir to <filename
152 class="directory">/usr/share/doc/gnupg-&gnupg2-version;</filename>.</para>
153
154 <para><parameter>--enable-symcryptrun</parameter>: This switch enables
155 building the symcryptrun program.</para>
156
157 </sect2>
158
159 <sect2 role="content">
160 <title>Contents</title>
161
162 <segmentedlist>
163 <segtitle>Installed Programs</segtitle>
164 <segtitle>Installed Libraries</segtitle>
165 <segtitle>Installed Directories</segtitle>
166
167 <seglistitem>
168 <seg>addgnupghome, applygnupgdefaults, gnupg-pcsc-wrapper, gpg,
169 gpg-agent, gpg-check-pattern, gpg-connect-agent, gpg-preset-passphrase,
170 gpg-protect-tool, gpg2, gpg2keys_curl, gpg2keys_finger, gpg2keys_hkp,
171 gpg2keys_ldap, gpgconf, gpgkey2ssh, gpgparsemail, gpgsm,
172 gpgsm-gencert.sh, gpgv, gpgv2, kbxutil, scdaemon, symcryptrun,
173 and watchgnupg</seg>
174 <seg>None</seg>
175 <seg>/usr/share/doc/gnupg-&gnupg2-version; and
176 /usr/share/gnupg</seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="addgnupghome">
186 <term><command>addgnupghome</command></term>
187 <listitem>
188 <para>is used to create and populate user's
189 <filename class='directory'>~/.gnupg</filename> directories</para>
190 <indexterm zone="gnupg2 addgnupghome">
191 <primary sortas="b-addgnupghome">addgnupghome</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="applygnupgdefaults">
197 <term><command>applygnupgdefaults</command></term>
198 <listitem>
199 <para>is a wrapper script used to run <command>gpgconf</command>
200 with the <parameter>--apply-defaults</parameter> parameter on all
201 user's GnuPG home directories.</para>
202 <indexterm zone="gnupg2 applygnupgdefaults">
203 <primary sortas="b-applygnupgdefaults">applygnupgdefaults</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="gpg-agent">
209 <term><command>gpg-agent</command></term>
210 <listitem>
211 <para>is a daemon used to manage secret (private) keys independently
212 from any protocol. It is used as a backend for <command>gpg2</command>
213 and <command>gpgsm</command> as well as for a couple of other
214 utilities.</para>
215 <indexterm zone="gnupg2 gpg-agent">
216 <primary sortas="b-gpg-agent">gpg-agent</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="gpg-connect-agent">
222 <term><command>gpg-connect-agent</command></term>
223 <listitem>
224 <para>is a utility used to communicate with a running
225 <command>gpg-agent</command>.</para>
226 <indexterm zone="gnupg2 gpg-connect-agent">
227 <primary sortas="b-gpg-connect-agent">gpg-connect-agent</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="gpg">
233 <term><command>gpg</command></term>
234 <listitem>
235 <para>(optional) is a symlink to <command>gpg2</command> for
236 compatibility with the first version of GnuPG.</para>
237 <indexterm zone="gnupg2 gpg">
238 <primary sortas="b-gpg">gpg</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="gpg2">
244 <term><command>gpg2</command></term>
245 <listitem>
246 <para>is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a
247 tool used to provide digital encryption and signing services using
248 the OpenPGP standard.</para>
249 <indexterm zone="gnupg2 gpg2">
250 <primary sortas="b-gpg2">gpg2</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="gpgconf">
256 <term><command>gpgconf</command></term>
257 <listitem>
258 <para>is a utility used to automatically and reasonable safely
259 query and modify configuration files in the
260 <filename class='directory'>~/.gnupg</filename> home directory. It is
261 designed not to be invoked manually by the user, but automatically by
262 graphical user interfaces.</para>
263 <indexterm zone="gnupg2 gpgconf">
264 <primary sortas="b-gpgconf">gpgconf</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="gpgparsemail">
270 <term><command>gpgparsemail</command></term>
271 <listitem>
272 <para>is a utility currently only useful for debugging. Run it with
273 <parameter>--help</parameter> for usage information.</para>
274 <indexterm zone="gnupg2 gpgparsemail">
275 <primary sortas="b-gpgparsemail">gpgparsemail</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="gpgsm">
281 <term><command>gpgsm</command></term>
282 <listitem>
283 <para>is a tool similar to <command>gpg2</command> used to provide
284 digital encryption and signing services on X.509 certificates and the
285 CMS protocol. It is mainly used as a backend for S/MIME mail
286 processing.</para>
287 <indexterm zone="gnupg2 gpgsm">
288 <primary sortas="b-gpgsm">gpgsm</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="gpgsm-gencert.sh">
294 <term><command>gpgsm-gencert.sh</command></term>
295 <listitem>
296 <para>is a simple tool used to interactively generate a certificate
297 request which will be printed to stdout.</para>
298 <indexterm zone="gnupg2 gpgsm-gencert.sh">
299 <primary sortas="b-gpgsm-gencert.sh">gpgsm-gencert.sh</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="gpgv">
305 <term><command>gpgv</command></term>
306 <listitem>
307 <para>(optional) is a symlink to <command>gpgv2</command> for
308 compatibility with the first version of GnuPG.</para>
309 <indexterm zone="gnupg2 gpgv">
310 <primary sortas="b-gpgv">gpgv</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="gpgv2">
316 <term><command>gpgv2</command></term>
317 <listitem>
318 <para>is a verify only version of <command>gpg2</command>.</para>
319 <indexterm zone="gnupg2 gpgv2">
320 <primary sortas="b-gpgv2">gpgv2</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="kbxutil">
326 <term><command>kbxutil</command></term>
327 <listitem>
328 <para>is used to list, export and import Keybox data.</para>
329 <indexterm zone="gnupg2 kbxutil">
330 <primary sortas="b-kbxutil">kbxutil</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
335 <varlistentry id="scdaemon">
336 <term><command>scdaemon</command></term>
337 <listitem>
338 <para>is a daemon used to manage smartcards. It is usually invoked by
339 <command>gpg-agent</command> and in general not used directly.</para>
340 <indexterm zone="gnupg2 scdaemon">
341 <primary sortas="b-scdaemon">scdaemon</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="symcryptrun">
347 <term><command>symcryptrun</command></term>
348 <listitem>
349 <para>is a simple symmetric encryption tool.</para>
350 <indexterm zone="gnupg2 symcryptrun">
351 <primary sortas="b-symcryptrun">symcryptrun</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="watchgnupg">
357 <term><command>watchgnupg</command></term>
358 <listitem>
359 <para>is used to listen to a Unix Domain socket created by any of
360 the GnuPG tools.</para>
361 <indexterm zone="gnupg2 watchgnupg">
362 <primary sortas="b-watchgnupg">watchgnupg</primary>
363 </indexterm>
364 </listitem>
365 </varlistentry>
366
367 </variablelist>
368
369 </sect2>
370
371</sect1>
Note: See TracBrowser for help on using the repository browser.