mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-26 06:46:30 +00:00
correct docs on opening tombs without Tomb
This commit is contained in:
parent
f2efa69001
commit
52e80b6042
@ -138,14 +138,13 @@ usability.
|
|||||||
The code of Tomb is made to be read in literate programming style.
|
The code of Tomb is made to be read in literate programming style.
|
||||||
|
|
||||||
In absence of the Tomb script it is always possible to access the
|
In absence of the Tomb script it is always possible to access the
|
||||||
contents of a Tomb using a Linux v3 kernel, cryptsetup and GnuPG
|
contents of a Tomb using a dm-crypt enabled Linux kernel, cryptsetup
|
||||||
issuing the following commands as root:
|
and GnuPG issuing the following commands as root:
|
||||||
|
|
||||||
```
|
```
|
||||||
lo=$(losetup -f)
|
lo=$(losetup -f)
|
||||||
losetup -f secret.tomb
|
losetup -f secret.tomb
|
||||||
pass=$(gpg -d secret.key)
|
gpg -d secret.key | cryptsetup --key-file - luksOpen $lo secret
|
||||||
echo -ne "$pass" | cryptsetup --key-file - luksOpen $lo secret
|
|
||||||
mount /dev/mapper/secret $HOME/secret-contents
|
mount /dev/mapper/secret $HOME/secret-contents
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user