tomb: add page
This commit is contained in:

committed by
Agniva De Sarker

parent
fb7e3969fe
commit
972e5889e1
26
pages/linux/tomb.md
Normal file
26
pages/linux/tomb.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# tomb
|
||||||
|
|
||||||
|
> Manage the creation and access of encrypted storage files
|
||||||
|
|
||||||
|
- Create a 100Mb tomb, lock it with a key, and mount it at /media/secret
|
||||||
|
|
||||||
|
`tomb dig -s 100 {{secret.tomb}}`
|
||||||
|
`tomb forge {{secret.tomb.key}}`
|
||||||
|
`tomb lock {{secret.tomb}} -k {{secret.tomb.key}}`
|
||||||
|
`tomb open {{secret.tomb}} -k {{secret.tomb.key}}`
|
||||||
|
|
||||||
|
- List all open tombs
|
||||||
|
|
||||||
|
`tomb list`
|
||||||
|
|
||||||
|
- Close a tomb.
|
||||||
|
|
||||||
|
`tomb close {{secret.tomb}}`
|
||||||
|
|
||||||
|
- Open a local tomb using a remote key
|
||||||
|
|
||||||
|
`ssh {{user@server.net}} 'cat {{secret.tomb.key}}' | tomb open {{secret.tomb}} -k -`
|
||||||
|
|
||||||
|
- Open a remote tomb with a local key
|
||||||
|
|
||||||
|
`gpd -d {{secret.tomb.key}} | ssh {{user@server.net}} tomb open {{secret.tomb}} -k cleartext --unsafe`
|
Reference in New Issue
Block a user