Skip to content

A robust and thoroughly tested Bash script to automatically unlock a LUKS LVM setup using a key inside a USB.

License

Notifications You must be signed in to change notification settings

filisko/cryptsetup-usb-keyscript

Repository files navigation

🔐 Keyscript for LUKS LVM

ci

A robust and thoroughly tested Bash script to automatically unlock a LUKS LVM setup using a key inside a USB.

🔧 Setup

You can read this post to start with:

⚙️ Installation

wget https://raw.githubusercontent.com/filisko/cryptsetup-usb-keyscript/refs/heads/main/src/keyscript.sh
chmod +x keyscript.sh

Clone the project:

git clone [email protected]:filisko/cryptsetup-usb-keyscript.git

Install BashUnit:

./install_bashunit.sh

Watch & Run the tests:

This watches for changes either on the code or in any of the tests.

# watch all tests
./watch.sh tests

# watch one specific test (probably what you want at first)
./watch.sh tests/run.test.sh

Run all tests:

This script is used for the GitHub action. It runs all tests.

./tests.sh

🧾 License

This project is licensed under the MIT License (MIT). Please see LICENSE for more information.

About

A robust and thoroughly tested Bash script to automatically unlock a LUKS LVM setup using a key inside a USB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published