On 10/20/08, Antonio De Leon <aldleonm@xxxxxxxxx> wrote: > But, if i create this way .... > > cryptsetup luksFormat /dev/sda2 key.file > > and then > > cat key.file | cryptsetup luksOpen /dev/sda2 > > it dosent work ( version 1.0.5 ... ) Once you use luksFormat in that way, it seems to be the only way to use it in luksOpen later is the "--key-file" (-d) option. Stdin without using "-d -", as you later discovered, apparently treats the password differently; there's an extra hashing step before the key material is cropped to the size of the key. Basically, be consistent in how you specify the key, because they each have different meanings. --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx