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

Re: looking to use loop-AES with initramfs tools and root



On Tue, 2021-01-05 at 12:00 +0100, john terragon wrote:
> Hi.
> I want to use loop-AES for my encrypted root partition (the real thing, not
> the compatibility mode offered by cryptsetup to mount old loop-AES volumes)
> and I'm looking to make it play nice with the initramfs tools.

I don't understand why you want to do this the hard way.

> Basically I just have to make initramfs scripts use a special version of losetup
> (which is not going to be interfering with the one in the utils-linux package,
> I'll just rename it losetup-aes or something) instead of cryptsetup.
> I've yet to take a look at it but by the existence of the cryptsetup-initramfs
> package I came to the conclusion that the initramfs tools are maybe written in
> a modular fashion so that it's easy to plug-in support for something
> different than cryptsetup.
> So, I guess cryptsetup-initramfs is a good place to look into in order
> to achieve my goal right?

So long as this is just for a local package, sure.

I can't speak for the cryptsetup maintainer, but I wouldn't expect
patches to support the old loop-aes to be accepted into the official
package.

Ben.

-- 
Ben Hutchings
A free society is one where it is safe to be unpopular.
                                                      - Adlai Stevenson

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: