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 perform encryption and volume setup with default parameters, the fastluks command can be used inside the virtual environment:
fastluks
The encryption passphrase can be stored locally and/or on Hashicorp Vault.
- To store the passphrase locally:
fastluks --save-passphrase-locally
- To store the passphrase on Vault, the flag
--vaultmust be used with the required arguments specified:
fastluks --vault --vault-url url --wrapping-token token --secret-path path --user-key key
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
Metadata
Release files for fastluks 0.0.32
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastluks-0.0.32.tar.gz | 27.9 kB | Without provenance | Details for fastluks-0.0.32.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastluks-0.0.32-py3-none-any.whl | Python 3 | none | any | Details for fastluks-0.0.32-py3-none-any.whl |
Total release size: 59.3 kB
Release files / fastluks-0.0.32.tar.gz
| Download URL | fastluks-0.0.32.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c903d882375be39521d1fc122923c5df0f78ce707fb724684dfc9e971f268cc3
|
|
BLAKE2b-256 checksum How to use checksums |
7e32dc05b97d4d50d6a09e5b7d676804c82153b40b37489b9ba4d38a72bf2bb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / fastluks-0.0.32-py3-none-any.whl
| Download URL | fastluks-0.0.32-py3-none-any.whl |
|---|---|
| Size | 31.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8f5b6c094a3ae9df2e814f5489caf9e42dc3619795dee0b43ec7ec969c484ff
|
|
BLAKE2b-256 checksum How to use checksums |
55246489a7cc335032cf1f941656a5022e63860ac53217e43de4e90716993fae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for fastluks 0.0.32
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.