Creating dm-crypt images through a pipe

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

 



Hello,

I'm looking for tools enabling creation of dm-crypt compatible images
by filtering data through pipes, e.g. :
mkisofs -r <dir> | cryptpipe >/dev/somedevice
or to burn them directly with cdrecord.

There is the program aespipe from loop-aes, but I couldn't get it to
use plain hashes for keys coming from /dev/random. The only mode compatible
with cryptsetup (and dm-crypt) is the lousy "type in a password" one.
I need to have something more flexible which can use any binary raw key
which would be stored somewhere else, e.g. encrypted with gpg. I could
possibly give a try to LUKS, but I found no tool which can add the mandatory
headers through a pipe.

I also had a look at the cryptsetup source code, to see if I could re-use
some code to write such a piping program, but it seems cryptsetup is closely
tied to block devices.

Any ideas ?

Cheers,
JCH


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