diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2019-03-15 10:05:33 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2019-03-15 10:05:33 +0100 |
commit | 5b69d297c153478f6f5e74ba66e1f4e5b6422baf (patch) | |
tree | 4aaebb7534b6c080672a0db64e964326750d03ea /test/TEST-02-CRYPTSETUP | |
parent | test: bump the second partition size to 50MB (diff) | |
download | systemd-5b69d297c153478f6f5e74ba66e1f4e5b6422baf.tar.xz systemd-5b69d297c153478f6f5e74ba66e1f4e5b6422baf.zip |
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).
Diffstat (limited to 'test/TEST-02-CRYPTSETUP')
-rwxr-xr-x | test/TEST-02-CRYPTSETUP/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-02-CRYPTSETUP/test.sh b/test/TEST-02-CRYPTSETUP/test.sh index 71709f7d58..97eb2f409e 100755 --- a/test/TEST-02-CRYPTSETUP/test.sh +++ b/test/TEST-02-CRYPTSETUP/test.sh @@ -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 |