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


Groups > linux.debian.kernel > #69056

looking to use loop-AES with initramfs tools and root

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From john terragon <jterragon@gmail.com>
Newsgroups linux.debian.kernel
Subject looking to use loop-AES with initramfs tools and root
Date Tue, 05 Jan 2021 12:10:03 +0100
Message-ID <BtSnV-360-15@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-kernel-request@lists.debian.org Tue Jan 5 11:01:25 2021
Old-Return-Path <jterragon@gmail.com>
X-Amavis-Spam-Status No, score=-7.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=oUc3QgRi3PC7W0vEAECsLLSlihoG4TiBmozWsHuggQQ=; b=qqO56yxv6yk3XoEfp4OZSR2+ue6/0goPYFs2DE1ceGJFU0IX/0itsnD4bLdELOv98V 48KsBVS1ZxpmtJ6qCJwv+z7X9Y0RZisVQYC/R+4oPiqW7XyCzv6d5JeRqSvFHey62ztj TPPXwCrCCzI+8wCWU+CHwyxmcGWU38dUwOZ9cHBSbeGpvdDkg+mKN1jVWECYMwRKBfMs Y2fORQN8NYqejWB9OJMGZCXCZzTa5VkBR6vBiolqx1Wxo1R08ESqtrByk24vF7thh5Or 54TxWBqwxd927BsPIQCVW4/EzX9Yj21mljHfVdlYeJIUmagyTVnfYl4WsQyO8/zWZG6M +yXQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oUc3QgRi3PC7W0vEAECsLLSlihoG4TiBmozWsHuggQQ=; b=fefRCdEizwODk/vBdhzUuMSKPhLJlc1Hlsz5KrYF2zitjbfx91ZISTO4OqrCeiH+4T eZjH2PvJ2HwI14p4kvkHPvcjBtdaSSJaS0mvAVKMonn4OEtWaDlsDP2V7t78Rt2IIOyD aF2YqTl7Jq1hIHOQNOKyvnlhT+TtGR7eK/fesXz2vwT+fsWDhHodXx9ZaghQGUD0lo6D 4AnVOivYKxbCZrR0lEIshZgs3Y77+GTzqoB/egSn8Tc1JLw16FqfbiQQU+5AWV20tnP+ 0i+n1ML2SHXHFWpSJcOX4VJg6XznvYd9ZOtsqxsRIjjUndq0Rq9cNDSM6/U7OjF2tr5U PUag==
X-Gm-Message-State AOAM5338jdsS1Y/drMBfSw+YPKm/iAQp5jWZqNFN2k5QPYkkvtt/G0xK ftJL+bkOa77BYuB/LSv58L7dRAR/FdJqAr1ejkE12fso/tb4Kw==
X-Google-SMTP-Source ABdhPJx4NrIsqS7qTGWR+OBBxb05IPGXZVqRI9+v7xWKNSS4qRSq8gtgzZINvGIMmx6TjYXUw27qrGGBiEx2NT37z6U=
X-Received by 2002:a9d:2663:: with SMTP id a90mr32224011otb.218.1609844470090; Tue, 05 Jan 2021 03:01:10 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/126369
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/CANg_oxyAu7NCd7kzn9ZCxnvHQcu_ZB_VO0-sBV0tGZCfp=iOwg@mail.gmail.com
Approved robomod@news.nic.it
Lines 15
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 5 Jan 2021 12:00:59 +0100
X-Original-Message-ID <CANg_oxyAu7NCd7kzn9ZCxnvHQcu_ZB_VO0-sBV0tGZCfp=iOwg@mail.gmail.com>
Xref csiph.com linux.debian.kernel:69056

Show key headers only | View raw


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.
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?
Thanks
John

Back to linux.debian.kernel | Previous | NextNext 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