Skip to content

Commit 5d6fbf7

Browse files
committed
tests: move luks1 decryption resume test.
It cannot be run in fips mode due to empty passphrase is no longer allowed.
1 parent 4347a01 commit 5d6fbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/reencryption-compat-test

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ if [ "$HAVE_BLKID" -gt 0 ]; then
493493
echo $PWD1 | $REENC --header $IMG_HDR $HEADER_LUKS2_PV -q $FAST_PBKDF --new --type luks1 2>/dev/null && fail
494494
test -f $IMG_HDR && fail
495495
fi
496-
fi # if ! fips_mode
497496

498497
# Only test if the LUKS1 decryption can be resumed with provided --uuid
499498
echo "[14] Resume LUKS1 decryption"
@@ -503,6 +502,7 @@ echo $PWD1 | $REENC $LOOPDEV1 -q --decrypt --uuid $LUKS1_DECRYPT_UUID >/dev/null
503502
test -f $LUKS1_DECRYPT.org && fail
504503
test -f $LUKS1_DECRYPT.new && fail
505504
test -f $LUKS1_DECRYPT.log && fail
505+
fi # if ! fips_mode
506506

507507
remove_mapping
508508
exit 0

0 commit comments

Comments
 (0)