Skip to content

Commit 4958663

Browse files
committed
WiP cryptsetup 2.6.1 : remove --disable-locks --force-offline-reencrypt from reencryption call to do comparison.
Not sure why time output isn't shown in log. Signed-off-by: Thierry Laurion <[email protected]>
1 parent 0f6d144 commit 4958663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

initrd/bin/test_reencrypt_block_device_with_double_confirmation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ echo "PLACEHOLDER - Creating LUKS container on $DISK..." | tee -a /media/block_r
2727
time cryptsetup luksFormat "$DISK" --debug --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log
2828

2929
echo "PLACEHOLDER - Reeencrypting LUKS container on $DISK..." | tee -a /media/block_reencrypt.log
30-
time cryptsetup reencrypt "$DISK" --disable-locks --force-offline-reencrypt --debug --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log
30+
time cryptsetup reencrypt "$DISK" --debug --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log
3131

3232
echo "PLACEHOLDER - Unmounting USB drive from /media"
3333
umount /media

0 commit comments

Comments
 (0)