Skip to main content

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.

Installation

To install this package in a python virtual environment, create and activate the venv, then install the package with pip:

python3 -m virtualenv 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastluks-0.0.20.tar.gz (21.6 kB view hashes)

Uploaded Source

Built Distribution

fastluks-0.0.20-py3-none-any.whl (21.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page