commit 52e80b6042c4199eb663616bdfbbe7c66a72318d parent f2efa690010b2847ed4368f15e63135774dc817b Author: Jaromil <jaromil@dyne.org> Date: Sat, 22 Nov 2014 00:32:25 +0100 correct docs on opening tombs without Tomb Diffstat:
M | README.md | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md @@ -138,14 +138,13 @@ usability. 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 -contents of a Tomb using a Linux v3 kernel, cryptsetup and GnuPG -issuing the following commands as root: +contents of a Tomb using a dm-crypt enabled Linux kernel, cryptsetup +and GnuPG issuing the following commands as root: ``` lo=$(losetup -f) losetup -f secret.tomb - pass=$(gpg -d secret.key) - echo -ne "$pass" | cryptsetup --key-file - luksOpen $lo secret + gpg -d secret.key | cryptsetup --key-file - luksOpen $lo secret mount /dev/mapper/secret $HOME/secret-contents ```