From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2NMrLQTJkmEDbQEAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 21:54:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WLqrKATJkmG8EwAAbx9fmQ (envelope-from ) for ; Mon, 15 Nov 2021 20:54:28 +0000 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 848AD34250 for ; Mon, 15 Nov 2021 21:54:28 +0100 (CET) Received: from localhost ([::1]:36770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmizj-0005Ja-PX for larch@yhetil.org; Mon, 15 Nov 2021 15:54:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmizM-0004tR-0s for guix-patches@gnu.org; Mon, 15 Nov 2021 15:54:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmizL-0006Qk-P8 for guix-patches@gnu.org; Mon, 15 Nov 2021 15:54:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmizL-0000qA-N3 for guix-patches@gnu.org; Mon, 15 Nov 2021 15:54:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51514] [PATCH v2 0/3] Add support for LUKS2 root partition Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Nov 2021 20:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Josselin Poiret , 51514@debbugs.gnu.org Received: via spool by 51514-submit@debbugs.gnu.org id=B51514.16370096433224 (code B ref 51514); Mon, 15 Nov 2021 20:54:03 +0000 Received: (at 51514) by debbugs.gnu.org; 15 Nov 2021 20:54:03 +0000 Received: from localhost ([127.0.0.1]:56320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmizK-0000pi-Gt for submit@debbugs.gnu.org; Mon, 15 Nov 2021 15:54:03 -0500 Received: from jpoiret.xyz ([206.189.101.64]:36594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmiz7-0000oY-DB for 51514@debbugs.gnu.org; Mon, 15 Nov 2021 15:53:59 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 6DE9C184D49; Mon, 15 Nov 2021 20:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1637009627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HMdBN2W5cDKVjbbWNQdZKn7JYZ4sr1dV5ffMKDYVI0c=; b=evgxCsXzzWEDlTtKYVCqVWNeTbEYhzkNCJx+ycYPSsRJ1GX7qqN1mPRN/Ur2xbZk6JyDeE Qb7VkPMnQBe/zCsjxdqrG7ccQDwJKvf7U6WJzD4Y/aJlCta2qVINbSXozoRYifKatNyIof WrNTj36/pXrv7WaSzqCNVGCnJzSglpxGnLqqyrSQbI6Mb5I5cpiEaCXBEW7Gr2GOGAIKeX lVO7WVqtsQ+l+u9dqMtwPqkZAUH22FEucjO5wAqOL4nv7GLKJv8foscEAuiFIAsFnIdLsM MKfjlWeVcaOtZz7MuQdFk5+2G1cGmxxA9hReoE7YvrcnYpnQhgc02Fn7ze82Qw== Date: Mon, 15 Nov 2021 20:53:38 +0000 Message-Id: <20211115205341.9724-1-dev@jpoiret.xyz> In-Reply-To: <87h7chdmzh.fsf_-_@gnu.org> References: <87h7chdmzh.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ 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" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637009668; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=HMdBN2W5cDKVjbbWNQdZKn7JYZ4sr1dV5ffMKDYVI0c=; b=mD/cDm48TishHc8sylShRSgkCKnDBLoeAwSHpLJri6URR0RvKXOTdDbsJIA1Ekfzf75RQn 5aEDbv7+IQPNibF0VxeenSNYvmB4kALncPUZsNOOIwIkxI/ZtqKjgITfroiZB2ojD+RC6y wZrCqa51PN1B6CBr4xmGqDJrhSXqiH6NS3DQGNUXd1rf+0VcFaBHqtYBX0Cqgqm1Emqtc5 0/yDVJlkvcRsE84KINtiWmJ6hQFQ5tX27M+sw/qatpvXpqP/NMF6/MFkJk9nnF10ppnTVy V5xCkP9CJbeowR6eZAhP4IFi5idxK3v5aUFb4Fk5eJ+QhmCH5L9phQ52Qy8Uow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637009668; a=rsa-sha256; cv=none; b=LhUYEO2VKGnVslfQYAbJtgBUHZsdBsHJCXxcq2an1KjIt1E6Bto0RZGeYWREHTl0IMaXqH B1TgYEfVhuXUdf8x2ohIQbnPsD6o21ndFmyI/rsb9bJhiMMZS1FC7psT8KRpY4ifR6wlKJ mux5h8OWV8Uetim9A7Py0r6crsTpn3rZHCNjyP0sIHDeda2VfpO7Ng0AzT5g4VPWXj1ody GkYY96RHN0bR9H5Z1vH9rayIXjRIALcVr5RPdWfhwzVaqntxi7+ZU6Lr59vvuGabqGNwqR ObBtemg6aTab8ZQvMaxIEmmbrCfgjgqkwj9euDd56YKJCCagEWvH/Uv46EmOLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=evgxCsXz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=evgxCsXz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 848AD34250 X-Spam-Score: 0.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: t9KTdV0/+DI9 Hello again Ludovic, Here is an updated patchset, which includes the changes you suggested, as well as update the installer to use LUKS2 by default (I tested it in a VM and it works pretty well). I don't think there's any reason not to use LUKS2 by default now that GRUB 2.06 supports it, and in any case if there are specific needs they can be addressed by a manual installation. Best, Josselin Poiret (3): gnu: system: Add LUKS2 support for the root file system. doc: Document LUKS2 GRUB support and shortcomings installer: Make LUKS2 the default format for encrypted devices doc/guix.texi | 22 +++++++++++++++++----- gnu/bootloader/grub.scm | 3 +-- gnu/installer/parted.scm | 5 +++-- gnu/system/mapped-devices.scm | 10 ++++++++-- 4 files changed, 29 insertions(+), 11 deletions(-) -- 2.33.1