2017-03-09 16:09:25 +00:00
|
|
|
# tomb
|
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
> Manage encrypted storage directories that can be safely transported and hidden in a filesystem.
|
2021-06-14 18:49:31 +01:00
|
|
|
> More information: <https://www.dyne.org/software/tomb/>.
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2017-04-25 22:03:27 +01:00
|
|
|
- Create a new tomb with an initial size of 100MB:
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`tomb dig -s {{100}} {{encrypted_directory.tomb}}`
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2017-04-27 00:04:05 +01:00
|
|
|
- Create a new key file that can be used to lock a tomb; user will be prompted for a password for the key:
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`tomb forge {{encrypted_directory.tomb.key}}`
|
2017-04-25 22:03:27 +01:00
|
|
|
|
|
|
|
- Initialize and lock an empty tomb using a key made with `forge`:
|
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`tomb lock {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}`
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Mount a tomb (by default in `/media`) using its key, making it usable as a regular filesystem directory:
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`tomb open {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}`
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2017-04-25 22:03:27 +01:00
|
|
|
- Close a tomb (fails if the tomb is being used by a process):
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`tomb close {{encrypted_directory.tomb}}`
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2017-04-25 22:03:27 +01:00
|
|
|
- Forcefully close all open tombs, killing any applications using them:
|
2017-03-09 16:09:25 +00:00
|
|
|
|
2017-04-25 22:03:27 +01:00
|
|
|
`tomb slam all`
|
|
|
|
|
|
|
|
- List all open tombs:
|
|
|
|
|
|
|
|
`tomb list`
|