test: use PBKDF2 instead of Argon2 in cryptsetup...
to reduce memory requirements for volume manipulation. Also, to further improve the test performance, reduce number of PBKDF iterations to 1000 (allowed minimum).
This commit is contained in:
parent
32983312ed
commit
5b69d297c1
|
@ -29,7 +29,7 @@ check_result_qemu() {
|
|||
test_setup() {
|
||||
create_empty_image
|
||||
echo -n test >$TESTDIR/keyfile
|
||||
cryptsetup -q luksFormat ${LOOPDEV}p2 $TESTDIR/keyfile
|
||||
cryptsetup -q luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 ${LOOPDEV}p2 $TESTDIR/keyfile
|
||||
cryptsetup luksOpen ${LOOPDEV}p2 varcrypt <$TESTDIR/keyfile
|
||||
mkfs.ext4 -L var /dev/mapper/varcrypt
|
||||
mkdir -p $TESTDIR/root
|
||||
|
|
Loading…
Reference in New Issue