trouble managing key.file

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

 



Hi all!
It's my first mail here, but I've googled a lot before posting...
:)
My problem is - as you can read - with key.file managing.

# dmsetup version
Library version: 1.02.20 (2007-06-15)
Driver version: 4.11.0

kernel: 2.6.22-14 on ubuntu 8.04

I've used till now dm-crypt with another partition typing the password at boot; it's perfectly! Now I'd like to encrypt another one and mount it only if the first crypto-device is mounted.
So I've created it, ad added the key.file in a directory of the first encrypted device, but... It doesn't work!

I've checked:
- hashalot with rmd160compat. ripemd160, rmd160 of my password with 32 bytes 
          is the same output I get from:

- dmsetup table --showkeys new_partition

But if I put this output in the key.file (with a new line at the end of it), during the partition mapping something goes wrong, so I receive always a "wrong fs type" during mount operation of mapped device (but it works perfectly if I put the password by hand).
Moreover:

- cryptsetup status new_partition

says it's normally active, also if it's not "mount ready"!

Can You help me?
Thanks!

Cheers...

---

Salud!
Pierino, la peste.

Info di servizio.. http://utenti.tripod.it/Pierino_lapeste/
E' l'indirizzo della mia home page.. utile a chi ha intenzione di rinfrescarsi la memoria sui modems. Ringrazio tutti i volenterosi che vorranno aiutarmi a migliorarla!


      

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



[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