unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69507] [PATCH] doc: Fix section on LUKS support.
@ 2024-03-02 10:25 Fabio Natali via Guix-patches via
  2024-03-14 13:52 ` bug#69507: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Natali via Guix-patches via @ 2024-03-02 10:25 UTC (permalink / raw)
  To: 69507; +Cc: Fabio Natali

* doc/guix.texi (Keyboard Layout, Networking, and Partitioning)[Disk
Partitioning]: Fix section on LUKS support.

Only LUKS1 is supported in Guix at the time of this commit. Contrarily to what
reported in previous versions of this section, LUKS2 is not supported.
---
Hi! 👋

Documentation micro-fix as per this email thread⁰.

I hope it's ok, cheers, Fabio.

⁰ https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00000.html.

 doc/guix.texi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index f6476e0d81..0b4ba7e5bf 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2727,20 +2727,20 @@ Keyboard Layout and Networking and Partitioning
 @code{man cryptsetup}} for more information).
 
 @quotation Warning
-Note that GRUB can unlock LUKS2 devices since version 2.06, but only
-supports the PBKDF2 key derivation function, which is not the default
-for @command{cryptsetup luksFormat}.  You can check which key derivation
-function is being used by a device by running @command{cryptsetup
-luksDump @var{device}}, and looking for the PBKDF field of your
-keyslots.
+While efforts are in progress to extend support to LUKS2, please note
+that Guix only supports devices of type LUKS1 at the moment. You can
+verify that your existing LUKS device is of the right type by running
+@command{cryptsetup luksDump @var{device}}. Alternatively, you can
+create a new LUKS1 device with @command{cryptsetup luksFormat --type
+luks1 @var{device}}.
 @end quotation
 
 Assuming you want to store the root partition on @file{/dev/sda2}, the
-command sequence to format it as a LUKS2 partition would be along these
+command sequence to format it as a LUKS1 partition would be along these
 lines:
 
 @example
-cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2
+cryptsetup luksFormat --type luks1 /dev/sda2
 cryptsetup open /dev/sda2 my-partition
 mkfs.ext4 -L my-root /dev/mapper/my-partition
 @end example

base-commit: 4a0549be52f3f46fbce61342d8de30f7b83130c5
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69507: [PATCH] doc: Fix section on LUKS support.
  2024-03-02 10:25 [bug#69507] [PATCH] doc: Fix section on LUKS support Fabio Natali via Guix-patches via
@ 2024-03-14 13:52 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2024-03-14 13:52 UTC (permalink / raw)
  To: Fabio Natali; +Cc: 69507-done, guix-patches

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]


Fabio Natali via Guix-patches via <guix-patches@gnu.org> writes:

> * doc/guix.texi (Keyboard Layout, Networking, and Partitioning)[Disk
> Partitioning]: Fix section on LUKS support.
>
> Only LUKS1 is supported in Guix at the time of this commit. Contrarily to what
> reported in previous versions of this section, LUKS2 is not supported.
> ---
> Hi! 👋
>
> Documentation micro-fix as per this email thread⁰.
>
> I hope it's ok, cheers, Fabio.
>
> ⁰ https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00000.html.
>
>  doc/guix.texi | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Thanks! I've pushed this to master as
3bd795bc5736a81adc586da80c67107dd8f64384.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-14 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-02 10:25 [bug#69507] [PATCH] doc: Fix section on LUKS support Fabio Natali via Guix-patches via
2024-03-14 13:52 ` bug#69507: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).