[b4b71892] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[b4b71892] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[169778d] | 7 | <!ENTITY gnupg-download-http " ">
|
---|
[b4b71892] | 8 | <!ENTITY gnupg-download-ftp "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-&gnupg-version;.tar.bz2">
|
---|
[70292438] | 9 | <!ENTITY gnupg-md5sum "58bb873ecf17d3205a98c545248d7b04">
|
---|
[2054004] | 10 | <!ENTITY gnupg-size "3.5 MB">
|
---|
[70292438] | 11 | <!ENTITY gnupg-buildsize "46 MB">
|
---|
| 12 | <!ENTITY gnupg-time "0.4 SBU">
|
---|
[b4b71892] | 13 | ]>
|
---|
| 14 |
|
---|
[79f87f94] | 15 | <sect1 id="gnupg" xreflabel="GnuPG-&gnupg-version;">
|
---|
[07d11f5] | 16 | <?dbhtml filename="gnupg.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GnuPG-&gnupg-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gnupg">
|
---|
| 26 | <primary sortas="a-GnuPG">GnuPG</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GnuPG</title>
|
---|
| 31 |
|
---|
[0afcfa88] | 32 | <para>The <application>GnuPG</application> package contains a
|
---|
[06de117e] | 33 | public/private key encryptor. This is useful for signing
|
---|
[0afcfa88] | 34 | files or emails as proof of identity and preventing tampering with
|
---|
[618aef19] | 35 | the contents of the file or email. For a more enhanced version of
|
---|
| 36 | GnuPG which supports S/MIME, see the <xref linkend="gnupg2"/>
|
---|
| 37 | package.</para>
|
---|
[07d11f5] | 38 |
|
---|
[15fc6d6] | 39 | &lfs74_checked;
|
---|
[d146ee9] | 40 |
|
---|
[07d11f5] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&gnupg-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&gnupg-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &gnupg-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &gnupg-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &gnupg-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &gnupg-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[5d7be300] | 66 | <para role="optional"><xref linkend="openldap"/>,
|
---|
[6d0910f1] | 67 | <xref linkend="libusb-compat"/>,
|
---|
[0afcfa88] | 68 | <xref linkend="curl"/>,
|
---|
[5d7be300] | 69 | an <xref linkend="server-mail"/>, and
|
---|
| 70 | <ulink url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
|
---|
[07d11f5] | 71 |
|
---|
[3597eb6] | 72 | <para condition="html" role="usernotes">User Notes:
|
---|
| 73 | <ulink url="&blfs-wiki;/gnupg"/></para>
|
---|
| 74 |
|
---|
[07d11f5] | 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="installation">
|
---|
| 78 | <title>Installation of GnuPG</title>
|
---|
| 79 |
|
---|
[0afcfa88] | 80 | <para>Install <application>GnuPG</application> by running the following
|
---|
[07d11f5] | 81 | commands:</para>
|
---|
| 82 |
|
---|
[7a1d446f] | 83 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &&
|
---|
[07d11f5] | 84 | make</userinput></screen>
|
---|
| 85 |
|
---|
[8aeb474] | 86 | <para>If you have <xref linkend="texlive"/>
|
---|
[f1e103a] | 87 | installed and you wish to create documentation in alternate formats, issue
|
---|
| 88 | the following command:</para>
|
---|
[5ad3a6c] | 89 |
|
---|
[acac7412] | 90 | <screen><userinput>make -C doc pdf html</userinput></screen>
|
---|
[5ad3a6c] | 91 |
|
---|
| 92 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 93 |
|
---|
[06de117e] | 94 | <para>Note that if you have already installed <application>GnuPG
|
---|
| 95 | 2</application>, the instructions below will overwrite
|
---|
| 96 | <filename>/usr/share/man/man1/gpg-zip.1</filename>. Now, as the
|
---|
| 97 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[07d11f5] | 98 |
|
---|
| 99 | <screen role="root"><userinput>make install &&
|
---|
[acac7412] | 100 |
|
---|
[5ad3a6c] | 101 | install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &&
|
---|
[06de117e] | 102 | cp -v /usr/share/gnupg/FAQ \
|
---|
| 103 | /usr/share/doc/gnupg-&gnupg-version; &&
|
---|
| 104 | install -v -m644 doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS} \
|
---|
| 105 | /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
|
---|
[5ad3a6c] | 106 |
|
---|
| 107 | <para>If you created alternate formats of the documentation, install it
|
---|
| 108 | using the following command as the
|
---|
| 109 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 110 |
|
---|
[acac7412] | 111 | <screen role="root"><userinput>cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
|
---|
[07d11f5] | 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="commands">
|
---|
| 116 | <title>Command Explanations</title>
|
---|
| 117 |
|
---|
| 118 | <para><parameter>--libexecdir=/usr/lib</parameter>: This command
|
---|
| 119 | creates a <filename class="directory">gnupg</filename> directory in
|
---|
| 120 | <filename class="directory">/usr/lib</filename> instead of
|
---|
| 121 | <filename class="directory">/usr/libexec</filename>.</para>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Libraries</segtitle>
|
---|
| 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
[7a1d446f] | 134 | <seg>gpg, gpg-zip, gpgsplit, and gpgv</seg>
|
---|
[07d11f5] | 135 | <seg>None</seg>
|
---|
[5ad3a6c] | 136 | <seg>/usr/lib/gnupg, /usr/share/gnupg and
|
---|
| 137 | /usr/share/doc/gnupg-&gnupg-version;</seg>
|
---|
[07d11f5] | 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | <variablelist>
|
---|
| 142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 143 | <?dbfo list-presentation="list"?>
|
---|
| 144 | <?dbhtml list-presentation="table"?>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="gpg">
|
---|
| 147 | <term><command>gpg</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>is the backend (command-line interface) for
|
---|
| 150 | this OpenPGP implementation.</para>
|
---|
| 151 | <indexterm zone="gnupg gpg">
|
---|
| 152 | <primary sortas="b-gpg">gpg</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
[df1e8e6] | 157 | <varlistentry id="gpg-zip">
|
---|
| 158 | <term><command>gpg-zip</command></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>shell script that implements a gpg-ized version of
|
---|
| 161 | <command>tar</command>.</para>
|
---|
| 162 | <indexterm zone="gnupg gpg-zip">
|
---|
| 163 | <primary sortas="b-gpg-zip">gpg-zip</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
[07d11f5] | 168 | <varlistentry id="gpgsplit">
|
---|
| 169 | <term><command>gpgsplit</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>separates key rings.</para>
|
---|
| 172 | <indexterm zone="gnupg gpgsplit">
|
---|
| 173 | <primary sortas="b-gpgsplit">gpgsplit</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="gpgv">
|
---|
| 179 | <term><command>gpgv</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>is a verify only version of <command>gpg</command>.</para>
|
---|
| 182 | <indexterm zone="gnupg gpgv">
|
---|
| 183 | <primary sortas="b-gpgv">gpgv</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
[eb7ab87b] | 191 |
|
---|
| 192 | </sect1>
|
---|