Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kCSc7-0000Rv-LK for mharc-grub-devel@gnu.org; Sun, 30 Aug 2020 15:03:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCSc5-0000Rm-Js for grub-devel@gnu.org; Sun, 30 Aug 2020 15:03:37 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:35685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCSc3-0002IM-Ld for grub-devel@gnu.org; Sun, 30 Aug 2020 15:03:37 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6BD175C00E6; Sun, 30 Aug 2020 15:03:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 30 Aug 2020 15:03:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=k4fLDnEGVSSyUVs7J4/8849Df/v WLLu03KHYUwjrz2I=; b=HWL8TSLzfzqH6ak4q8ewX989dzCeRM1Pv4Ej4lUY10s XCXHG0V4eIEVYx3i8qu6UPkt/YrgQWuztNbxXGcQMveg1lG7+zQkK+aTkgsl7S1l 547eGBm1EjlM3dCxB1PC7ginr7S0OhrU4Y9/KGBfS5fGB70DaLQcM+PFmv79WEEy nVcls5dlc14cYp6v3rXrVUhXaZ0IpFTlaGbZVAlxtYpDucWxfP40ODbj7lSJk3Vr OCA2ZGpZEbwdYHxhqU3SWDke5dS/cMsy7PU6HVHhOqj6TneCE4NZ5vIgDKUS9r/G 6BhvhubUaeRLhQXNCAlPc4MA3riDmpptUpeCRYGJCtg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=k4fLDn EGVSSyUVs7J4/8849Df/vWLLu03KHYUwjrz2I=; b=C18RBpKj+HrQHgUcaiYY7N QEx8RGGPdC+77TmQ4pSEa9Y+5JGBbGl42OWVw/+9zXAZXomSXGfbtNgwfpeZPJbh AmBAr3XwPKs9Jwx6CW9f/l1ZjtpEoazWS7vH9haX0lZ/fGG7QFL23SMi8eWfTwkH zjYj54RUk1fiGoDLhnbnEWrsx3YNa4IPYoKKgv3j9+jdPBAWwRDqKBuS/EzoIhAH SGH1KmDjhRupY+sQ/pu34skOmQjKTZXWqlvkqw6YKLnu1As9UfE3A5hQkq+Tij44 Z4bokqbyuNrn8EL7mK2RqoTQpqSff+GuSDD/XX5IXKgDXZPpXtGtgTLHlNPF1bSg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeffedgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomheprfgrthhr ihgtkhcuufhtvghinhhhrghrughtuceophhssehpkhhsrdhimheqnecuggftrfgrthhtvg hrnhepheeghfdtfeeuffehkefgffduleffjedthfdvjeektdfhhedvlefgtefgvdettdfh necukfhppeejjedrudeluddriedvrddukedunecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepphhssehpkhhsrdhimh X-ME-Proxy: Received: from vm-mail.pks.im (x4dbf3eb5.dyn.telefonica.de [77.191.62.181]) by mail.messagingengine.com (Postfix) with ESMTPA id C8D2D3280059; Sun, 30 Aug 2020 15:03:32 -0400 (EDT) Received: from localhost (tanuki [10.192.0.23]) by vm-mail.pks.im (OpenSMTPD) with ESMTPSA id 075c22ed (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 30 Aug 2020 19:03:31 +0000 (UTC) Date: Sun, 30 Aug 2020 21:03:30 +0200 From: Patrick Steinhardt To: The development of GNU GRUB Cc: HardenedArray Subject: Re: Can grub-git be used to decrypt a LUKS2 encrypted partition? Testing Results Message-ID: <20200830190330.GA801@tanuki> References: <20200828165258.GA2097@tanuki.pks.im> <20200829111924.GA863@ncase.pks.intern> <20200829174741.GA1010@tanuki.pks.im> <0d7df8e8-ceff-2ef7-9924-b2968180f7df@archlinux.org> <20200830181908.GB62141@tanuki.pks.im> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20200830181908.GB62141@tanuki.pks.im> Received-SPF: pass client-ip=66.111.4.28; envelope-from=ps@pks.im; helo=out4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/30 14:08:29 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 19:03:37 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 30, 2020 at 08:19:08PM +0200, Patrick Steinhardt wrote: > On Sun, Aug 30, 2020 at 03:30:39PM +0000, HardenedArray via Grub-devel wr= ote: > > Patrick, I've also noted Eli's further input, immediately below. > >=20 > > Given that you now know exactly how I've encrypted / and how I unlock > > my encrypted: /boot, swap and /, if you can indeed 'hack' a suitable > > `grub-mkimage` command for me to test, I would be happy to test it. >=20 > I currently don't have any available, sorry. I never did the custom > config thing yet, even though it shouldn't be too hard. I hope to find > some time in the next few days to give it a test and will report back. Well, you nerd-sniped me, so here you go: ``` #!/bin/bash CONFIG=3D$(mktemp /tmp/grub-config.XXXXX) cat >"$CONFIG" <