[dm-crypt] cryptsetup not accepting plain passwd with -d option

Nikhil AR nikhilalayil at gmail.com
Tue Jan 31 18:06:56 CET 2012


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 at redhat.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20120131/2590b5db/attachment.html>


More information about the dm-crypt mailing list