Storage encryption through LUKS
Project description
fastluks
Python scripts for storage encryption through LUKS. Converted into python from the bash scripts of fast-luks
For this package to work properly, both the installation and usage procedure must be run as superuser either in an Ubuntu or CentOS machine.
Installation
The procedure to setup a virtual environment and install the package on a CentOS machine is the following:
yum install -y python3
python3 -m venv venv
. venv/bin/activate
pip install fastluks
To do the same on an Ubuntu machine:
apt-get update
apt-get install -y python3 python3-pip python3-venv
python3 -m venv venv
. venv/bin/activate
pip install fastluks
Usage
To run the main script (which performs encryption and volume setup) with the default parameters, import the package and call the main_script function inside of a python session in the venv:
import fastluks
fastluks.main_script()
The same result can be obtained directly from the command line after preparing and activating the virtual environment with the following command:
fastluks
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fastluks-0.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6d48b4defac285bef3afb3553662561f05f0cf74f72579d93abcda993ed7f3 |
|
MD5 | 31c47fe98d34917a5c9d6dd32b8678b7 |
|
BLAKE2b-256 | bfe850f5d360a8f93cf9c75c61d85150bd3b735bace166bbcb570dd1daf9224b |