glfs/postlfs/security/gnupg.xml

143 lines
4.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gnupg-download-http "http://public.ftp.planetmirror.com/pub/gnupg/gnupg-&gnupg-version;.tar.bz2">
<!ENTITY gnupg-download-ftp "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-&gnupg-version;.tar.bz2">
<!ENTITY gnupg-md5 "fdfc5553d0904cd65011e47a42a9532c">
<!ENTITY gnupg-size "2.8 MB">
<!ENTITY gnupg-buildsize "32 MB">
<!ENTITY gnupg-time "0.42 SBU">
]>
<sect1 id="gnupg" xreflabel="GnuPG-&gnupg-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="gnupg.html"?>
<title>GnuPG-&gnupg-version;</title>
<indexterm zone="gnupg">
<primary sortas="a-GnuPG">GnuPG</primary></indexterm>
<sect2>
<title>Introduction to <application>GnuPG</application></title>
<para>The <application>GnuPG</application> package contains a public/private
key encryptor. This is becoming useful for signing files or emails as proof
of identity and preventing tampering with contents of the file or email.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&gnupg-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&gnupg-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 Sum: &gnupg-md5;</para></listitem>
<listitem><para>Download size: &gnupg-size;</para></listitem>
<listitem><para>Estimated disk space required:
&gnupg-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&gnupg-time;</para></listitem></itemizedlist>
</sect3>
<!-- <sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch: <ulink
url="&patch-root;/gnupg-&gnupg-version;-po_install_fix-1.patch"/>
</para></listitem>
</itemizedlist>
</sect3> -->
<sect3><title><application>GnuPG</application> dependencies</title>
<sect4><title>Optional</title>
<para><xref linkend="openldap"/>,
<xref linkend="libusb"/>,
<xref linkend="curl"/>,
<ulink url="../server/mail.html">MTA</ulink>,
<xref linkend="docbook-utils"/> and <ulink
url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink>
</para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>GnuPG</application></title>
<para>Install <application>GnuPG</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
make</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install &amp;&amp;
chmod 4755 /usr/bin/gpg</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><parameter>--libexecdir=/usr/lib</parameter>: This command
creates a <filename class="directory">gnupg</filename> directory in
<filename class="directory">/usr/lib</filename> instead of
<filename class="directory">/usr/libexec</filename>.</para>
<para><command>chmod 4755 /usr/bin/gpg</command>: <command>gpg</command>
is installed setuid root to avoid swapping out sensitive data.</para>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>gpg, gpgsplit and gpgv</seg>
<seg>None</seg>
<seg>/usr/lib/gnupg and /usr/share/gnupg</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="gpg">
<term><command>gpg</command></term>
<listitem><para>is the backend (command-line interface) for
this Open<acronym>PGP</acronym> implementation.</para>
<indexterm zone="gnupg gpg">
<primary sortas="b-gpg">gpg</primary></indexterm>
</listitem>
</varlistentry>
<varlistentry id="gpgsplit">
<term><command>gpgsplit</command></term>
<listitem><para>separates key rings.</para>
<indexterm zone="gnupg gpgsplit">
<primary sortas="b-gpgsplit">gpgsplit</primary></indexterm>
</listitem>
</varlistentry>
<varlistentry id="gpgv">
<term><command>gpgv</command></term>
<listitem><para>is a verify only version of <command>gpg</command>.</para>
<indexterm zone="gnupg gpgv">
<primary sortas="b-gpgv">gpgv</primary></indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>