glfs/postlfs/security/volume_key.xml

198 lines
5.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY volume_key-download-http "https://releases.pagure.org/volume_key/volume_key-&volume_key-version;.tar.xz">
<!ENTITY volume_key-download-ftp " ">
<!ENTITY volume_key-md5sum "605fd99a6e42916728020562a6edee78">
<!ENTITY volume_key-size "464 KB">
<!ENTITY volume_key-buildsize "6.9 MB">
<!ENTITY volume_key-time "less than 0.1 SBU">
]>
<sect1 id="volume_key" xreflabel="volume_key-&volume_key-version;">
<?dbhtml filename="volume_key.html"?>
<sect1info>
<othername>$LastChangedBy: fernando $</othername>
<date>$Date: 2015-09-25 08:48:24 -0500 (Fri, 25 Sep 2015) $</date>
</sect1info>
<title>volume_key-&volume_key-version;</title>
<indexterm zone="volume_key">
<primary sortas="a-volume_key">volume_key</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to volume_key</title>
<para>
The <application>volume_key</application> package provides
a library for manipulating storage volume encryption keys and storing
them separately from volumes to handle forgotten passphrases.
</para>
&lfs82_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&volume_key-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&volume_key-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &volume_key-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &volume_key-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &volume_key-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &volume_key-time;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/volume_key-&volume_key-version;-cryptsetup2-1.patch"/>
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">volume_key Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cryptsetup"/>,
<xref linkend="glib2"/>,
<xref linkend="gpgme"/>, and
<xref linkend="python2"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="swig"/>
</para>
<!--
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="python3"/>
</para>
-->
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/volume_key"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of volume_key</title>
<para>
Install <application>volume_key</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a functioning test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install &amp;&amp;
sed -i '/config.h/d' /usr/include/volume_key/libvolume_key.h</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i '/config.h/d' /usr/include/volume_key/libvolume_key.h</command>:
Removes a reference to config.h, which is not installed.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
volume_key
</seg>
<seg>
libvolume_key.so
</seg>
<seg>
/usr/include/volume_key
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="volume_key-prog">
<term><command>volume_key</command></term>
<listitem>
<para>
manages encrypted volume keys and passphrases.
</para>
<indexterm zone="volume_key volume_key-prog">
<primary sortas="b-volume_key">volume_key</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="volume_key-lib">
<term><filename class="libraryfile">volume_key.so</filename></term>
<listitem>
<para>
contains API functions for managing encrypted volume keys.
</para>
<indexterm zone="volume_key volume_key-lib">
<primary sortas="c-volume_key">volume_key.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>