Howto: Installing Tomb under Trisquel
Preface:
Tomb is the encryption solution used by dyne:bolic to store personal data encrypted on portable media.
From http://tomb.dyne.org/
Tomb - The Crypto Undertaker
Tomb is 100% free and open source software to make strong encryption easy to use.
A tomb is like a locked folder that can be safely transported and hidden in a filesystem.
Keys can be kept separate: for instance the tomb on your computer and the key on a USB stick.
Installing Tomb under Trisquel
==============================
1) Open up your sources.list:
sudo vi /etc/apt/sources.list
2) Add the repositories for Tomb to your sources.list:
deb http://apt.dyne.org/ubuntu dyne main
deb-src http://apt.dyne.org/ubuntu dyne main
3) Import the Tomb repos key to your public keyring:
wget http://apt.dyne.org/software.pub
gpg --import software.pub
sudo apt-key add ~/.gnupg/pubring.gpg
4) Update your package list
sudo apt-get update
5) Install Tomb
sudo apt-get install tomb
Finished :)
Generate your first tomb:
=========================
tomb create --ignore-swap -s 20 mytomb
This will generate a 20 MB big tomb file. Be patient as the generation of the Tomb file will take quite a while. The process itself is rather self-explaining.
After generation you will have a file mytomb.tomb (which is encrypted file itself) plus a mytomb.tomb.key which keeps the key required together with your password to decrypt your tomb file.
You can simply automount tombfiles to a dedicated directory when you place a special file called "bind-hooks" inside the tomb file. Simply check the manual for HOOKS.
Unfortunately I couldn't get the desktop integration of tomb to work correctly as on my Linux Mint box at work but you can easily open your tomb by typing tomb open --ignore-swap mytomb.tomb. After typing your password the tomb file will be mounted under /media/mytomb.tomb as every standard filesystem. You can simply umount the tomb by typing sudo umount /media/mytomb.tomb.