DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Detached header
@ 2014-04-17 18:12 Jan Janssen
  2014-04-17 18:21 ` Arno Wagner
  2014-04-17 18:27 ` Milan Broz
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Janssen @ 2014-04-17 18:12 UTC (permalink / raw)
  To: dm-crypt

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dm-crypt] Detached header
  2014-04-17 18:12 [dm-crypt] Detached header Jan Janssen
@ 2014-04-17 18:21 ` Arno Wagner
  2014-04-17 18:27 ` Milan Broz
  1 sibling, 0 replies; 4+ messages in thread
From: Arno Wagner @ 2014-04-17 18:21 UTC (permalink / raw)
  To: dm-crypt

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

Arno

On Thu, Apr 17, 2014 at 20:12:20 CEST, Jan Janssen wrote:
> 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
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@wagner.name
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dm-crypt] Detached header
  2014-04-17 18:12 [dm-crypt] Detached header Jan Janssen
  2014-04-17 18:21 ` Arno Wagner
@ 2014-04-17 18:27 ` Milan Broz
  2014-04-17 18:52   ` Jan Janssen
  1 sibling, 1 reply; 4+ messages in thread
From: Milan Broz @ 2014-04-17 18:27 UTC (permalink / raw)
  To: Jan Janssen, dm-crypt

On 04/17/2014 08:12 PM, Jan Janssen wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dm-crypt] Detached header
  2014-04-17 18:27 ` Milan Broz
@ 2014-04-17 18:52   ` Jan Janssen
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Janssen @ 2014-04-17 18:52 UTC (permalink / raw)
  To: Milan Broz, dm-crypt



On 04/17/2014 08:27 PM, Milan Broz wrote:
> On 04/17/2014 08:12 PM, Jan Janssen wrote:
>> 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
>

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

Jan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-17 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 18:12 [dm-crypt] Detached header Jan Janssen
2014-04-17 18:21 ` Arno Wagner
2014-04-17 18:27 ` Milan Broz
2014-04-17 18:52   ` Jan Janssen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox