source: postlfs/security/gnupg2.xml@ 54f740f

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 54f740f was 54f740f, checked in by Igor Živković <igor@…>, 11 years ago

capitalization consistency and cleanup

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

  • Property mode set to 100644
File size: 12.5 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 "48c05f5dfe97cf21ae0ced811aaad750">
10 <!ENTITY gnupg2-size "4.1 MB">
11 <!ENTITY gnupg2-buildsize "65 MB">
12 <!ENTITY gnupg2-time "1.2 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 &lfs74_checked;
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">GnuPG 2 Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para role="required"><xref linkend="pth"/>,
69 <xref linkend="libassuan"/>,
70 <xref linkend="libgcrypt"/>, and
71 <xref linkend="libksba"/></para>
72
73 <bridgehead renderas="sect4">Recommended</bridgehead>
74 <para role="recommended"><xref linkend="pinentry"/> (Run-time requirement for most of
75 the package's functionality)</para>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional"><xref linkend="openldap"/>,
79 <xref linkend="libusb-compat"/>,
80 <xref linkend="curl"/>,
81 <ulink url="http://www.chiark.greenend.org.uk/~ian/adns/">GNU
82 adns</ulink>, and an
83 <xref linkend="server-mail"/></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 2</title>
92
93 <para>Install <application>GnuPG 2</application> by running the following
94 commands:</para>
95
96<screen><userinput>./configure --prefix=/usr \
97 --libexecdir=/usr/lib/gnupg2 \
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>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><parameter>--libexecdir=/usr/lib/gnupg2</parameter>: This switch
140 creates a <filename class="directory">gnupg</filename> directory in
141 <filename class="directory">/usr/lib</filename> instead of
142 <filename class="directory">/usr/libexec</filename>.</para>
143
144 <para><parameter>--docdir=/usr/share/doc/gnupg-&gnupg2-version;</parameter>:
145 This switch changes the default docdir to <filename
146 class="directory">/usr/share/doc/gnupg-&gnupg2-version;</filename>.</para>
147
148 <para><parameter>--enable-symcryptrun</parameter>: This switch enables
149 building the symcryptrun program.</para>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Libraries</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>addgnupghome, applygnupgdefaults, gpg-agent, gpg-connect-agent,
163 gpg2, gpgconf, gpgkey2ssh, gpgparsemail, gpgsm, gpgsm-gencert.sh,
164 gpgv2, kbxutil, scdaemon, symcryptrun, and watchgnupg</seg>
165 <seg>None</seg>
166 <seg>/usr/lib/gnupg2, /usr/share/gnupg and
167 /usr/share/doc/gnupg-&gnupg2-version;</seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="addgnupghome">
177 <term><command>addgnupghome</command></term>
178 <listitem>
179 <para>is used to create and populate user's
180 <filename class='directory'>~/.gnupg</filename> directories</para>
181 <indexterm zone="gnupg2 addgnupghome">
182 <primary sortas="b-addgnupghome">addgnupghome</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="applygnupgdefaults">
188 <term><command>applygnupgdefaults</command></term>
189 <listitem>
190 <para>is a wrapper script used to run <command>gpgconf</command>
191 with the <parameter>--apply-defaults</parameter> parameter on all
192 user's GnuPG home directories.</para>
193 <indexterm zone="gnupg2 applygnupgdefaults">
194 <primary sortas="b-applygnupgdefaults">applygnupgdefaults</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="gpg-agent">
200 <term><command>gpg-agent</command></term>
201 <listitem>
202 <para>is a daemon used to manage secret (private) keys independently
203 from any protocol. It is used as a backend for <command>gpg</command>
204 and <command>gpgsm</command> as well as for a couple of other
205 utilities.</para>
206 <indexterm zone="gnupg2 gpg-agent">
207 <primary sortas="b-gpg-agent">gpg-agent</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="gpg-connect-agent">
213 <term><command>gpg-connect-agent</command></term>
214 <listitem>
215 <para>is a utility used to communicate with a running
216 <command>gpg-agent</command>.</para>
217 <indexterm zone="gnupg2 gpg-connect-agent">
218 <primary sortas="b-gpg-connect-agent">gpg-connect-agent</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="gpg2">
224 <term><command>gpg2</command></term>
225 <listitem>
226 <para>is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a
227 tool used to provide digital encryption and signing services using
228 the OpenPGP standard.</para>
229 <indexterm zone="gnupg2 gpg2">
230 <primary sortas="b-gpg2">gpg2</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="gpgconf">
236 <term><command>gpgconf</command></term>
237 <listitem>
238 <para>is a utility used to automatically and reasonable safely
239 query and modify configuration files in the
240 <filename class='directory'>~/.gnupg</filename> home directory. It is
241 designed not to be invoked manually by the user, but automatically by
242 graphical user interfaces.</para>
243 <indexterm zone="gnupg2 gpgconf">
244 <primary sortas="b-gpgconf">gpgconf</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="gpgparsemail">
250 <term><command>gpgparsemail</command></term>
251 <listitem>
252 <para>is a utility currently only useful for debugging. Run it with
253 <parameter>--help</parameter> for usage information.</para>
254 <indexterm zone="gnupg2 gpgparsemail">
255 <primary sortas="b-gpgparsemail">gpgparsemail</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="gpgsm">
261 <term><command>gpgsm</command></term>
262 <listitem>
263 <para>is a tool similar to <command>gpg</command> used to provide
264 digital encryption and signing services on X.509 certificates and the
265 CMS protocol. It is mainly used as a backend for S/MIME mail
266 processing.</para>
267 <indexterm zone="gnupg2 gpgsm">
268 <primary sortas="b-gpgsm">gpgsm</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="gpgsm-gencert.sh">
274 <term><command>gpgsm-gencert.sh</command></term>
275 <listitem>
276 <para>is a simple tool used to interactively generate a certificate
277 request which will be printed to stdout.</para>
278 <indexterm zone="gnupg2 gpgsm-gencert.sh">
279 <primary sortas="b-gpgsm-gencert.sh">gpgsm-gencert.sh</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="gpgv2">
285 <term><command>gpgv2</command></term>
286 <listitem>
287 <para>is a verify only version of <command>gpg2</command>.</para>
288 <indexterm zone="gnupg2 gpgv2">
289 <primary sortas="b-gpgv2">gpgv2</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="kbxutil">
295 <term><command>kbxutil</command></term>
296 <listitem>
297 <para>is used to list, export and import Keybox data.</para>
298 <indexterm zone="gnupg2 kbxutil">
299 <primary sortas="b-kbxutil">kbxutil</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="scdaemon">
305 <term><command>scdaemon</command></term>
306 <listitem>
307 <para>is a daemon used to manage smartcards. It is usually invoked by
308 <command>gpg-agent</command> and in general not used directly.</para>
309 <indexterm zone="gnupg2 scdaemon">
310 <primary sortas="b-scdaemon">scdaemon</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="symcryptrun">
316 <term><command>symcryptrun</command></term>
317 <listitem>
318 <para>is a simple symmetric encryption tool.</para>
319 <indexterm zone="gnupg2 symcryptrun">
320 <primary sortas="b-symcryptrun">symcryptrun</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="watchgnupg">
326 <term><command>watchgnupg</command></term>
327 <listitem>
328 <para>is used to listen to a Unix Domain socket created by any of
329 the GnuPG tools.</para>
330 <indexterm zone="gnupg2 watchgnupg">
331 <primary sortas="b-watchgnupg">watchgnupg</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 </variablelist>
337
338 </sect2>
339
340</sect1>
Note: See TracBrowser for help on using the repository browser.