source: postlfs/security/gnupg2.xml@ 167a240

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 167a240 was 167a240, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to gnupg-2.0.23, xterm-306, Python-2.7.7, xscreensaver-5.28 and openssl-1.0.1h.

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

  • Property mode set to 100644
File size: 12.9 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 "1c30b3aa1f99f17b4988e1ab616355d4">
10 <!ENTITY gnupg2-size "4.2 MB">
11 <!ENTITY gnupg2-buildsize "67 MB">
12 <!ENTITY gnupg2-time "0.5 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 &lfs75_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>, and an
82 <xref linkend="server-mail"/></para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/gnupg2"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of GnuPG</title>
91
92 <para>Install <application>GnuPG</application> by running the following
93 commands:</para>
94
95<screen><userinput>./configure --prefix=/usr \
96 --docdir=/usr/share/doc/gnupg-&gnupg2-version; &amp;&amp;
97make &amp;&amp;
98
99makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &amp;&amp;
100makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi</userinput></screen>
101
102 <para>If you have <xref linkend="texlive"/>
103 installed and you wish to create documentation in alternate formats,
104 issue the following commands:</para>
105
106<screen><userinput>make -C doc pdf ps html</userinput></screen>
107
108 <para>To test the results, issue: <command>make check</command>.</para>
109
110 <para>Note that if you have already installed
111 <application>GnuPG</application>, the instructions below will overwrite
112 <filename>/usr/share/man/man1/gpg-zip.1</filename>. Now, as the
113 <systemitem class="username">root</systemitem> user:</para>
114
115<screen role="root"><userinput>make install &amp;&amp;
116ln -sv gpg2 /usr/bin/gpg &amp;&amp;
117ln -sv gpgv2 /usr/bin/gpgv &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>If you created alternate formats of the documentation, install it
126 using the following command as the
127 <systemitem class="username">root</systemitem> user:</para>
128
129<screen role="root"><userinput>install -v -m644 doc/gnupg.html/* \
130 /usr/share/doc/gnupg-&gnupg2-version;/html &amp;&amp;
131install -v -m644 doc/gnupg.{pdf,dvi,ps} \
132 /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para><command>ln -sv gpg...</command>: Symlinks for compatibility with the
140 first version of <application>GnuPG</application>.</para>
141
142 <para><parameter>--docdir=/usr/share/doc/gnupg-&gnupg2-version;</parameter>:
143 This switch changes the default docdir to <filename
144 class="directory">/usr/share/doc/gnupg-&gnupg2-version;</filename>.</para>
145
146 <para><parameter>--enable-symcryptrun</parameter>: This switch enables
147 building the symcryptrun program.</para>
148
149 <para><option>--libexecdir=/usr/lib/gnupg2</option>: This option
150 creates a <filename class="directory">gnupg</filename> directory in
151 <filename class="directory">/usr/lib</filename> instead of
152 <filename class="directory">/usr/libexec</filename> in accordance
153 with the old version of the FHS used before LFS-7.5.</para>
154
155 </sect2>
156
157 <sect2 role="content">
158 <title>Contents</title>
159
160 <segmentedlist>
161 <segtitle>Installed Programs</segtitle>
162 <segtitle>Installed Libraries</segtitle>
163 <segtitle>Installed Directories</segtitle>
164
165 <seglistitem>
166 <seg>gpg (symlink), gpg2, gpg-agent, gnupg-pcsc-wrapper, gpg2keys_curl,
167 gpg2keys_finger, addgnupghome, gpgconf, gpg-connect-agent, gpgkey2ssh,
168 gpg2keys_hkp, gpg2keys_ldap, gpg-check-pattern, applygnupgdefaults,
169 gpgparsemail, gpgsm, gpgsm-gencert.sh, gpg-preset-passphrase,
170 gpg-protect-tool, scdaemon, gpgv (symlink), gpgv2, kbxutil,
171 symcryptrun, and watchgnupg</seg>
172 <seg>None</seg>
173 <seg>/usr/share/gnupg and
174 /usr/share/doc/gnupg-&gnupg2-version;</seg>
175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="addgnupghome">
184 <term><command>addgnupghome</command></term>
185 <listitem>
186 <para>is used to create and populate user's
187 <filename class='directory'>~/.gnupg</filename> directories</para>
188 <indexterm zone="gnupg2 addgnupghome">
189 <primary sortas="b-addgnupghome">addgnupghome</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="applygnupgdefaults">
195 <term><command>applygnupgdefaults</command></term>
196 <listitem>
197 <para>is a wrapper script used to run <command>gpgconf</command>
198 with the <parameter>--apply-defaults</parameter> parameter on all
199 user's GnuPG home directories.</para>
200 <indexterm zone="gnupg2 applygnupgdefaults">
201 <primary sortas="b-applygnupgdefaults">applygnupgdefaults</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="gpg-agent">
207 <term><command>gpg-agent</command></term>
208 <listitem>
209 <para>is a daemon used to manage secret (private) keys independently
210 from any protocol. It is used as a backend for <command>gpg</command>
211 and <command>gpgsm</command> as well as for a couple of other
212 utilities.</para>
213 <indexterm zone="gnupg2 gpg-agent">
214 <primary sortas="b-gpg-agent">gpg-agent</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="gpg-connect-agent">
220 <term><command>gpg-connect-agent</command></term>
221 <listitem>
222 <para>is a utility used to communicate with a running
223 <command>gpg-agent</command>.</para>
224 <indexterm zone="gnupg2 gpg-connect-agent">
225 <primary sortas="b-gpg-connect-agent">gpg-connect-agent</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="gpg2">
231 <term><command>gpg2</command></term>
232 <listitem>
233 <para>is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a
234 tool used to provide digital encryption and signing services using
235 the OpenPGP standard.</para>
236 <indexterm zone="gnupg2 gpg2">
237 <primary sortas="b-gpg2">gpg2</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="gpgconf">
243 <term><command>gpgconf</command></term>
244 <listitem>
245 <para>is a utility used to automatically and reasonable safely
246 query and modify configuration files in the
247 <filename class='directory'>~/.gnupg</filename> home directory. It is
248 designed not to be invoked manually by the user, but automatically by
249 graphical user interfaces.</para>
250 <indexterm zone="gnupg2 gpgconf">
251 <primary sortas="b-gpgconf">gpgconf</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="gpgparsemail">
257 <term><command>gpgparsemail</command></term>
258 <listitem>
259 <para>is a utility currently only useful for debugging. Run it with
260 <parameter>--help</parameter> for usage information.</para>
261 <indexterm zone="gnupg2 gpgparsemail">
262 <primary sortas="b-gpgparsemail">gpgparsemail</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="gpgsm">
268 <term><command>gpgsm</command></term>
269 <listitem>
270 <para>is a tool similar to <command>gpg</command> used to provide
271 digital encryption and signing services on X.509 certificates and the
272 CMS protocol. It is mainly used as a backend for S/MIME mail
273 processing.</para>
274 <indexterm zone="gnupg2 gpgsm">
275 <primary sortas="b-gpgsm">gpgsm</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="gpgsm-gencert.sh">
281 <term><command>gpgsm-gencert.sh</command></term>
282 <listitem>
283 <para>is a simple tool used to interactively generate a certificate
284 request which will be printed to stdout.</para>
285 <indexterm zone="gnupg2 gpgsm-gencert.sh">
286 <primary sortas="b-gpgsm-gencert.sh">gpgsm-gencert.sh</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="gpgv2">
292 <term><command>gpgv2</command></term>
293 <listitem>
294 <para>is a verify only version of <command>gpg2</command>.</para>
295 <indexterm zone="gnupg2 gpgv2">
296 <primary sortas="b-gpgv2">gpgv2</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 <varlistentry id="kbxutil">
302 <term><command>kbxutil</command></term>
303 <listitem>
304 <para>is used to list, export and import Keybox data.</para>
305 <indexterm zone="gnupg2 kbxutil">
306 <primary sortas="b-kbxutil">kbxutil</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="scdaemon">
312 <term><command>scdaemon</command></term>
313 <listitem>
314 <para>is a daemon used to manage smartcards. It is usually invoked by
315 <command>gpg-agent</command> and in general not used directly.</para>
316 <indexterm zone="gnupg2 scdaemon">
317 <primary sortas="b-scdaemon">scdaemon</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 <varlistentry id="symcryptrun">
323 <term><command>symcryptrun</command></term>
324 <listitem>
325 <para>is a simple symmetric encryption tool.</para>
326 <indexterm zone="gnupg2 symcryptrun">
327 <primary sortas="b-symcryptrun">symcryptrun</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="watchgnupg">
333 <term><command>watchgnupg</command></term>
334 <listitem>
335 <para>is used to listen to a Unix Domain socket created by any of
336 the GnuPG tools.</para>
337 <indexterm zone="gnupg2 watchgnupg">
338 <primary sortas="b-watchgnupg">watchgnupg</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 </variablelist>
344
345 </sect2>
346
347</sect1>
Note: See TracBrowser for help on using the repository browser.