[dm-crypt] cryptsetup not accepting plain passwd with -d option
mbroz at redhat.com
Tue Jan 31 16:34:00 CET 2012
On 01/31/2012 03:49 PM, Nikhil AR wrote:
> 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)
cryptsetup loopaesOpen data.iso aesdev --key-file passphrase
(no losetup needed, it should find loop automatically)
More information about the dm-crypt