[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/12: tests: install: Use the smallest possible iteration time for LUKS
From: |
guix-commits |
Subject: |
05/12: tests: install: Use the smallest possible iteration time for LUKS. |
Date: |
Sun, 14 Jan 2024 17:01:36 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit a355131ba86e156a95e52a6a61948b9cf5e8895b
Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Thu Jan 11 18:35:42 2024 +0100
tests: install: Use the smallest possible iteration time for LUKS.
For testing that installation works, there is no need to spent 2000ms (the
default) iterating while generating the encryption key. This commit
therefore
sets the iteration time to the lowest possible value, 1(ms).
* gnu/tests/install.scm (%encrypted-root-installation-script):
(%encrypted-home-installation-script):
(%encrypted-root-not-boot-installation-script): Pass -i 1 to luksFormat
invocation.
Change-Id: Iab79459b48bebe4d293b18290a236c6414fb27fc
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/tests/install.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index 6794bca145..c5243f2ed9 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -755,7 +755,7 @@ parted --script /dev/vdb mklabel gpt \\
set 1 boot on \\
set 1 bios_grub on
echo -n " %luks-passphrase " | \\
- cryptsetup luksFormat --uuid=12345678-1234-1234-1234-123456789abc -q
/dev/vdb2 -
+ cryptsetup luksFormat -i 1 --uuid=12345678-1234-1234-1234-123456789abc -q
/dev/vdb2 -
echo -n " %luks-passphrase " | \\
cryptsetup open --type luks --key-file - /dev/vdb2 the-root-device
mkfs.ext4 -L my-root /dev/mapper/the-root-device
@@ -970,7 +970,7 @@ parted --script /dev/vdb mklabel gpt \\
set 1 bios_grub on
echo -n " %luks-passphrase " | \\
- cryptsetup luksFormat --uuid=12345678-1234-1234-1234-123456789abc -q
/dev/vdb3 -
+ cryptsetup luksFormat -i 1 --uuid=12345678-1234-1234-1234-123456789abc -q
/dev/vdb3 -
echo -n " %luks-passphrase " | \\
cryptsetup open --type luks --key-file - /dev/vdb3 the-home-device
@@ -1155,7 +1155,7 @@ parted --script /dev/vdb mklabel gpt \\
mkpart primary ext2 50M 1.6G \\
set 1 boot on \\
set 1 bios_grub on
-echo -n \"~a\" | cryptsetup luksFormat --uuid=\"~a\" -q /dev/vdb3 -
+echo -n \"~a\" | cryptsetup luksFormat -i 1 --uuid=\"~a\" -q /dev/vdb3 -
echo -n \"~a\" | cryptsetup open --type luks --key-file - /dev/vdb3 root
mkfs.ext4 -L my-root /dev/mapper/root
mkfs.ext4 -L my-boot /dev/vdb2
- branch master updated (3f301ddc4f -> f6afaf58b0), guix-commits, 2024/01/14
- 02/12: mapped-devices: Allow unlocking by a key file., guix-commits, 2024/01/14
- 03/12: bootloader: grub: Add support for loading an additional initrd., guix-commits, 2024/01/14
- 05/12: tests: install: Use the smallest possible iteration time for LUKS.,
guix-commits <=
- 10/12: gnu: openssh: Fix build on ppc64le., guix-commits, 2024/01/14
- 09/12: gnu: guile-ssh: Update to 0.16.4., guix-commits, 2024/01/14
- 04/12: tests: Add `encrypted-home-os-key-file' installation test., guix-commits, 2024/01/14
- 12/12: gnu: fish-foreign-env: Update to 0.20230823., guix-commits, 2024/01/14
- 01/12: gnu: Make intermediate packages public but hidden., guix-commits, 2024/01/14
- 11/12: gnu: cuirass: Update to 7bcd3d0., guix-commits, 2024/01/14
- 07/12: tests: install: Fix encrypted-home-os, encrypted-home-os-key-file tests., guix-commits, 2024/01/14
- 08/12: gnu: hpcguix-web: Update to 0.4.1., guix-commits, 2024/01/14
- 06/12: tests: install: Fix encrypted-root-os test., guix-commits, 2024/01/14