2017-06-22 05:49:37 +08:00
|
|
|
<?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;
|
|
|
|
|
2017-06-24 08:47:17 +08:00
|
|
|
<!ENTITY volume_key-download-http "https://releases.pagure.org/volume_key/volume_key-&volume_key-version;.tar.xz">
|
2017-06-22 05:49:37 +08:00
|
|
|
<!ENTITY volume_key-download-ftp " ">
|
2018-05-25 03:42:37 +08:00
|
|
|
<!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">
|
2017-06-22 05:49:37 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2018-02-21 20:35:18 +08:00
|
|
|
&lfs82_checked;
|
2017-06-22 05:49:37 +08:00
|
|
|
|
|
|
|
<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>
|
2018-05-25 22:29:40 +08:00
|
|
|
<!--
|
2017-06-22 05:49:37 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required patch:
|
2018-03-17 07:59:47 +08:00
|
|
|
<ulink url="&patch-root;/volume_key-&volume_key-version;-cryptsetup2-1.patch"/>
|
2017-06-22 05:49:37 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2018-05-25 22:29:40 +08:00
|
|
|
-->
|
2017-06-22 05:49:37 +08:00
|
|
|
<bridgehead renderas="sect3">volume_key Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2017-06-24 10:17:33 +08:00
|
|
|
<xref linkend="cryptsetup"/>,
|
2017-06-22 05:49:37 +08:00
|
|
|
<xref linkend="glib2"/>,
|
|
|
|
<xref linkend="gpgme"/>, and
|
2017-11-04 05:43:40 +08:00
|
|
|
<xref linkend="python2"/>
|
2017-06-22 05:49:37 +08:00
|
|
|
</para>
|
|
|
|
|
2017-11-04 05:43:40 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="swig"/>
|
2017-06-23 05:04:21 +08:00
|
|
|
</para>
|
2017-10-16 02:23:25 +08:00
|
|
|
<!--
|
2017-06-23 05:04:21 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2017-06-22 05:49:37 +08:00
|
|
|
<xref linkend="python3"/>
|
|
|
|
</para>
|
2017-10-16 02:23:25 +08:00
|
|
|
-->
|
2017-06-22 05:49:37 +08:00
|
|
|
<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>
|
|
|
|
|
2018-05-25 22:29:40 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2017-06-23 05:04:21 +08:00
|
|
|
make</userinput></screen>
|
2017-06-22 05:49:37 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
This package does not come with a functioning test suite.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2017-11-04 05:43:40 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2017-11-05 05:51:30 +08:00
|
|
|
sed -i '/config.h/d' /usr/include/volume_key/libvolume_key.h</userinput></screen>
|
2017-11-04 05:43:40 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
2017-11-05 05:51:30 +08:00
|
|
|
<command>sed -i '/config.h/d' /usr/include/volume_key/libvolume_key.h</command>:
|
2017-11-04 05:43:40 +08:00
|
|
|
Removes a reference to config.h, which is not installed.
|
|
|
|
</para>
|
2017-06-22 05:49:37 +08:00
|
|
|
|
|
|
|
</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>
|