diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2022-09-22 15:12:44 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-09-22 16:00:29 +0200 |
commit | 4814ec284f8a2870e6457c05f414ad31df4e3f57 (patch) | |
tree | edff0e8f68a8db03fd3f687c8680d73759ac7d9d /gnu/installer/newt | |
parent | 3c4024e9f50a064d6458875623eb199a882feb53 (diff) | |
download | guix-4814ec284f8a2870e6457c05f414ad31df4e3f57.tar.gz guix-4814ec284f8a2870e6457c05f414ad31df4e3f57.zip |
installer: Move <secret> to utils and use it for crypt passwords.
* gnu/installer/user.scm (<secret>, secret?, make-secret, secret-content): Move
to utils.scm.
* gnu/installer/utils.scm (<secret>, secret?, make-secret, secret-content):
Moved from user.scm.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): Make password a
<secret>.
* gnu/installer/parted.scm (luks-format-and-open): Unwrap secret.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/installer/newt')
-rw-r--r-- | gnu/installer/newt/partition.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm index e7a97810ac..eda34e0461 100644 --- a/gnu/installer/newt/partition.scm +++ b/gnu/installer/newt/partition.scm @@ -188,7 +188,7 @@ encryption of partition ~a (label: ~a).") file-name crypt-label) (if (string=? password confirmation) (user-partition (inherit user-part) - (crypt-password password)) + (crypt-password (make-secret password))) (begin (run-error-page (G_ "Password mismatch, please try again.") |