Skip to contentSkip to conversation

Detached header

dm-crypt Jan Janssen 3 participants 4 messages Apr 17, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I'm experimenting with LUKS detached header and I had the problem that cryptsetup binary does not like regular files when provided with --header (both luksFormat and open). When I make a manual losetup with the same header file and provide the loop device to --header everything works fine.

According to the man page, --header is supposed to work for regular files too. This should either get fixed or the manual page be updated.

Jan Janssen

#1 lore raw

Have you read the section "NOTES ON PASSPHRASE PROCESSING FOR LUKS" in the man-page?

Arno

Quoted 17 lines · Jan Janssen

Hi,

I'm experimenting with LUKS detached header and I had the problem that cryptsetup binary does not like regular files when provided with --header (both luksFormat and open). When I make a manual losetup with the same header file and provide the loop device to --header everything works fine.

According to the man page, --header is supposed to work for regular files too. This should either get fixed or the manual page be updated.

Jan Janssen
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt

Signature · 4 lines
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: [email protected]
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -  Plato
#2 lore raw
In reply to Jan Janssen
Quoted 10 lines · Jan Janssen

Hi,

I'm experimenting with LUKS detached header and I had the problem that cryptsetup binary does not like regular files when provided with --header (both luksFormat and open). When I make a manual losetup with the same header file and provide the loop device to --header everything works fine.

According to the man page, --header is supposed to work for regular files too. This should either get fixed or the manual page be updated.

Detached header should works with regular files.

Can you provide more info what is not working? Please post failing command with added --debug and provide exact versions of cryptsetup.

Milan

#3 lore raw
Quoted 12 lines · Milan Broz
Quoted 10 lines · Jan Janssen

Hi,

I'm experimenting with LUKS detached header and I had the problem that cryptsetup binary does not like regular files when provided with --header (both luksFormat and open). When I make a manual losetup with the same header file and provide the loop device to --header everything works fine.

According to the man page, --header is supposed to work for regular files too. This should either get fixed or the manual page be updated.

Quoted 7 lines

Detached header should works with regular files.

Can you provide more info what is not working? Please post failing command with added --debug and provide exact versions of cryptsetup.

Milan

Sorry for the noise, I had a typo in the header file name.

Jan