Skip to content

Commit

Permalink
WiP cryptsetup 2.6.1 : remove --disable-locks --force-offline-reencry…
Browse files Browse the repository at this point in the history
…pt from reencryption call to do comparison.

Not sure why time output isn't shown in log.

Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion committed Nov 29, 2023
1 parent 8672674 commit 1b8fef4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo "PLACEHOLDER - Creating LUKS container on $DISK..." | tee -a /media/block_r
time cryptsetup luksFormat "$DISK" --debug --key-file /tmp/passphrase.txt | tee -a /media/block_reencrypt.log

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

echo "PLACEHOLDER - Unmounting USB drive from /media"
umount /media
Expand Down

0 comments on commit 1b8fef4

Please sign in to comment.