The volume_key package provides a library for manipulating storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://github.com/felixonmars/volume_key/archive/volume_key-0.3.12.tar.gz
Download MD5 sum: d1c76f24e08ddd8c1787687d0af5a814
Download size: 196 KB
Estimated disk space required: 11 MB
Estimated build time: 0.2 SBU
cryptsetup-2.4.3, GLib-2.74.5, GnuPG-2.4.0, GPGME-1.18.0, and nss-3.88.1
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/volume_key
This package expands to the directory volume_key-volume_key-0.3.12.
Tell the building system how to locate GPGME and GnuPG correctly:
sed -e '/AM_PATH_GPGME/iAM_PATH_GPG_ERROR' \ -e 's/gpg2/gpg/' -i configure.ac
Install volume_key by running the following commands:
autoreconf -fiv && ./configure --prefix=/usr \ --without-python && make
To test the results, issue: make check.
Now, as the root
user:
make install
--without-python
: This
parameter prevents building the Python
2 bindings, if Python-2.7.18
is installed.
--without-python3
: Use this option if
you do not want to build the Python
3 bindings. In this case, SWIG-4.1.1 is not
needed.