source: postlfs/security/gnupg2.xml@ 2af0daa7

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 2af0daa7 was 2af0daa7, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to GnuPG-2.0.12.

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

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