Closed GoogleCodeExporter closed 9 years ago
Hm, wonderful bug. Version 1.6.1 behaves differently but the problem is still
there.
Thanks for reporting it.
Original comment by gmazyl...@gmail.com
on 24 Apr 2013 at 9:01
Yep, I noticed that, too.
Thought I should report it against the older versions, though, in case those
are still supported.
Original comment by cms...@gmail.com
on 24 Apr 2013 at 10:53
Fixed (or better said small offset disabled) in commit
http://code.google.com/p/cryptsetup/source/detail?r=ae9c9cf369cb24ac5267376401c8
0c2c40ada6a2#
So you should now see:
# cryptsetup luksFormat -q somefile --header key.img --align-payload=1
Enter passphrase:
Data offset for detached LUKS header must be either 0 or higher than header
size (2050 sectors).
See explanation in commit. In short, if you want detached header, you can
either use data offset 0 (so whole data device is used) or there is always
"reserved" space on data device of header size. (You can always fill this space
with random data or whatever - it is not used).
That's perhaps the safest solution for the current LUKS format.
Original comment by gmazyl...@gmail.com
on 11 May 2013 at 9:21
Original issue reported on code.google.com by
cms...@gmail.com
on 20 Apr 2013 at 1:19