Re: [PATCH] Delete cryptoloop

Kevin Corry
2004-07-23T14:03:29Z

On Friday 23 July 2004 7:34 am, Walter Hofmann wrote:
> You wrote on linux.kernel:
> > Your points can be simplified to "I don't use cryptoloop, but someone
> > else might" and "we shouldn't do this in a stable kernel".
> >
> > Well, I want to hear from "someone else". If removing cryptoloop will
> > irritate five people, well, sorry. If it's 5,000 people, well maybe not.
>
> I use cryptoloop and I would be really annoyed if it disappeared in
> the stable kernel series. Besides, I read in another mail in this thread
> that dm-crypt will not work with file-based storage (I'm using
> cryptoloop on a file), and that it is new and potentially buggy.

Just to clarify this one point...
Device-Mapper (and thus dm-crypt) can only create mappings on block-devices.
However, in your situation, you could just take a two-step approach of
creating a loop device on the encrypted file (using losetup), and then using
dm-crypt on top of this loop device.

--
Kevin Corry
kevcorry@us.ibm.com