[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">
|
---|
[68d0ff78] | 9 | <!ENTITY gnupg2-md5sum "fa7e704aad33eb114d1840164455aec1">
|
---|
[167a240] | 10 | <!ENTITY gnupg2-size "4.2 MB">
|
---|
[68d0ff78] | 11 | <!ENTITY gnupg2-buildsize "68 MB">
|
---|
[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 |
|
---|
[f82ac3f] | 32 | <para>The <application>GnuPG</application> package is GNU's tool for
|
---|
[618aef19] | 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
|
---|
[f82ac3f] | 38 | S/MIME.</para>
|
---|
[618aef19] | 39 |
|
---|
[8c64b06] | 40 | &lfs76_checked;
|
---|
[477e290c] | 41 |
|
---|
[618aef19] | 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 |
|
---|
[3e68554d] | 64 | <bridgehead renderas="sect3">GnuPG 2 Dependencies</bridgehead>
|
---|
[618aef19] | 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a41f643] | 67 | <para role="required"><xref linkend="pth"/>,
|
---|
| 68 | <xref linkend="libassuan"/>,
|
---|
| 69 | <xref linkend="libgcrypt"/>, and
|
---|
[584ded4] | 70 | <xref linkend="libksba"/></para>
|
---|
[618aef19] | 71 |
|
---|
[2af0daa7] | 72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[eb680eb5] | 73 | <para role="recommended"><xref linkend="pinentry"/> (Run-time requirement for most of
|
---|
| 74 | the package's functionality)</para>
|
---|
[618aef19] | 75 |
|
---|
[2af0daa7] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a41f643] | 77 | <para role="optional"><xref linkend="openldap"/>,
|
---|
| 78 | <xref linkend="libusb-compat"/>,
|
---|
[584ded4] | 79 | <xref linkend="curl"/>,
|
---|
[2af0daa7] | 80 | <ulink url="http://www.chiark.greenend.org.uk/~ian/adns/">GNU
|
---|
[f720ace1] | 81 | adns</ulink>, an
|
---|
| 82 | <xref linkend="server-mail"/>, and
|
---|
| 83 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)</para>
|
---|
[a41f643] | 84 |
|
---|
[618aef19] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/gnupg2"/></para>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
[f82ac3f] | 91 | <title>Installation of GnuPG</title>
|
---|
[618aef19] | 92 |
|
---|
[f82ac3f] | 93 | <para>Install <application>GnuPG</application> by running the following
|
---|
[618aef19] | 94 | commands:</para>
|
---|
| 95 |
|
---|
[68d0ff78] | 96 | <screen><userinput>./configure --prefix=/usr \
|
---|
[39c6300] | 97 | --enable-symcryptrun \
|
---|
[2af0daa7] | 98 | --docdir=/usr/share/doc/gnupg-&gnupg2-version; &&
|
---|
[faf325d] | 99 | make &&
|
---|
[618aef19] | 100 |
|
---|
[faf325d] | 101 | makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &&
|
---|
| 102 | makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi</userinput></screen>
|
---|
[618aef19] | 103 |
|
---|
[8aeb474] | 104 | <para>If you have <xref linkend="texlive"/>
|
---|
[f1e103a] | 105 | installed and you wish to create documentation in alternate formats,
|
---|
| 106 | issue the following commands:</para>
|
---|
| 107 |
|
---|
[faf325d] | 108 | <screen><userinput>make -C doc pdf ps html</userinput></screen>
|
---|
[618aef19] | 109 |
|
---|
| 110 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 111 |
|
---|
[3e68554d] | 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>
|
---|
[618aef19] | 116 |
|
---|
[68d0ff78] | 117 | <screen role="root"><userinput>make install &&
|
---|
[f1e103a] | 118 |
|
---|
[b4533fd] | 119 | install -v -m755 -d /usr/share/doc/gnupg-&gnupg2-version;/html &&
|
---|
[f1e103a] | 120 | install -v -m644 doc/gnupg_nochunks.html \
|
---|
| 121 | /usr/share/doc/gnupg-&gnupg2-version;/gnupg.html &&
|
---|
| 122 | install -v -m644 doc/*.texi doc/gnupg.txt \
|
---|
| 123 | /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
|
---|
[2af0daa7] | 124 |
|
---|
[fa7ae3f3] | 125 | <para>We recommend the creation of symlinks for compatibility with the first
|
---|
| 126 | version of GnuPG, because some programs or scripts need them. Issue, as
|
---|
[68d0ff78] | 127 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 128 |
|
---|
| 129 | <screen role="root"><userinput>for f in gpg gpgv
|
---|
| 130 | do
|
---|
[fa7ae3f3] | 131 | ln -svf ${f}2.1 /usr/share/man/man1/$f.1 &&
|
---|
| 132 | ln -svf ${f}2 /usr/bin/$f
|
---|
[68d0ff78] | 133 | done
|
---|
| 134 | unset f</userinput></screen>
|
---|
| 135 |
|
---|
[618aef19] | 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 |
|
---|
[f1e103a] | 140 | <screen role="root"><userinput>install -v -m644 doc/gnupg.html/* \
|
---|
[2af0daa7] | 141 | /usr/share/doc/gnupg-&gnupg2-version;/html &&
|
---|
[f1e103a] | 142 | install -v -m644 doc/gnupg.{pdf,dvi,ps} \
|
---|
[faf325d] | 143 | /usr/share/doc/gnupg-&gnupg2-version;</userinput></screen>
|
---|
[618aef19] | 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="commands">
|
---|
| 148 | <title>Command Explanations</title>
|
---|
| 149 |
|
---|
[a41f643] | 150 | <para><parameter>--docdir=/usr/share/doc/gnupg-&gnupg2-version;</parameter>:
|
---|
[2af0daa7] | 151 | This switch changes the default docdir to <filename
|
---|
| 152 | class="directory">/usr/share/doc/gnupg-&gnupg2-version;</filename>.</para>
|
---|
| 153 |
|
---|
[a41f643] | 154 | <para><parameter>--enable-symcryptrun</parameter>: This switch enables
|
---|
[584ded4] | 155 | building the symcryptrun program.</para>
|
---|
[2af0daa7] | 156 |
|
---|
[618aef19] | 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="content">
|
---|
| 160 | <title>Contents</title>
|
---|
| 161 |
|
---|
| 162 | <segmentedlist>
|
---|
| 163 | <segtitle>Installed Programs</segtitle>
|
---|
| 164 | <segtitle>Installed Libraries</segtitle>
|
---|
| 165 | <segtitle>Installed Directories</segtitle>
|
---|
| 166 |
|
---|
| 167 | <seglistitem>
|
---|
[68d0ff78] | 168 | <seg>addgnupghome, applygnupgdefaults, gnupg-pcsc-wrapper, gpg,
|
---|
| 169 | gpg-agent, gpg-check-pattern, gpg-connect-agent, gpg-preset-passphrase,
|
---|
| 170 | gpg-protect-tool, gpg2, gpg2keys_curl, gpg2keys_finger, gpg2keys_hkp,
|
---|
| 171 | gpg2keys_ldap, gpgconf, gpgkey2ssh, gpgparsemail, gpgsm,
|
---|
| 172 | gpgsm-gencert.sh, gpgv, gpgv2, kbxutil, scdaemon, symcryptrun,
|
---|
| 173 | and watchgnupg</seg>
|
---|
[618aef19] | 174 | <seg>None</seg>
|
---|
[39c6300] | 175 | <seg>/usr/share/doc/gnupg-&gnupg2-version; and
|
---|
| 176 | /usr/share/gnupg</seg>
|
---|
[618aef19] | 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="addgnupghome">
|
---|
| 186 | <term><command>addgnupghome</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>is used to create and populate user's
|
---|
| 189 | <filename class='directory'>~/.gnupg</filename> directories</para>
|
---|
| 190 | <indexterm zone="gnupg2 addgnupghome">
|
---|
| 191 | <primary sortas="b-addgnupghome">addgnupghome</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="applygnupgdefaults">
|
---|
| 197 | <term><command>applygnupgdefaults</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>is a wrapper script used to run <command>gpgconf</command>
|
---|
| 200 | with the <parameter>--apply-defaults</parameter> parameter on all
|
---|
| 201 | user's GnuPG home directories.</para>
|
---|
| 202 | <indexterm zone="gnupg2 applygnupgdefaults">
|
---|
| 203 | <primary sortas="b-applygnupgdefaults">applygnupgdefaults</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="gpg-agent">
|
---|
| 209 | <term><command>gpg-agent</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>is a daemon used to manage secret (private) keys independently
|
---|
[68d0ff78] | 212 | from any protocol. It is used as a backend for <command>gpg2</command>
|
---|
[618aef19] | 213 | and <command>gpgsm</command> as well as for a couple of other
|
---|
| 214 | utilities.</para>
|
---|
| 215 | <indexterm zone="gnupg2 gpg-agent">
|
---|
| 216 | <primary sortas="b-gpg-agent">gpg-agent</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="gpg-connect-agent">
|
---|
| 222 | <term><command>gpg-connect-agent</command></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>is a utility used to communicate with a running
|
---|
| 225 | <command>gpg-agent</command>.</para>
|
---|
| 226 | <indexterm zone="gnupg2 gpg-connect-agent">
|
---|
| 227 | <primary sortas="b-gpg-connect-agent">gpg-connect-agent</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
[68d0ff78] | 232 | <varlistentry id="gpg">
|
---|
| 233 | <term><command>gpg</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>(optional) is a symlink to <command>gpg2</command> for
|
---|
| 236 | compatibility with the first version of GnuPG.</para>
|
---|
| 237 | <indexterm zone="gnupg2 gpg">
|
---|
| 238 | <primary sortas="b-gpg">gpg</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
[618aef19] | 243 | <varlistentry id="gpg2">
|
---|
| 244 | <term><command>gpg2</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a
|
---|
| 247 | tool used to provide digital encryption and signing services using
|
---|
| 248 | the OpenPGP standard.</para>
|
---|
| 249 | <indexterm zone="gnupg2 gpg2">
|
---|
| 250 | <primary sortas="b-gpg2">gpg2</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="gpgconf">
|
---|
| 256 | <term><command>gpgconf</command></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>is a utility used to automatically and reasonable safely
|
---|
| 259 | query and modify configuration files in the
|
---|
| 260 | <filename class='directory'>~/.gnupg</filename> home directory. It is
|
---|
| 261 | designed not to be invoked manually by the user, but automatically by
|
---|
| 262 | graphical user interfaces.</para>
|
---|
| 263 | <indexterm zone="gnupg2 gpgconf">
|
---|
| 264 | <primary sortas="b-gpgconf">gpgconf</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="gpgparsemail">
|
---|
| 270 | <term><command>gpgparsemail</command></term>
|
---|
| 271 | <listitem>
|
---|
| 272 | <para>is a utility currently only useful for debugging. Run it with
|
---|
| 273 | <parameter>--help</parameter> for usage information.</para>
|
---|
| 274 | <indexterm zone="gnupg2 gpgparsemail">
|
---|
| 275 | <primary sortas="b-gpgparsemail">gpgparsemail</primary>
|
---|
| 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
| 280 | <varlistentry id="gpgsm">
|
---|
| 281 | <term><command>gpgsm</command></term>
|
---|
| 282 | <listitem>
|
---|
[68d0ff78] | 283 | <para>is a tool similar to <command>gpg2</command> used to provide
|
---|
[618aef19] | 284 | digital encryption and signing services on X.509 certificates and the
|
---|
| 285 | CMS protocol. It is mainly used as a backend for S/MIME mail
|
---|
| 286 | processing.</para>
|
---|
| 287 | <indexterm zone="gnupg2 gpgsm">
|
---|
| 288 | <primary sortas="b-gpgsm">gpgsm</primary>
|
---|
| 289 | </indexterm>
|
---|
| 290 | </listitem>
|
---|
| 291 | </varlistentry>
|
---|
| 292 |
|
---|
| 293 | <varlistentry id="gpgsm-gencert.sh">
|
---|
| 294 | <term><command>gpgsm-gencert.sh</command></term>
|
---|
| 295 | <listitem>
|
---|
[8c9e2f6e] | 296 | <para>is a simple tool used to interactively generate a certificate
|
---|
[618aef19] | 297 | request which will be printed to stdout.</para>
|
---|
| 298 | <indexterm zone="gnupg2 gpgsm-gencert.sh">
|
---|
| 299 | <primary sortas="b-gpgsm-gencert.sh">gpgsm-gencert.sh</primary>
|
---|
| 300 | </indexterm>
|
---|
| 301 | </listitem>
|
---|
| 302 | </varlistentry>
|
---|
| 303 |
|
---|
[68d0ff78] | 304 | <varlistentry id="gpgv">
|
---|
| 305 | <term><command>gpgv</command></term>
|
---|
| 306 | <listitem>
|
---|
| 307 | <para>(optional) is a symlink to <command>gpgv2</command> for
|
---|
| 308 | compatibility with the first version of GnuPG.</para>
|
---|
| 309 | <indexterm zone="gnupg2 gpgv">
|
---|
| 310 | <primary sortas="b-gpgv">gpgv</primary>
|
---|
| 311 | </indexterm>
|
---|
| 312 | </listitem>
|
---|
| 313 | </varlistentry>
|
---|
| 314 |
|
---|
[618aef19] | 315 | <varlistentry id="gpgv2">
|
---|
| 316 | <term><command>gpgv2</command></term>
|
---|
| 317 | <listitem>
|
---|
| 318 | <para>is a verify only version of <command>gpg2</command>.</para>
|
---|
| 319 | <indexterm zone="gnupg2 gpgv2">
|
---|
| 320 | <primary sortas="b-gpgv2">gpgv2</primary>
|
---|
| 321 | </indexterm>
|
---|
| 322 | </listitem>
|
---|
| 323 | </varlistentry>
|
---|
| 324 |
|
---|
| 325 | <varlistentry id="kbxutil">
|
---|
| 326 | <term><command>kbxutil</command></term>
|
---|
| 327 | <listitem>
|
---|
| 328 | <para>is used to list, export and import Keybox data.</para>
|
---|
| 329 | <indexterm zone="gnupg2 kbxutil">
|
---|
| 330 | <primary sortas="b-kbxutil">kbxutil</primary>
|
---|
| 331 | </indexterm>
|
---|
| 332 | </listitem>
|
---|
| 333 | </varlistentry>
|
---|
| 334 |
|
---|
| 335 | <varlistentry id="scdaemon">
|
---|
| 336 | <term><command>scdaemon</command></term>
|
---|
| 337 | <listitem>
|
---|
| 338 | <para>is a daemon used to manage smartcards. It is usually invoked by
|
---|
| 339 | <command>gpg-agent</command> and in general not used directly.</para>
|
---|
| 340 | <indexterm zone="gnupg2 scdaemon">
|
---|
| 341 | <primary sortas="b-scdaemon">scdaemon</primary>
|
---|
| 342 | </indexterm>
|
---|
| 343 | </listitem>
|
---|
| 344 | </varlistentry>
|
---|
| 345 |
|
---|
[584ded4] | 346 | <varlistentry id="symcryptrun">
|
---|
| 347 | <term><command>symcryptrun</command></term>
|
---|
| 348 | <listitem>
|
---|
| 349 | <para>is a simple symmetric encryption tool.</para>
|
---|
| 350 | <indexterm zone="gnupg2 symcryptrun">
|
---|
| 351 | <primary sortas="b-symcryptrun">symcryptrun</primary>
|
---|
| 352 | </indexterm>
|
---|
| 353 | </listitem>
|
---|
| 354 | </varlistentry>
|
---|
| 355 |
|
---|
[618aef19] | 356 | <varlistentry id="watchgnupg">
|
---|
| 357 | <term><command>watchgnupg</command></term>
|
---|
| 358 | <listitem>
|
---|
| 359 | <para>is used to listen to a Unix Domain socket created by any of
|
---|
| 360 | the GnuPG tools.</para>
|
---|
| 361 | <indexterm zone="gnupg2 watchgnupg">
|
---|
| 362 | <primary sortas="b-watchgnupg">watchgnupg</primary>
|
---|
| 363 | </indexterm>
|
---|
| 364 | </listitem>
|
---|
| 365 | </varlistentry>
|
---|
| 366 |
|
---|
| 367 | </variablelist>
|
---|
| 368 |
|
---|
| 369 | </sect2>
|
---|
| 370 |
|
---|
| 371 | </sect1>
|
---|