From patchwork Mon Nov 15 20:53:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 454 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 03B7B27BBE3; Mon, 15 Nov 2021 20:54:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C245327BBE1 for ; Mon, 15 Nov 2021 20:54:27 +0000 (GMT) Received: from localhost ([::1]:36770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmizi-0005Ja-Vz for patchwork@mira.cbaines.net; 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 X-Spamd-Bar: ++++ Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Patchwork-Original-From: Josselin Poiret via Guix-patches via From: Josselin Poiret X-getmail-retrieved-from-mailbox: Patches 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(-)