diff --git a/README.md b/README.md index de14f1e..4eb9c11 100644 --- a/README.md +++ b/README.md @@ -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: