LinuxCommandLibrary

tomb

Encrypted storage volume manager

TLDR

Create a new tomb (100 MB)

$ tomb dig -s 100 secret.tomb
copy
Forge a new key file
$ tomb forge secret.tomb.key
copy
Lock a tomb with its key
$ tomb lock secret.tomb -k secret.tomb.key
copy
Open a tomb and mount it
$ tomb open secret.tomb -k secret.tomb.key
copy
Close a tomb
$ tomb close secret.tomb
copy
Slam all tombs forcefully
$ tomb slam all
copy
List all open tombs
$ tomb list
copy
Resize a tomb
$ tomb resize secret.tomb -s 200
copy

SYNOPSIS

tomb [options] command [arguments]

DESCRIPTION

tomb manages encrypted storage directories that can be safely transported and hidden in a filesystem. It creates LUKS-encrypted containers that can be mounted as regular directories. Tombs are useful for secure storage of sensitive data.

PARAMETERS

dig

Create a new tomb container
forge
Create a new key file for locking a tomb
lock
Initialize and lock an empty tomb with a key
open
Mount a tomb using its key file
close
Unmount a tomb
slam
Forcefully close tombs, killing processes using them
list
List all open tombs
resize
Change the size of a tomb
-s SIZE
Specify size in megabytes
-k KEYFILE
Specify key file to use
-f, --force
Force operation (e.g., forge key despite swap)
-o MOUNT_OPTIONS
Specify mount options

CAVEATS

Tomb refuses to forge keys if swap is enabled (to prevent key material from being written to swap). Use -f to override this check. Tombs are implemented using LUKS and require cryptsetup.

HISTORY

tomb was created by the Dyne.org foundation as a user-friendly wrapper for creating and managing LUKS-encrypted volumes in a portable way.

SEE ALSO

cryptsetup(8), gpg(1), dm-crypt(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community