Milan Broz
580f0f1a28
Add some FIPS mode workarounds.
...
We cannot (yet) use Argon2 in FIPS mode, hack scripts and library
to use PBKDF2 or skip tests and fix tests to run in FIPS mode.
2019-01-24 17:04:13 +01:00
Ondrej Kozina
7362b14d41
Extend device-test with refresh actions.
2019-01-01 21:42:46 +01:00
Ondrej Kozina
ee689d88b4
Add blkid scan when attemting to open plain device.
...
Warn user about existing device signatures on candidate ciphertext
device and prompt for action confirmation.
Fixes #411 .
2018-09-25 13:13:18 +02:00
Ondrej Kozina
5a94cff91e
Do not fail device-test with larger LUKS2 header.
2018-08-08 10:13:40 +02:00
Ondrej Kozina
50f5593ffc
Update dm-crypt version check in device-test.
...
Test is now able to detect backported sector_size feature
in RHEL7 kernels.
2018-07-11 22:24:26 +02:00
Ondrej Kozina
4d110d4c82
Silence luksFormat in tests.
2018-07-07 10:26:32 +02:00
Milan Broz
f0f5913efe
Fix device_test to properly fail for non-root user.
2018-03-01 14:05:51 +01:00
Ondrej Kozina
8cd9db272f
Adapt device-test to different performance options handling.
...
cpu --perf-* options do not trigger error when
not supported by current kernel.
Also be more carefull about --sector-size when not supported by
dm-crypt. Test is made more pedantic now.
2018-02-28 10:36:06 +01:00
Andrea Gelmini
a97de38b6b
Fix typos.
2017-11-08 10:22:49 +01:00
Milan Broz
d77bbe93c1
Use non-recursive automake.
...
This change also causes that now binaries and libraries are placed in
build root directory.
Now we can use subdir-objects for automake.
2017-10-12 11:48:17 +02:00
Milan Broz
19a1852e4b
Support sector size option even for plain devices.
2017-09-24 19:50:28 +02:00
Milan Broz
c6d4ebd80c
Add libLUKS2 tests.
2017-09-24 19:50:17 +02:00
Milan Broz
a0880b64f2
Add magic exit code for automake to count skipped tests.
2017-08-23 16:54:04 +02:00
Milan Broz
4f7b413638
Add low-level performance options for dmcrypt tuning.
...
The patch adds the two options
--perf-same_cpu_crypt
--perf-submit_from_crypt_cpus
that set the same named options inside dmcrypt
(available in Linux kernel 3.20 and later).
2015-02-20 16:46:34 +01:00
Milan Broz
c36a7968f4
Add test for tmpfs / O_DIRECT etc.
2014-08-08 14:09:37 +02:00