A script to create, mount and umount LUKS encrypted disk image files.
Find a file
Kevin MacMartin f719c5df60 Wrapped variables in quotes where appropriate, numerous fixes were
made, and errors now produce error messages and then exit with a
failed state
2014-05-29 03:51:54 -04:00
cryptobox Wrapped variables in quotes where appropriate, numerous fixes were 2014-05-29 03:51:54 -04:00
README.md Added bold to highlight commands in the README 2014-05-29 03:13:00 -04:00

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 commands
  • cryptobox c filename.img filesystem size-in-mb: creates an image file filename.img with the filesystem filesystem and size of size-in-mb. eg: cryptobox c myimg.img ext4 128
  • cryptobox m filename.img /mount/point: mounts the image file filename.img on the directory /mount/point. eg: cryptobox m myimg.img /mnt/cryptoimg
  • cryptobox u /mount/point: unmounts the image file mounted on the directory /mount/point. eg: cryptobox u /mnt/cryptoimg

License

This script is open source and licensed under the GPLv3.