mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-25 14:17:41 +00:00
correct shell sequence to open without tomb script
fix #372 thanks to @grcancelliere
This commit is contained in:
parent
ce521ed2e2
commit
b235f16ce4
@ -160,10 +160,8 @@ 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 | head -c -1 | cryptsetup --key-file - luksOpen $lo secret
|
||||||
echo -n -e "$pass" | cryptsetup --key-file - luksOpen $lo secret
|
|
||||||
mount /dev/mapper/secret /mnt
|
mount /dev/mapper/secret /mnt
|
||||||
unset pass
|
|
||||||
```
|
```
|
||||||
One can change the last argument `/mnt` to where the Tomb has to be
|
One can change the last argument `/mnt` to where the Tomb has to be
|
||||||
mounted and made accessible. To close the tomb then use:
|
mounted and made accessible. To close the tomb then use:
|
||||||
|
Loading…
Reference in New Issue
Block a user