eternaltyro / cryptsetup

Since Google code is shuttering...
http://code.google.com/p/cryptsetup
GNU General Public License v2.0
0 stars 0 forks source link

closing a luks partition with detached header shows a bogus error #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
0. Prerequisite: The partition must start at offest 0 with detached header
1. luksOpen the partition with the '--header=headerfile' option.
2. luksClose the partition

What is the expected output? What do you see instead?
Expected output: Nothing
Shown output: 'Device /dev/loop0 is not a valid LUKS device.' (loop0 is the 
encrypted device.

What version of the product are you using? On what operating system?
cryptsetup 1.4.1 on Debian testing/sid with 3.0 kernel.
Compiled from source on this site.

Please provide any additional information below.
nothing else.

Original issue reported on code.google.com by neonm...@gmail.com on 13 Nov 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Yes, a few such problems with detached header can happen, I'll fix them as they 
appears in next minor version.

Anyway, it is just message, command should still work.

Thanks for testing.

Original comment by gmazyl...@gmail.com on 13 Nov 2011 at 3:59

GoogleCodeExporter commented 9 years ago
Fixed in commit
http://code.google.com/p/cryptsetup/source/detail?r=689#

Thanks.

Original comment by gmazyl...@gmail.com on 13 Nov 2011 at 10:14

GoogleCodeExporter commented 9 years ago
Thanks for the fast response (and patch)!
Forgot to explicitly mention that the command suceeded, sorry.

Original comment by neonm...@gmail.com on 16 Nov 2011 at 1:29