Storage encryption through LUKS
Project description
fastluks
Python scripts for storage encryption through LUKS. Converted into a python package from fast-luks and luksctl
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 CentOS is the following:
yum install -y python3
python3 -m venv venv
. venv/bin/activate
pip install fastluks
To do the same on Ubuntu:
apt-get update
apt-get install -y python3 python3-pip python3-venv
python3 -m venv venv
. venv/bin/activate
pip install fastluks
Usage: fastluks
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
Usage: luksctl
In order to manage a volume encrypted with fastluks, the command luksctl
can be used from the command line:
# Display volume status
luksctl status
# Open encrypted volume
luksctl open
# Close encrypted volume
luksctl close
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.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 644c4b1cd9f07764d8c92f09d7d53175a2aec47d565500edf81447b736415c4b |
|
MD5 | 0125b7517e91276455e69a4669212ace |
|
BLAKE2b-256 | 921be4857507e1c63f2e26c15648d9256c6bbe9d27a757979ded2843b6178ead |