From 0645219c9d9f259df36cb66fb2a0e118976f1432 Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Wed, 6 Mar 2024 13:10:31 +0100 Subject: [PATCH] tests: move luks1 decryption resume test. It cannot be run in fips mode due to empty passphrase is no longer allowed. --- tests/reencryption-compat-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/reencryption-compat-test b/tests/reencryption-compat-test index 18a23b1d..8bab6052 100755 --- a/tests/reencryption-compat-test +++ b/tests/reencryption-compat-test @@ -493,7 +493,6 @@ if [ "$HAVE_BLKID" -gt 0 ]; then echo $PWD1 | $REENC --header $IMG_HDR $HEADER_LUKS2_PV -q $FAST_PBKDF --new --type luks1 2>/dev/null && fail test -f $IMG_HDR && fail fi -fi # if ! fips_mode # Only test if the LUKS1 decryption can be resumed with provided --uuid echo "[14] Resume LUKS1 decryption" @@ -503,6 +502,7 @@ echo $PWD1 | $REENC $LOOPDEV1 -q --decrypt --uuid $LUKS1_DECRYPT_UUID >/dev/null test -f $LUKS1_DECRYPT.org && fail test -f $LUKS1_DECRYPT.new && fail test -f $LUKS1_DECRYPT.log && fail +fi # if ! fips_mode remove_mapping exit 0