mirror of
https://github.com/prurigro/cryptobox.git
synced 2024-11-22 06:04:10 -05:00
741 B
741 B
Cryptobox
A script that wraps cryptsetup, mkfs and losetup to make it easy to create, mount and unmount encrypted image files using LUKS.
Usage
cryptobox
: displays the list of commandscryptobox c filename.img filesystem size-in-mb
: creates an image file with a given filesystem and size in megabytes.- eg:
cryptobox c myimg.img ext4 128
- eg:
cryptobox m filename.img /mount/point
: mounts a given image file on a given directory.- eg:
cryptobox m myimg.img /mnt/cryptoimg
- eg:
cryptobox u /mount/point
: unmounts an image file from a given directory.- eg:
cryptobox u /mnt/cryptoimg
- eg:
License
This script is open source and licensed under the GPLv3.