Skip to content

Ast3risk-ops/Tomb-Scripts

Repository files navigation

Tomb Scripts

Some scripts to help linux users dig tombs

What is a tomb on linux?

A tomb on linux is a LUKS encrypted space on your hard disk where you can put files. It is protected by a password and you can hide the key in an image.

Installation

Debian/Ubuntu

sudo apt install gnupg zsh cryptsetup pinentry-curses steghide qrencode
sudo apt install tomb

CentOS/Fedora

sudo yum install gnupg zsh cryptsetup pinentry-curses steghide qrencode
 sudo yum install tomb

or

sudo dnf install gnupg zsh cryptsetup pinentry-curses steghide qrencode
 sudo dnf install tomb

Arch/Manjaro

install yay, then:

sudo pacman -S gpg zsh cryptsetup pinentry steghide qrencode 

then:

yay -S tomb-git

Other

Before doing this please install the prerequisites first. this is just incase you can't install tomb.

cd Downloads
wget -c https://files.dyne.org/tomb/Tomb-2.9.tar.gz
tar -xzvf Tomb-2.9.tar.gz
cd Tomb-2.9
sudo make install

Or you can install tomb using your system's package manager. If the wget command doesn't work go here and download the .tar.gz. After, run the rest of the commands.

Run the scripts

click the big green "Code" button, then, click "Download ZIP." Extract the zip to any directory. Once that is done, run:

cd path/to/directory

replacing "path/to/directory" with the path to where the files are.

then:

./digTomb.sh

to dig your first tomb.

Note

If you have a problem with the scripts not being executable, while in the directory with the scripts in it, type:

chmod u+x name_of_script.sh

replacing name_of_script with the script's name

Things to know

Swap spaces

Swap spaces do pose a rish to the security of your tombs, however, my scripts do not display the warning as they use the -f switch to force the operation to complete. If you are worried about this you can turn off all swap spaces until the next reboot using this command:

sudo swapoff -a

What do the scripts do?

  1. digTomb digs a tomb, forges a key using a password supplied by the user, and locks the tomb
  2. closeTomb closes the tomb
  3. closeAll closes all open tombs
  4. openTomb opens a tomb
  5. jpgKey hides the key for your tomb in an image, it then can be used as a key when prompted
  6. slamTomb closes a tomb even if there are processes interacting with it, as closeTomb will not close the tomb if there are processes interacting with the tomb.
  7. listTomb lists all open tombs.
  8. slamAll slams all open tombs.
  9. resizeTomb resizes a tomb

Rules of use

Check the LICENSE