The Linux Crypto Undertaker
Go to file
BoySka 913a85dbb4 Merge pull request #106 from gdrooid/master
documentation fix (urandom vs random)
2014-04-28 15:03:20 +02:00
doc documentation update 2014-04-25 23:16:43 +02:00
extras fix tests scripts to work after recent key refactoring 2014-04-02 14:31:36 +02:00
.gitignore autoconf removed from gitignore for cleanup 2013-06-03 10:12:59 +02:00
.gitmodules fixes in dyne-web submodule 2011-01-26 10:43:49 +01:00
AUTHORS.md documentation update 2014-04-25 23:16:43 +02:00
ChangeLog.md documentation update 2014-04-25 23:16:43 +02:00
COPYING New repository for Tomb 2010-08-22 15:04:19 +02:00
INSTALL.md documentation update 2014-04-25 23:16:43 +02:00
KNOWN_BUGS.md documentation update 2014-04-25 23:16:43 +02:00
Makefile documentation for a new minor release 2014-02-24 16:09:28 +01:00
README.md documentation update 2014-04-25 23:16:43 +02:00
tomb documentation fix 2014-04-28 14:56:21 +02:00

    .....                                                ..
 .H8888888h.  ~-.                                  . uW8"
 888888888888x  `>        u.      ..    .     :    `t888
X~     `?888888hx~  ...ue888b   .888: x888  x888.   8888   .
'      x8.^"*88*"   888R Y888r ~`8888~'888X`?888f`  9888.z88N
 `-:- X8888x        888R I888>   X888  888X '888>   9888  888E
      488888>       888R I888>   X888  888X '888>   9888  888E
    .. `"88*        888R I888>   X888  888X '888>   9888  888E
  x88888nX"      . u8888cJ888    X888  888X '888>   9888  888E
 !"*8888888n..  :   "*888*P"    "*88%""*88" '888!` .8888  888"
'    "*88888888*      'Y"         `~    "    `"`    `%888*%"
        ^"***"`                                        "`

A minimalistic commandline tool to manage encrypted volumes

Latest version: 1.5.3

http://dyne.org/software/tomb

What is Tomb, the crypto undertaker

Tomb aims to be a free and open source system for easy encryption and backup of personal files, written in code that is easy to review and links shared GNU/Linux components.

At present time, Tomb consists of a simple shell script (Zsh) using standard filesystem tools (GNU) and the cryptographic API of the Linux kernel (cryptsetup and LUKS). Tomb can also produce machine parsable output to facilitate its use inside graphical applications.

How does it works

For the instructions on how to get started using Tomb, see INSTALL.

This tool can be used to dig .tomb files (Luks volumes), forge keys protected by a password (GnuPG symmetric encryption) and use the keys to lock the tombs. Tombs are like single files whose contents are unaccessible in absence of the key they were locked with and its password.

Once open the tombs are just like normal folders and can contain different files, plus they offer advanced functionalities like bind and execution hooks and fast search, or they can be slammed close even if busy. Keys can be stored on separate media like USB sticks, NFC or bluetooth devices to make the transport of data safer: one always needs both the tomb and the key, plus its password, to access it.

The tomb script takes care of several details to improve the security of tombs in every day usage: adopting pinentry for passwords, facilitating the storage of backup keys using image steganography, listing open tombs and selectively closing them, warning the user about their size and last time they were used, etc.

How secure is this?

Death is the only sure thing in life. Said that, Tomb is a pretty secure tool especially because it keeps minimal, its source is always open and its code is easy to review with a bit of shell script knowledge.

All encryption tools being used in Tomb are included as default in many GNU/Linux operating systems and therefore are regularly peer reviewed: we don't add anything else to them really, just a layer of usability.

The code of Tomb can be read in a literate programming style on http://tomb.dyne.org/literate

Stage of development

Tomb is an evolution of the 'mknest' tool developed for the dyne:bolic GNU/Linux distribution, which is used by its 'nesting' mechanism to encrypt the Home directory of users, a system implemented already in 2001. Since then, the same shell routines kept being maintained and in 2007 they were adapted to work on various other GNU/Linux distributions.

As of today, Tomb is a well stable tool also used in mission critical situations by a number of activists in endangered zones. It has been reviewed by forensics analysts and it can be considered to be safe for military grade use, where the integrity of informations stored depend from the user's behaviour and the strenght of a standard AES-256 (XTS plain) encryption algorithm.

How can you help

Donations are always welcome, see https://dyne.org/donate

Code is pretty short and readable: start looking around it and the materials found in doc/ which are good pointers at security measures to be further implemented.

For the bleeding edge visit https://github.com/dyne/Tomb

Tomb's developers can be contacted via the "crypto" mailinglist on http://lists.dyne.org or via IRC on https://irc.dyne.org channel #dyne

Some enthusiastic ideas are in the TODO file.

Information on developers involved is found in the AUTHORS file.