11 Jul
2012
11 Jul
'12
9:26 a.m.
Am Wed, 11 Jul 2012 11:13:27 +0200 schrieb Tom Gundersen <teg@jklm.no>:
Damn, I pasted the wrong link. Sorry about that. It should have been: <http://0pointer.de/public/systemd-man/crypttab.html>.
So, to decrypt /dev/sda1 using a 1024 bits key stored at an offset of 1MB on the key usb drive /dev/sdd, you would do
secret /dev/sda1 /dev/sdd size=1024,keyfile-offset=1024
The missing keyfile-offset entry from the link is:
"keyfile-offset= Specifies the number of bytes to skip at the start of the keyfile; see cryptsetup(8) for possible values and the default value of this option."
Thanks. That clarifies it. Looks indeed a bit clearer than the old syntax. Heiko