guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 02/03: installer: partionment: Add encryption support.


From: Ludovic Courtès
Subject: Re: 02/03: installer: partionment: Add encryption support.
Date: Sat, 08 Dec 2018 14:10:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi again!  :-)

address@hidden skribis:

> commit 14826f39e3965ddc09c0e7e6e29654e832395af4
> Author: Mathieu Othacehe <address@hidden>
> Date:   Fri Dec 7 14:04:25 2018 +0900
>
>     installer: partionment: Add encryption support.
>     
>     * gnu/installer.scm (set-installer-path): Add cryptsetup.
>     * gnu/installer/newt/partition.scm (prompt-luks-passwords): New procedure,
>     (run-partioning-page): Add the possibility to set encryption to "On" on a
>     partition and choose a label, add a new partition scheme: "Guided - using 
> the
>     entire disk with encryption", prompt for encryption passwords before
>     proceeding to formating.
>     * gnu/installer/parted.scm (<user-partition>)[crypt-label],
>     [crypt-password]: New fields,
>     (partition-description): add the encryption label,
>     (user-partition-description): add an encryption field,
>     (auto-partition): add two partitioning schemes: entire-crypted-root and
>     entire-crypted-root-home,
>     (call-with-luks-key-file): new procedure,
>     (user-partition-upper-path): new procedure,
>     (luks-format-and-open): new procedure,
>     (luks-close): new procedure,
>     (format-user-partitions): format and open luks partitions before creating
>     file-system.
>     (mount-user-partitions): use the path returned by 
> user-partition-upper-path,
>     (umount-user-partitions): close the luks partitions,
>     (user-partition->file-system): set device field to label for luks 
> partitions
>     and to uuid for the rest,
>     (user-partition->mapped-device): new procedure,
>     (user-partitions->configuration): add mapped-devices field.

Woow, really cool!

Nitpicking on words: s/partitionment/partitioning/,
s/crypted/encrypted/, s/path/file name/ (this one is just a GNU
convention.)

Really awesome to have a UI to deal with this.  I didn’t expect it to
land this quickly, thumbs up!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]