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