From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from stocktonflats.co.uk (stocktonflats.co.uk [62.31.71.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Wed, 29 May 2019 11:56:48 +0200 (CEST) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by stocktonflats.co.uk (Postfix) with ESMTPSA id D7D316061E for ; Wed, 29 May 2019 10:56:36 +0100 (BST) Received: by mail-qt1-f169.google.com with SMTP id w1so1778377qts.2 for ; Wed, 29 May 2019 02:56:36 -0700 (PDT) MIME-Version: 1.0 References: <20190522124652.GA1205@tansi.org> <20190522171614.GA23632@fripost.org> In-Reply-To: <20190522171614.GA23632@fripost.org> From: Dominic Raferd Date: Wed, 29 May 2019 10:56:05 +0100 Message-ID: Content-Type: multipart/alternative; boundary="00000000000001315a058a03cc51" Subject: Re: [dm-crypt] LUKS + dm-crypt Debian/Ubuntu expanding encrypted root LV onto 2nd disk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --00000000000001315a058a03cc51 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Guilhem, those links are very helpful but I have not solved it yet. Another change in the new cryptsetup is LUKS2 and use of the kernel keyring, so when run from a booted system dmcrypt_derived just returns a message that the source crypt device uses the keyring - I don't know how to obtain the actual key to use it in the creation of the second crypt device (or maybe it is impossible). On Wed, 22 May 2019 at 18:16, Guilhem Moulin wrote: > Hi Dominic, > > On Wed, 22 May 2019 at 13:53:07 +0100, Dominic Raferd wrote: > > Thanks Arno, I think it is Debian really (rather than Ubuntu), but I > > couldn't see where to ask except here. Will dig some more. > > For Debian you could file a bug against the =E2=80=98cryptsetup-initramfs= =E2=80=99 > package, see https://tracker.debian.org/pkg/cryptsetup and > https://www.debian.org/Bugs/ . > > (=E2=80=98Severity: wishlist=E2=80=99 I guess; at least your custom patch= not applying > anymore isn't hinting at a regression.) > > Also FWIW we (Debian packaging team) have native support for unlocking > multiple devices at early boot stage with a single passphrase prompt, > see /usr/share/doc/cryptsetup-initramfs/README.initramfs.gz and > /usr/share/doc/cryptsetup-run/README.* . If that doesn't cover your > workflow then please visit the above links and file a wishlist bug :-) > > Cheers, > -- > Guilhem. > --00000000000001315a058a03cc51 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Guilhem, those links are very helpful but I have not s= olved it yet. Another change in the new cryptsetup is LUKS2 and use of the = kernel keyring, so when run from a booted system dmcrypt_derived just retur= ns a message that the source crypt device uses the keyring - I don't kn= ow how to obtain the actual key to use it in the creation of the second cry= pt device (or maybe it is impossible).

On Wed, 22 May 2019 at 18:1= 6, Guilhem Moulin <guilhem@fripost.org> wrote:
Hi Dominic,

On Wed, 22 May 2019 at 13:53:07 +0100, Dominic Raferd wrote:
> Thanks Arno, I think it is Debian really (rather than Ubuntu), but I > couldn't see where to ask except here. Will dig some more.

For Debian you could file a bug against the =E2=80=98cryptsetup-initramfs= =E2=80=99
package, see https://tracker.debian.org/pkg/cryptsetup = and
https://www.debian.org/Bugs/ .

(=E2=80=98Severity: wishlist=E2=80=99 I guess; at least your custom patch n= ot applying
anymore isn't hinting at a regression.)

Also FWIW we (Debian packaging team) have native support for unlocking
multiple devices at early boot stage with a single passphrase prompt,
see /usr/share/doc/cryptsetup-initramfs/README.initramfs.gz and
/usr/share/doc/cryptsetup-run/README.* .=C2=A0 If that doesn't cover yo= ur
workflow then please visit the above links and file a wishlist bug :-)

Cheers,
--
Guilhem.
--00000000000001315a058a03cc51--