Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69087

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

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject Re: looking to use loop-AES with initramfs tools and root
Date 2021-01-07 22:30 +0100
Message-ID <BuL0Z-1IJ-5@gated-at.bofh.it> (permalink)
References <BuL0Z-1IJ-7@gated-at.bofh.it> <BtSnV-360-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

looking to use loop-AES with initramfs tools and root john terragon <jterragon@gmail.com> - 2021-01-05 12:10 +0100
  Re: looking to use loop-AES with initramfs tools and root Ben Hutchings <ben@decadent.org.uk> - 2021-01-07 22:30 +0100

csiph-web