Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1k9Fba-0006hw-Bd for mharc-grub-devel@gnu.org; Fri, 21 Aug 2020 18:33:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9FbY-0006fr-L2 for grub-devel@gnu.org; Fri, 21 Aug 2020 18:33:48 -0400 Received: from cyberdimension.org ([80.67.179.20]:48272 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1k9FbW-0004Rv-Kl for grub-devel@gnu.org; Fri, 21 Aug 2020 18:33:48 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id f5aacf59; Fri, 21 Aug 2020 22:31:58 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 8e15d2d0; Fri, 21 Aug 2020 22:31:58 +0000 (UTC) Date: Sat, 22 Aug 2020 00:25:18 +0200 From: Denis 'GNUtoo' Carikli To: Glenn Washburn Cc: Patrick Steinhardt , Daniel Kiper , The development of GNU GRUB Subject: Re: [PATCH] v6 for detached headers and key files Message-ID: <20200822002518.522553fc@primarylaptop.localdomain> In-Reply-To: <20200819135957.7d1583cc@crass-HP-ZBook-15-G2> References: <20200819150914.13673-1-GNUtoo@cyberdimension.org> <20200819135957.7d1583cc@crass-HP-ZBook-15-G2> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3SKKtpx3e6=tY4Nzngsh3D/"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/21 18:33:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: Fri, 21 Aug 2020 22:33:48 -0000 --Sig_/3SKKtpx3e6=tY4Nzngsh3D/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 19 Aug 2020 13:59:57 -0500 Glenn Washburn wrote: > I'm curious, are you using a virtual machine to test grub? If I > understand correctly the above, you're using physical machines to > test. I'm using qemu and generally testing with x86_64-efi. I don't have a good vm setup for testing yet. I tried to create a self contained test setup with qemu+coreboot+grub as a payload but it ended up being too slow (probably due to my key sizes) and messy as I needed to specify all the modules and I always missed some. For the v6 I ended up installed grub in /usr/local and then with grub-install + grub-mkconfig on an x86_64 machine running Coreboot and SeaBIOS. I then created two LVM partitions: one encrypted with the key and the header inside, and another without a header to be opened, and I tested by opening the later and accessing a file inside that I read with cat. So it was more manual but I could reuse the distribution installation and configuration I already had. Denis. --Sig_/3SKKtpx3e6=tY4Nzngsh3D/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAl9ASc8ACgkQX138wUF3 4mPAAg/8CYndR8BpcBTSI0h2kNxwhaCShIGu4ee55ebHB95h9+4fotW+Avwdl9pm ct6XmkyUSgsX/fYSTNDhbUAcuzSKjvO+Jm7nnEYdQrNlqTJbMV/LjcKCKI35Q6IP e12NPuebOhuvWloPQRq2WOHJoh0A/vaKapc8VsDysKc507MfGK8HGGkn1T3XwGwa 10yp8ctSImaWgcpvW+8XhFR4xw9f4aCW7xnc2HqcAJmKUtAOLpFqL3cfAuSotRoL PI2aivULMRV/ms+L43LF7b5Bo99Hi2Euwb6fCkjiEBDktVDMWl3YPAxlR9eiezBR opAR9mN/p4CSkh5h9wDjIhBxlf/LPDqZ45xyJ/Sn8XAOVfYa3popCRLfN0E5ow9l H8GOwsjx39kd3D/ioV59d6b+km6U2ZztbK1EY7RE1124AeGdW0+MB7ooguhCj6kD 6N9zsV4qU8fqNZ6uvgPvL4YR4o509nPSzHbR5SD1Z01CDUN/N/2HXRUuHYbqHgBh YPRfzU5wQvZADyG3GUpn9UrWjmN1W6qEHeSlfU3VyCJEqeIV1B5CuDH0Hvx4uBy6 eir5hd66Xo272cWw0u9ZjkJq29+rd7zjG7Bb4rBzOvRyZZ/3JpqE7fOCaoB7xU6E xk+wL6GCyxInoCGHLiFQClO+ydObfSm3JfsNU3hG3bkKoRkUYC8= =q8kQ -----END PGP SIGNATURE----- --Sig_/3SKKtpx3e6=tY4Nzngsh3D/--