mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-29 00:06:38 +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)
|
||||
losetup -f secret.tomb
|
||||
pass="$(gpg -d secret.key)"
|
||||
echo -n -e "$pass" | cryptsetup --key-file - luksOpen $lo secret
|
||||
gpg -d secret.key | head -c -1 | cryptsetup --key-file - luksOpen $lo secret
|
||||
mount /dev/mapper/secret /mnt
|
||||
unset pass
|
||||
```
|
||||
One can change the last argument `/mnt` to where the Tomb has to be
|
||||
mounted and made accessible. To close the tomb then use:
|
||||
|
Loading…
Reference in New Issue
Block a user