Re: cryptsetup not accepting plain passwd with -d option

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

 



Hi Milan,

I have tested the same on a f16 machine. It worked perfectly !!!

Thanks a lot.

Cheers,
-- Nikhil

On Tue, Jan 31, 2012 at 9:04 PM, Milan Broz <mbroz@xxxxxxxxxx> wrote:
On 01/31/2012 03:49 PM, Nikhil AR wrote:
Hi,

I have created an encrypted ISO image of a directory named data using the below command.

# mkisofa -r data | aespipe -p3 -e aes256 3<./passphrase > data.iso
...

Is there a way to provide cryptsetup its password in a file when it is used in this manner?

The problem is with password hashing.

You need recent cryptsetup with loop-aes compatible support
(in your case you do not need new kernel, it is not multi-key device)

Just run
cryptsetup loopaesOpen data.iso aesdev --key-file passphrase

(no losetup needed, it should find loop automatically)

Milan

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[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