From 51ab9da665d770f17e5c2306faaa50651b2f21af Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Tue, 2 Mar 2021 17:18:13 +0100 Subject: [PATCH] Fix reencryption recovery tests w/ cipher_null. --- tests/luks2-reencryption-test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/luks2-reencryption-test b/tests/luks2-reencryption-test index c8246f22..8d621024 100755 --- a/tests/luks2-reencryption-test +++ b/tests/luks2-reencryption-test @@ -1482,7 +1482,7 @@ if [ -n "$DM_SECTOR_SIZE" ]; then echo "sector size 4096->4096" get_error_offsets 32 $OFFSET 4096 - echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 -c aes-cbc-essiv:sha256 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail + echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail wipe $PWD1 check_hash $PWD1 $HASH1 @@ -1524,7 +1524,7 @@ if [ -n "$DM_SECTOR_SIZE" ]; then echo "sector size 4096->4096" get_error_offsets 32 $OFFSET 4096 - echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 -c aes-cbc-essiv:sha256 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail + echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail wipe $PWD1 check_hash $PWD1 $HASH1