DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Wrong behavior?
@ 2010-07-13 20:51 Sven Eschenberg
  2010-07-13 21:12 ` Milan Broz
  0 siblings, 1 reply; 14+ messages in thread
From: Sven Eschenberg @ 2010-07-13 20:51 UTC (permalink / raw)
  To: dm-crypt

Hi list, I just tried to issue the following command:

cryptsetup -c aes-xts-plain -s 256 -i 5000
--master-key-file /kspace/tmpmaster
luksFormat /dev/md125 /kspace/tmpkey.0

where tmpmaster and tmpkey.0 are binary files with entropy I wish to use
for (tmpmaster) master key for the volume and (tmpkey.0) passphrase/key
in key slot 0.

When I run the command, cryptsetup asks for a passphrase nevertheless,
although it is stated:

luksFormat <device> [<new key file>] - formats a LUKS device

As an alternative, I tried passing the key file for the slot via
--key-file since the manpage states this has precedence if used. No
change though.

Is this a know bug?

cryptsetup is still v1.1.2

Regards

-Sven

P.S.: Do I remember correctly, that the payload offset given by luksDump
is always in 512 bytes sectors?

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

end of thread, other threads:[~2010-07-14 18:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13 20:51 [dm-crypt] Wrong behavior? Sven Eschenberg
2010-07-13 21:12 ` Milan Broz
2010-07-13 22:17   ` Sven Eschenberg
     [not found]     ` <AANLkTilvdewwcdzdm2uX6go9q2dahLX7Fes-lwDNOkvU@mail.gmail.com>
2010-07-14  6:07       ` MkFly
2010-07-14  6:38         ` Heinz Diehl
2010-07-14  8:20           ` Milan Broz
2010-07-14 10:09           ` Arno Wagner
2010-07-14 18:09             ` Christoph Anton Mitterer
2010-07-14  7:58     ` Milan Broz
2010-07-14 11:39       ` Sven Eschenberg
2010-07-14 11:52         ` Milan Broz
2010-07-14 12:07           ` Sven Eschenberg
2010-07-14 12:13             ` Arno Wagner
2010-07-14 12:53             ` Milan Broz

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