source: postlfs/security/gnupg2.xml@ 477e290c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 477e290c was 477e290c, checked in by Wayne Blaszczyk <wblaszcz@…>, 14 years ago

Updated to GnuPG-2.0.15.

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