From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sKeaOl8ooGWYxgAAkFu2QA (envelope-from ) for ; Thu, 11 Jan 2024 18:41:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aP55M18ooGVhKAAAe85BDQ (envelope-from ) for ; Thu, 11 Jan 2024 18:41:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=SzfS464O; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=SzfS464O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704994832; a=rsa-sha256; cv=none; b=UvQuXZH6cF+TO5i5CG2HeOuZu9c3JgSIYEtUnre8pufviePhqXwYRY3Av4lIagVrlDtr6l GU+6AiLOO1UM7MOXpnu2oF5aKHsNWNLbeRiajX6Gpg9I6sTaPyn8Kyx69encXnJWIZuZKi SIdUNPyGg/TwzFZyGCYejlLiTPs3GN0VSUkksEhFN7vksz2lEYim6TbsCs66+/lyanC+B4 b2F5fC43WO4leknP4/O+PgJoAM0upqam4T9XnEBiMqYhot9YqAkUh1WK55tB48m41rJNS5 wVtas49GG3Y45t+8QTmHaNzzl6SyxgqpVupKmmXC8kliD7U5mwEd6hzy/poOOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=SzfS464O; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=SzfS464O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704994832; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=gCCx/dXqtBYbz5AS9Pqbiinl7SgPucCgQ93ZkvLXB9I=; b=DMMBfAE+44lESrfkRmZ4TIflfGiDKpdaWVI/E80oztltAQ48h6ZRChcJJ6CqGZ8/jgUVrD cYbSTQ93p5WHNByXKmAhyPXLLyuV6ug2pGm8MObVEOJ2oDNAfWgCAY8cP2OKUSVsWL6YK5 bcb98Np3JequSaQQRSZ9LM0S1IGWHKdCxzn+VXpIOrOUtCnb6J0kwOflRmxPcVFf5Rnr3V 3JV2BhyerEnn9I5Ek6N9tWmj6PgcKtbBFtOZzM5T4Gx9gOH6Sh4t4nQZyYrY0xb/wbAcpY 50RLm1m3n4CS+rTRFwMztHCotvv3ayNRHTDJF6STuyKlK9sG1O0ratCTQ8xcWQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AFFE13FE3E for ; Thu, 11 Jan 2024 18:40:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNz2F-0000MK-5A; Thu, 11 Jan 2024 12:40:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNz2D-0000Lw-Ri for guix-patches@gnu.org; Thu, 11 Jan 2024 12:40:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNz2D-0005Cy-B6 for guix-patches@gnu.org; Thu, 11 Jan 2024 12:40:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNz2A-0007vT-9x for guix-patches@gnu.org; Thu, 11 Jan 2024 12:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#65002] [PATCH v2 1/2] mapped-devices: Allow unlocking by a key file Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jan 2024 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65002 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 65002@debbugs.gnu.org Received: via spool by 65002-submit@debbugs.gnu.org id=B65002.170499477030417 (code B ref 65002); Thu, 11 Jan 2024 17:40:02 +0000 Received: (at 65002) by debbugs.gnu.org; 11 Jan 2024 17:39:30 +0000 Received: from localhost ([127.0.0.1]:33811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNz1e-0007uV-GG for submit@debbugs.gnu.org; Thu, 11 Jan 2024 12:39:30 -0500 Received: from wolfsden.cz ([37.205.8.62]:34914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1rNz1b-0007uL-Ot for 65002@debbugs.gnu.org; Thu, 11 Jan 2024 12:39:29 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 633052502A9; Thu, 11 Jan 2024 17:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1704994768; bh=wmMlKz0G2KYduP/WuOSJ1++aGG3cYlYKQsKQrEdpAf0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=SzfS464O1S1KM8gUsEIrLwhGiLies9UcATa2PZEj66VYIZlAN2px+H0raPNP8SjMR ZIATfK1hjGj5uL/1kDoysNfgCqMsgX6qux/JvzXjKVHdSC/rHcqd4RXBfoB6iERDPI 6YUd+XSp/IP5n7hKhmlw9fHiLAd7fA59noWfvvY137QH7lQc2yolcEo9FSLd0xVm7D KQhzj4h9/lsmo8R9k331Jo9XEb0G8GYF8KnupVlIfetzjnQjQQQvrGe/lRtsWZa4Oj KuFOsordShZ+Tdxr0ZL7IR5xrIt1bxJUxl6tCM97eIfjXgmTL4nMvvDr39sbfqvTPh cI9lEsTAYaT2qRxW5K4Z2ulm0UOgWvpUHnzaHYyOYv1xwkIY5zLPS2BTNIzH7RJV+j wCiCXZU0wZA8JbaojptMonMxcT3+/QafrUz0siorr4t2voBf8pMVkzvWGj9yJbfST7 yTjY/NG/HmCJi+Bi1yPO94gouvk8Zodq6r8IejVZIAFXi6ebZ64uIbsViwM7OkZKvS 41RYtza/Ezm5b2bjGqVmT4hxguWDbgBdGeZugu/KHotLjy9AFAIktakDYh8niLJGTy //nbpdQWP/ZIMs1+Vu7tGf5jGAeQArF9m/TiAgStqnx0mFTrSOuZFuUn+JzAjJbaAg e0i0hIw2pWKlRr3HY2wLDCWM= Received: from localhost (unknown [193.32.127.158]) by wolfsden.cz (Postfix) with ESMTPSA id 064EF250153; Thu, 11 Jan 2024 17:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1704994768; bh=wmMlKz0G2KYduP/WuOSJ1++aGG3cYlYKQsKQrEdpAf0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=SzfS464O1S1KM8gUsEIrLwhGiLies9UcATa2PZEj66VYIZlAN2px+H0raPNP8SjMR ZIATfK1hjGj5uL/1kDoysNfgCqMsgX6qux/JvzXjKVHdSC/rHcqd4RXBfoB6iERDPI 6YUd+XSp/IP5n7hKhmlw9fHiLAd7fA59noWfvvY137QH7lQc2yolcEo9FSLd0xVm7D KQhzj4h9/lsmo8R9k331Jo9XEb0G8GYF8KnupVlIfetzjnQjQQQvrGe/lRtsWZa4Oj KuFOsordShZ+Tdxr0ZL7IR5xrIt1bxJUxl6tCM97eIfjXgmTL4nMvvDr39sbfqvTPh cI9lEsTAYaT2qRxW5K4Z2ulm0UOgWvpUHnzaHYyOYv1xwkIY5zLPS2BTNIzH7RJV+j wCiCXZU0wZA8JbaojptMonMxcT3+/QafrUz0siorr4t2voBf8pMVkzvWGj9yJbfST7 yTjY/NG/HmCJi+Bi1yPO94gouvk8Zodq6r8IejVZIAFXi6ebZ64uIbsViwM7OkZKvS 41RYtza/Ezm5b2bjGqVmT4hxguWDbgBdGeZugu/KHotLjy9AFAIktakDYh8niLJGTy //nbpdQWP/ZIMs1+Vu7tGf5jGAeQArF9m/TiAgStqnx0mFTrSOuZFuUn+JzAjJbaAg e0i0hIw2pWKlRr3HY2wLDCWM= Date: Thu, 11 Jan 2024 18:39:27 +0100 From: Tomas Volf <~@wolfsden.cz> Message-ID: References: <058b41c5060e1811048fe44c20278c64fdfc3ece.1690981365.git.wolf@wolfsden.cz> <87il42w0sw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tRYmkFBVPl12kCR1" Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.86 X-Spam-Score: 2.86 X-Migadu-Queue-Id: AFFE13FE3E X-Migadu-Scanner: mx13.migadu.com X-TUID: 3YBebjkrehqd --tRYmkFBVPl12kCR1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024-01-11 13:39:36 +0100, Tomas Volf wrote: >=20 > >=20 > > I wonder if we could have a system test; it doesn=E2=80=99t sound very = easy so > > maybe we=E2=80=99ll skip, but you can check that the =E2=80=9Cencrypted= -root-os=E2=80=9D test, > > which exercises =E2=80=98luks-device-mapping=E2=80=99, still passes (it= takes time and > > disk space). >=20 > It does not pass, but it fails even on master =C2=AF\_ (=E3=83=84)_/=C2= =AF: >=20 > guix system: warning: at least 1526.8 MB needed but only 1408.3 MB av= ailable in /mnt >=20 > It seems somewhat hard to do it based on encrypted-root-os, but should be= much > easier basing it on encrypted-home-os. I might give it a try. I managed to figure out the system test for this, however it required unrel= ated changes, since encrypted-root-os and encrypted-home-os were broken even on master. I included my new test (together with the fixes) in v3. Also, I messed up, and sent this *without* the v3 by accident. When I real= ized, I sent it once more, this time properly as v3. Sorry for the noise. Tomas --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --tRYmkFBVPl12kCR1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmWgJ88ACgkQL7/ufbZ/ wamArQ/+KCvEkm9QzHh9l6OkY8tmofk6wqAbylLNf15xsEDtWwdM19TVT8juGpZ3 9+cMkdS1n86Ta5geCpy0X5M10W1GZwKLOnqz10IoGCojhs1SbncvWQktaiaTS0yo +QW1RKan9cMAm6hAsjnUcJ1lbHXJHihakdd4mBjD6X2B0MJO1O9rZz/dzBNs66XH Smtv359bpMaXvC4+mwd72reyJuhxUAU/zSpEqnprhiwS4L8X/6C/sTtooeVaoQ7l Y5inkmeWrfF+t1yZ8JqFEUAUciV6dLBwggBK8dnx017CBJl386tt3zLNHVkfnGKo FJaHtW6LrW4aWTIvK7jc3PxxpVSc4MeVazxRVyxW7ZLkY4j89jI9Ci4C+nfu/IQJ cySfY2AoDrihd0gmT0SKHZkwA/Ja/fNUxGh5TFMD/60Je1vCoB9wkZ2j/iebCeuL d11EpxRb7jz76e4zSZqWMwnpA26v5wFKS4wiL985GEn5oJc6OK+sfIP6gPrWgTZB BxorSaGb7RsrTaYcEK7ViMIgS8Zj/A/VF59t/pbbF7VGTpVyMycIPvGMiIyfh8Hh GpEK9GEBf7xWKfLQyUgVr+Gbu7Oag2NaWMbKkNVxLCIFlY68bWlGyCy+5vw6p0i4 RR89ca3UmoPfWhU99RUj7yYGUwvF8AzjvF+ufTdqqjyrwn/kHMc= =Ibtu -----END PGP SIGNATURE----- --tRYmkFBVPl12kCR1--