From: Frantisek Sumsal Date: Thu, 7 Jul 2022 15:16:31 +0000 (+0200) Subject: test: use PBKDF2 with capped iterations instead of Argon2 X-Git-Tag: v252-rc1~707^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F23937%2Fhead;p=thirdparty%2Fsystemd.git test: use PBKDF2 with capped iterations instead of Argon2 to reduce the amount of resources the test needs (similarly to TEST-24 where we do the same thing). --- diff --git a/test/units/testsuite-70.sh b/test/units/testsuite-70.sh index f395ef4e5e1..09f78a0226b 100755 --- a/test/units/testsuite-70.sh +++ b/test/units/testsuite-70.sh @@ -9,7 +9,7 @@ export SYSTEMD_LOG_LEVEL=debug img="/var/tmp/test.img" dd if=/dev/zero of=$img bs=1024k count=20 status=none echo -n passphrase >/tmp/passphrase -cryptsetup luksFormat -q --use-urandom $img /tmp/passphrase +cryptsetup luksFormat -q --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --use-urandom $img /tmp/passphrase # Enroll unlock with default PCR policy env PASSWORD=passphrase systemd-cryptenroll --tpm2-device=auto $img