[618aef19] | 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 |
|
---|
[477e290c] | 7 | <!ENTITY gnupg2-download-http " ">
|
---|
[618aef19] | 8 | <!ENTITY gnupg2-download-ftp "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-&gnupg2-version;.tar.bz2">
|
---|
[9638fe8a] | 9 | <!ENTITY gnupg2-md5sum "fa7e704aad33eb114d1840164455aec1">
|
---|
[167a240] | 10 | <!ENTITY gnupg2-size "4.2 MB">
|
---|
[9638fe8a] | 11 | <!ENTITY gnupg2-buildsize "91 MB (with tests and optional documentation)">
|
---|
[d80de44] | 12 | <!ENTITY gnupg2-time "0.6 SBU (additional 0.5 SBU for the tests)">
|
---|
[618aef19] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gnupg2" xreflabel="GnuPG-&gnupg2-version;">
|
---|
[f82ac3f] | 16 | <?dbhtml filename="gnupg.html"?>
|
---|
[618aef19] | 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">
|
---|
[f82ac3f] | 26 | <primary sortas="a-GnuPG">GnuPG</primary>
|
---|
[618aef19] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[f82ac3f] | 30 | <title>Introduction to GnuPG</title>
|
---|
[618aef19] | 31 |
|
---|
[9638fe8a] | 32 | <para>
|
---|
| 33 | The <application>GnuPG</application> package is GNU's tool for secure
|
---|
| 34 | communication and data storage. It can be used to encrypt data and to
|
---|
| 35 | create digital signatures. It includes an advanced key management
|
---|
| 36 | facility and is compliant with the proposed OpenPGP Internet standard
|
---|
| 37 | as described in RFC2440 and the S/MIME standard as described by several
|
---|
| 38 | RFCs. GnuPG 2 is the stable version of GnuPG integrating support for
|
---|
| 39 | OpenPGP and S/MIME.
|
---|
| 40 | </para>
|
---|
[618aef19] | 41 |
|
---|
[9598e9fd] | 42 | &lfs75_checked;
|
---|
[477e290c] | 43 |
|
---|
[618aef19] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[9638fe8a] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&gnupg2-download-http;"/>
|
---|
| 49 | </para>
|
---|
[618aef19] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[9638fe8a] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&gnupg2-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[618aef19] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[9638fe8a] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &gnupg2-md5sum;
|
---|
| 59 | </para>
|
---|
[618aef19] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[9638fe8a] | 62 | <para>
|
---|
| 63 | Download size: &gnupg2-size;
|
---|
| 64 | </para>
|
---|
[618aef19] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[9638fe8a] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &gnupg2-buildsize;
|
---|
| 69 | </para>
|
---|
[618aef19] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[9638fe8a] | 72 | <para>
|
---|
| 73 | Estimated build time: &gnupg2-time;
|
---|
| 74 | </para>
|
---|
[618aef19] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
[9638fe8a] | 78 | <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
|
---|
[618aef19] | 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[9638fe8a] | 81 | <para role="required">
|
---|
| 82 | <xref linkend="libassuan"/>,
|
---|
| 83 | <xref linkend="libgcrypt"/>,
|
---|
| 84 | <xref linkend="libksba"/> and
|
---|
| 85 | <xref linkend="pth"/>
|
---|
| 86 | </para>
|
---|
[618aef19] | 87 |
|
---|
[2af0daa7] | 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[9638fe8a] | 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="pinentry"/> (Run-time requirement for
|
---|
| 91 | most of the package's functionality)
|
---|
| 92 | </para>
|
---|
[618aef19] | 93 |
|
---|
[2af0daa7] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9638fe8a] | 95 | <para role="optional">
|
---|
| 96 | <xref linkend="curl"/>,
|
---|
| 97 | <ulink url="http://www.chiark.greenend.org.uk/~ian/adns/">GNU
|
---|
| 98 | ADNS</ulink>,
|
---|
| 99 | <xref linkend="libusb-compat"/>,
|
---|
| 100 | an <xref linkend="server-mail"/> and
|
---|
| 101 | <xref linkend="openldap"/>
|
---|
| 102 | </para>
|
---|
[a41f643] | 103 |
|
---|
[618aef19] | 104 | <para condition="html" role="usernotes">User Notes:
|
---|
[9638fe8a] | 105 | <ulink url="&blfs-wiki;/gnupg2"/>
|
---|
| 106 | </para>
|
---|
[618aef19] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
[f82ac3f] | 110 | <title>Installation of GnuPG</title>
|
---|
[618aef19] | 111 |
|
---|
[9638fe8a] | 112 | <para>
|
---|
| 113 | Install <application>GnuPG</application> by running the following
|
---|
| 114 | commands:
|
---|
| 115 | </para>
|
---|
[618aef19] | 116 |
|
---|
[9638fe8a] | 117 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 118 | --sysconfdir=/etc \
|
---|
[39c6300] | 119 | --enable-symcryptrun \
|
---|
[2af0daa7] | 120 | --docdir=/usr/share/doc/gnupg-&gnupg2-version; &&
|
---|
[faf325d] | 121 | make &&
|
---|
[618aef19] | 122 |
|
---|
[faf325d] | 123 | makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &&
|
---|
| 124 | makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi</userinput></screen>
|
---|
[618aef19] | 125 |
|
---|
[9638fe8a] | 126 | <para>
|
---|
| 127 | If you have <xref linkend="texlive"/> installed and you wish
|
---|
| 128 | to create documentation in alternate formats, issue the
|
---|
| 129 | following commands:
|
---|
| 130 | </para>
|
---|
[f1e103a] | 131 |
|
---|
[faf325d] | 132 | <screen><userinput>make -C doc pdf ps html</userinput></screen>
|
---|
[618aef19] | 133 |
|
---|
[9638fe8a] | 134 | <para>
|
---|
| 135 | To test the results, issue: <command>make check</command>.
|
---|
| 136 | </para>
|
---|
[618aef19] | 137 |
|
---|
[9638fe8a] | 138 | <para>
|
---|
| 139 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 140 | </para>
|
---|
[618aef19] | 141 |
|
---|
[b4533fd] | 142 | <screen role="root"><userinput>make install &&
|
---|
[f1e103a] | 143 |
|
---|
[9638fe8a] | 144 | for f in gpg gpgv ; do
|
---|
| 145 | ln -sfv ${f}2 /usr/bin/${f} &&
|
---|
| 146 | ln -sfv ${f}2.1 /usr/share/man/man1/${f}.1
|
---|
| 147 | done &&
|
---|
| 148 |
|
---|
| 149 | install -v -dm755 /usr/share/doc/gnupg-&gnupg2-version;/html &&
|
---|
| 150 | install -v -m644 doc/gnupg_nochunks.html \
|
---|
| 151 | /usr/share/doc/gnupg-&gnupg2-version;/gnupg.html &&
|
---|
| 152 | install -v -m644 doc/*.texi doc/gnupg.txt \
|
---|
| 153 | /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
|
---|
[2af0daa7] | 154 |
|
---|
[9638fe8a] | 155 | <para>
|
---|
| 156 | If you created alternate formats of the documentation, install
|
---|
| 157 | it using the following command as the
|
---|
| 158 | <systemitem class="username">root</systemitem> user:
|
---|
| 159 | </para>
|
---|
[618aef19] | 160 |
|
---|
[f1e103a] | 161 | <screen role="root"><userinput>install -v -m644 doc/gnupg.html/* \
|
---|
[2af0daa7] | 162 | /usr/share/doc/gnupg-&gnupg2-version;/html &&
|
---|
[f1e103a] | 163 | install -v -m644 doc/gnupg.{pdf,dvi,ps} \
|
---|
[faf325d] | 164 | /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
|
---|
[618aef19] | 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | <sect2 role="commands">
|
---|
| 169 | <title>Command Explanations</title>
|
---|
| 170 |
|
---|
[9638fe8a] | 171 | <para>
|
---|
| 172 | <parameter>--enable-symcryptrun</parameter>: This switch enables
|
---|
| 173 | building the symcryptrun program.
|
---|
| 174 | </para>
|
---|
[2af0daa7] | 175 |
|
---|
[9638fe8a] | 176 | <para>
|
---|
| 177 | <command>ln -sfv ...</command>: This command creates symlinks for
|
---|
| 178 | compatibility with the first version of
|
---|
| 179 | <application>GnuPG</application>.
|
---|
| 180 | </para>
|
---|
[663b79c2] | 181 |
|
---|
[618aef19] | 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | <sect2 role="content">
|
---|
| 185 | <title>Contents</title>
|
---|
| 186 |
|
---|
| 187 | <segmentedlist>
|
---|
| 188 | <segtitle>Installed Programs</segtitle>
|
---|
| 189 | <segtitle>Installed Libraries</segtitle>
|
---|
| 190 | <segtitle>Installed Directories</segtitle>
|
---|
| 191 |
|
---|
| 192 | <seglistitem>
|
---|
[9638fe8a] | 193 | <seg>
|
---|
| 194 | addgnupghome, applygnupgdefaults, gpg, gpg2, gpg-agent,
|
---|
| 195 | gpgconf, gpg-connect-agent, gpgkey2ssh, gpgparsemail,
|
---|
| 196 | gpgsm, gpgsm-gencert.sh, gpgtar, gpgv, gpgv2, kbxutil,
|
---|
| 197 | symcryptrun and watchgnupg
|
---|
| 198 | </seg>
|
---|
| 199 | <seg>
|
---|
| 200 | None
|
---|
| 201 | </seg>
|
---|
| 202 | <seg>
|
---|
| 203 | /usr/share/doc/gnupg-&gnupg2-version; and
|
---|
| 204 | /usr/share/gnupg
|
---|
| 205 | </seg>
|
---|
[618aef19] | 206 | </seglistitem>
|
---|
| 207 | </segmentedlist>
|
---|
| 208 |
|
---|
| 209 | <variablelist>
|
---|
| 210 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 211 | <?dbfo list-presentation="list"?>
|
---|
| 212 | <?dbhtml list-presentation="table"?>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="addgnupghome">
|
---|
| 215 | <term><command>addgnupghome</command></term>
|
---|
| 216 | <listitem>
|
---|
[9638fe8a] | 217 | <para>
|
---|
| 218 | is used to create and populate user's
|
---|
| 219 | <filename class="directory">~/.gnupg</filename> directories.
|
---|
| 220 | </para>
|
---|
[618aef19] | 221 | <indexterm zone="gnupg2 addgnupghome">
|
---|
| 222 | <primary sortas="b-addgnupghome">addgnupghome</primary>
|
---|
| 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
| 226 |
|
---|
| 227 | <varlistentry id="applygnupgdefaults">
|
---|
| 228 | <term><command>applygnupgdefaults</command></term>
|
---|
| 229 | <listitem>
|
---|
[9638fe8a] | 230 | <para>
|
---|
| 231 | is a wrapper script used to run <command>gpgconf</command>
|
---|
| 232 | with the <parameter>--apply-defaults</parameter> parameter
|
---|
| 233 | on all user's GnuPG home directories.
|
---|
| 234 | </para>
|
---|
[618aef19] | 235 | <indexterm zone="gnupg2 applygnupgdefaults">
|
---|
| 236 | <primary sortas="b-applygnupgdefaults">applygnupgdefaults</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
| 241 | <varlistentry id="gpg-agent">
|
---|
| 242 | <term><command>gpg-agent</command></term>
|
---|
| 243 | <listitem>
|
---|
[9638fe8a] | 244 | <para>
|
---|
| 245 | is a daemon used to manage secret (private) keys independently
|
---|
| 246 | from any protocol. It is used as a backend for
|
---|
| 247 | <command>gpg</command> and <command>gpgsm</command> as well as
|
---|
| 248 | for a couple of other utilities.
|
---|
| 249 | </para>
|
---|
[618aef19] | 250 | <indexterm zone="gnupg2 gpg-agent">
|
---|
| 251 | <primary sortas="b-gpg-agent">gpg-agent</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | <varlistentry id="gpg-connect-agent">
|
---|
| 257 | <term><command>gpg-connect-agent</command></term>
|
---|
| 258 | <listitem>
|
---|
[9638fe8a] | 259 | <para>
|
---|
| 260 | is a utility used to communicate with a running
|
---|
| 261 | <command>gpg-agent</command>.
|
---|
| 262 | </para>
|
---|
[618aef19] | 263 | <indexterm zone="gnupg2 gpg-connect-agent">
|
---|
| 264 | <primary sortas="b-gpg-connect-agent">gpg-connect-agent</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="gpg2">
|
---|
| 270 | <term><command>gpg2</command></term>
|
---|
| 271 | <listitem>
|
---|
[9638fe8a] | 272 | <para>
|
---|
| 273 | is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a
|
---|
| 274 | tool used to provide digital encryption and signing services
|
---|
| 275 | using the OpenPGP standard.
|
---|
| 276 | </para>
|
---|
[618aef19] | 277 | <indexterm zone="gnupg2 gpg2">
|
---|
| 278 | <primary sortas="b-gpg2">gpg2</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
| 283 | <varlistentry id="gpgconf">
|
---|
| 284 | <term><command>gpgconf</command></term>
|
---|
| 285 | <listitem>
|
---|
[9638fe8a] | 286 | <para>
|
---|
| 287 | is a utility used to automatically and reasonable safely
|
---|
| 288 | query and modify configuration files in the
|
---|
| 289 | <filename class="directory">~/.gnupg</filename> home
|
---|
| 290 | directory. It is designed not to be invoked manually by
|
---|
| 291 | the user, but automatically by graphical user interfaces.
|
---|
| 292 | </para>
|
---|
[618aef19] | 293 | <indexterm zone="gnupg2 gpgconf">
|
---|
| 294 | <primary sortas="b-gpgconf">gpgconf</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
| 299 | <varlistentry id="gpgparsemail">
|
---|
| 300 | <term><command>gpgparsemail</command></term>
|
---|
| 301 | <listitem>
|
---|
[9638fe8a] | 302 | <para>
|
---|
| 303 | is a utility currently only useful for debugging. Run it with
|
---|
| 304 | <parameter>--help</parameter> for usage information.
|
---|
| 305 | </para>
|
---|
[618aef19] | 306 | <indexterm zone="gnupg2 gpgparsemail">
|
---|
| 307 | <primary sortas="b-gpgparsemail">gpgparsemail</primary>
|
---|
| 308 | </indexterm>
|
---|
| 309 | </listitem>
|
---|
| 310 | </varlistentry>
|
---|
| 311 |
|
---|
| 312 | <varlistentry id="gpgsm">
|
---|
| 313 | <term><command>gpgsm</command></term>
|
---|
| 314 | <listitem>
|
---|
[9638fe8a] | 315 | <para>
|
---|
| 316 | is a tool similar to <command>gpg</command> used to provide digital
|
---|
| 317 | encryption and signing services on X.509 certificates and the CMS
|
---|
| 318 | protocol. It is mainly used as a backend for S/MIME mail processing.
|
---|
| 319 | </para>
|
---|
[618aef19] | 320 | <indexterm zone="gnupg2 gpgsm">
|
---|
| 321 | <primary sortas="b-gpgsm">gpgsm</primary>
|
---|
| 322 | </indexterm>
|
---|
| 323 | </listitem>
|
---|
| 324 | </varlistentry>
|
---|
| 325 |
|
---|
| 326 | <varlistentry id="gpgsm-gencert.sh">
|
---|
| 327 | <term><command>gpgsm-gencert.sh</command></term>
|
---|
| 328 | <listitem>
|
---|
[9638fe8a] | 329 | <para>
|
---|
| 330 | is a simple tool used to interactively generate a certificate
|
---|
| 331 | request which will be printed to stdout.
|
---|
| 332 | </para>
|
---|
[618aef19] | 333 | <indexterm zone="gnupg2 gpgsm-gencert.sh">
|
---|
| 334 | <primary sortas="b-gpgsm-gencert.sh">gpgsm-gencert.sh</primary>
|
---|
| 335 | </indexterm>
|
---|
| 336 | </listitem>
|
---|
| 337 | </varlistentry>
|
---|
| 338 |
|
---|
| 339 | <varlistentry id="gpgv2">
|
---|
| 340 | <term><command>gpgv2</command></term>
|
---|
| 341 | <listitem>
|
---|
[9638fe8a] | 342 | <para>
|
---|
| 343 | is a verify only version of <command>gpg2</command>.
|
---|
| 344 | </para>
|
---|
[618aef19] | 345 | <indexterm zone="gnupg2 gpgv2">
|
---|
| 346 | <primary sortas="b-gpgv2">gpgv2</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 | </listitem>
|
---|
| 349 | </varlistentry>
|
---|
| 350 |
|
---|
| 351 | <varlistentry id="kbxutil">
|
---|
| 352 | <term><command>kbxutil</command></term>
|
---|
| 353 | <listitem>
|
---|
[9638fe8a] | 354 | <para>
|
---|
| 355 | is used to list, export and import Keybox data.
|
---|
| 356 | </para>
|
---|
[618aef19] | 357 | <indexterm zone="gnupg2 kbxutil">
|
---|
| 358 | <primary sortas="b-kbxutil">kbxutil</primary>
|
---|
| 359 | </indexterm>
|
---|
| 360 | </listitem>
|
---|
| 361 | </varlistentry>
|
---|
| 362 |
|
---|
[584ded4] | 363 | <varlistentry id="symcryptrun">
|
---|
| 364 | <term><command>symcryptrun</command></term>
|
---|
| 365 | <listitem>
|
---|
[9638fe8a] | 366 | <para>
|
---|
| 367 | is a simple symmetric encryption tool.
|
---|
| 368 | </para>
|
---|
[584ded4] | 369 | <indexterm zone="gnupg2 symcryptrun">
|
---|
| 370 | <primary sortas="b-symcryptrun">symcryptrun</primary>
|
---|
| 371 | </indexterm>
|
---|
| 372 | </listitem>
|
---|
| 373 | </varlistentry>
|
---|
| 374 |
|
---|
[618aef19] | 375 | <varlistentry id="watchgnupg">
|
---|
| 376 | <term><command>watchgnupg</command></term>
|
---|
| 377 | <listitem>
|
---|
[9638fe8a] | 378 | <para>
|
---|
| 379 | is used to listen to a Unix Domain socket created by any of
|
---|
| 380 | the GnuPG tools.
|
---|
| 381 | </para>
|
---|
[618aef19] | 382 | <indexterm zone="gnupg2 watchgnupg">
|
---|
| 383 | <primary sortas="b-watchgnupg">watchgnupg</primary>
|
---|
| 384 | </indexterm>
|
---|
| 385 | </listitem>
|
---|
| 386 | </varlistentry>
|
---|
| 387 |
|
---|
| 388 | </variablelist>
|
---|
| 389 |
|
---|
| 390 | </sect2>
|
---|
| 391 |
|
---|
| 392 | </sect1>
|
---|