Re: cat file or -d ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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  ... )

On Sun, Oct 19, 2008 at 8:59 PM, Sitaram Chamarty <sitaramc@xxxxxxxxx>wrote:

> On Mon, Oct 20, 2008 at 1:59 AM, Antonio De Leon <aldleonm@xxxxxxxxx>
> wrote:
> > Whats the difference ?
> >
> >
> > # cat key.file | cryptsetup luksFormat /dev/sda2
> > Command succsessful.
> > # cryptsetup luksOpen /dev/sda2 sda2 -d key.file
> > Command failed: No key available with this passphrase   <----  ?????
> > # cat key.file | cryptsetup luksOpen /dev/sda2 sda2
> > Command succsessful.
>
> man crypsetup and look for a section called "NOTES ON PASSWORD PROCESSING".
>
> (I got caught by this once!)
>
> ---------------------------------------------------------------------
> 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
>
>


-- 

Joan Rivers  - "The first time I see a jogger smiling, I'll consider it."

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux