aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
6 daystests: Use only PBKDF2 in api-test-2 images (FIPS with OpenSSL 3.2+)HEADmastermainMilan Broz3-0/+26
6 daystests: Use only PBKDF2 in luks2_keyslot_unassigned.img (FIPS with OpenSSL 3.2+)Milan Broz1-0/+0
6 daystests: Fix redundant test number in compat-test2Milan Broz1-3/+3
6 daystests: Skip zoned test if kernel does not support itMilan Broz1-10/+13
6 daystests: Remove leftover debug parameter.Milan Broz1-1/+1
9 daysAdd tests for --key-description and --new-key-description.Milan Broz1-0/+29
9 daysRename TOKEN to KEY_DESC to be used in different context later.Milan Broz1-22/+22
2024-05-03Detect unsupported zoned devices for LUKS header device.Milan Broz1-0/+11
2024-04-04tests: print OPAL device parameters in test envirenment if specifiedMilan Broz1-0/+5
2024-04-03Fix invalid assert for hw-opal data segment keys.Ondrej Kozina1-53/+59
2024-03-21tests: run systemd tests using meson only when requestedDaniel Zatovic1-1/+1
2024-03-07tests: Fix Makefile * Meson to include all fs images.Milan Broz2-1/+4
2024-03-07test: Fix tests on RHEL7 clones (no keyring in dm-crypt).Milan Broz3-19/+61
2024-03-07Add xfs V5 image to tests.Milan Broz5-12/+27
2024-03-06tests: fix compat-test-opal bug for empty LUKS2 passphrase.Ondrej Kozina1-2/+2
2024-03-06tests: move luks1 decryption resume test.Ondrej Kozina1-1/+1
2024-03-06tests: fix fips mode detection contradiction in various tests.Ondrej Kozina5-10/+10
2024-03-05Add regression test for resuming LUKS1 decryption.Ondrej Kozina4-2/+16
2024-02-29Allow --link-vk-to-keyring with --test-passphrase option.Ondrej Kozina2-0/+56
2024-02-28Fix abort triggered by initializing decryption via --active-name.Ondrej Kozina1-2/+10
2024-02-21Fix crypto vectors test in meson.Ondrej Kozina1-0/+2
2024-02-18Skip test if keyctl is missingTobias Rosenkranz1-0/+1
2024-01-24Version 2.7.0.v2.7.0Milan Broz1-4/+3
2024-01-23Update copyright notice to include 2024 year.Milan Broz21-39/+39
2024-01-23Unify error code for missing key description.Ondrej Kozina1-1/+1
2024-01-23Replace code for missing key error in API.Ondrej Kozina1-2/+2
2024-01-22tests: use per-test keyring for caching VKs.Ondrej Kozina1-25/+52
2024-01-20Fix typo in verity test.Milan Broz1-1/+1
2024-01-20Fix autoconf valgrind test.Milan Broz1-2/+2
2024-01-19Add tests for device activation using multiple VKs.Daniel Zatovic3-7/+273
2024-01-19Add tests for storing VK in keyring during resume.Daniel Zatovic1-0/+9
2024-01-19Add tests for storing multiple VKs in a custom keyring.Daniel Zatovic2-3/+161
2024-01-19Fix tests to support --disable-keyring option.Milan Broz2-18/+8
2024-01-05tests: add in-place LUKS2 encryption api test.Ondrej Kozina1-0/+54
2024-01-05tests: add helper for creating arbitrary linear mapping.Ondrej Kozina2-7/+23
2023-12-20Add keyring linking API placeholders for multi-key scenarios.Daniel Zatovic1-33/+33
2023-12-13test: check if device remains usable after failed attempt to double activation.Ondrej Kozina1-1/+5
2023-12-04Add missing vectors tests in valgrind setup.Ondrej Kozina1-0/+9
2023-12-04Simplify meson tests.Ondrej Kozina1-304/+32
2023-11-30Revert "tests: Temporarily disable veritysetup tasklet option test."Milan Broz1-3/+2
2023-11-30fuzz: Try to limit image size in crypt2_load_proto_plain_json_fuzzMilan Broz1-4/+11
2023-11-29Fix some typos found by lintian.Milan Broz4-5/+5
2023-11-26fuzz: add missing flex (util-linux req.) to fix fuzzing buildMilan Broz1-1/+1
2023-11-22tests: fail early if PSID reset does not work for device.Milan Broz1-6/+14
2023-11-21Do not run sector read check on suspended device.Milan Broz1-0/+14
2023-11-21Fix wrong key id set when resuming LUKS2 device.Ondrej Kozina1-0/+3
2023-11-17Drop fake_token_path symbol from tests.Ondrej Kozina3-30/+2
2023-11-17Do not use fake-token-path in ssh and systemd plugin tests.Ondrej Kozina4-34/+31
2023-11-15Drop deprecated use of implicit meson setup command.Ondrej Kozina1-2/+2
2023-11-15Fix systemd-test-plugin initialization.Ondrej Kozina1-2/+2
2023-11-15Fix fake systemd tpm path symbol.Ondrej Kozina1-2/+2
2023-11-15compat-test-opal does not depend on differ util.Ondrej Kozina1-1/+0
2023-11-15Speed up compat-test-opal valgrind test.Ondrej Kozina1-4/+8
2023-11-15Enable valgrind tests in meson.Ondrej Kozina25-73/+538
2023-11-15Increase minimal meson version to 0.64Ondrej Kozina1-7/+1
2023-11-13tests: Temporarily disable veritysetup tasklet option test.Milan Broz1-2/+3
2023-11-07tests: Clean up also dm-integrity device in OPAL testMilan Broz1-0/+1
2023-11-06tests: Do not run OPAL test with valgrind if variables are not setMilan Broz1-1/+1
2023-11-06Enable tests fixed with recent commits.Ondrej Kozina1-7/+0
2023-11-03Fix memleak in test.Ondrej Kozina1-7/+0
2023-11-02Remove inital opal-test.Ondrej Kozina3-104/+1
2023-11-02Add basic compat-opal-test.Ondrej Kozina3-0/+1325
2023-10-30fuzzing: Fix crypt2_load_fuzz to not touch const dataMilan Broz1-48/+50
2023-10-27tests: fix oss-fuzz buildMilan Broz1-2/+2
2023-10-18Fix tests in FIPS mode.Ondrej Kozina1-1/+1
2023-10-16Respect keyslot id while activating device by token.Ondrej Kozina1-0/+65
2023-10-05tests: Avoid new plain type warnings if missing options.Milan Broz5-41/+43
2023-10-04Close stdin in tests where not expected to be used.Ondrej Kozina1-3/+3
2023-10-04Add test coverage for device activation.Ondrej Kozina1-18/+20
2023-10-02Fix devel/debug leftover in LUKS2 api test.Ondrej Kozina1-3/+0
2023-09-29Avoid overwritting LUKS2 keyslot area if possible.Ondrej Kozina1-0/+18
2023-09-25Split logic for uploading keys in kernel key service.Ondrej Kozina2-141/+229
2023-09-12Add --disable-blkid CLI option.Milan Broz1-0/+9
2023-08-28Fix unused symbol warnings in tests.Milan Broz2-4/+8
2023-08-16Allow activation, resume and luksAddKey using VK stored in keyring.Daniel Zatovic1-1/+41
2023-08-16Add tests for linking VK to a keyring and changing VK type.Daniel Zatovic2-9/+190
2023-08-16Allow resume by keyslot context.Daniel Zatovic1-0/+47
2023-08-16Add keyring keyslot_context.Daniel Zatovic1-0/+14
2023-08-15Add tests for activation by keyslot contextDaniel Zatovic1-0/+62
2023-08-15Add new token activation API tests.Ondrej Kozina1-0/+100
2023-08-02Add OPAL2 detached header tests.Ondrej Kozina1-39/+51
2023-08-01Add support for suspend/resume with LUKS2 OPAL2 devices.Ondrej Kozina1-1/+24
2023-07-17Add OPAL2 basic test.Ondrej Kozina3-1/+69
2023-06-26Fix activation of LUKS2 with capi format cipher and kernel crypt name.Milan Broz4-2/+20
2023-06-22tcrypt: Fix test in FIPS mode.Milan Broz1-8/+8
2023-06-22tcrypt: Support new Blake2 hash.Milan Broz2-0/+1
2023-06-22Fix init_by_name to allow unknown cipher format in dm-crypt as null context.Milan Broz1-3/+2
2023-06-04Use unconditionally sleep 1 in scsi_debug testMilan Broz7-9/+9
2023-05-02Also disallow active devices with internal kernel names.Milan Broz1-0/+5
2023-05-02tests: Fix memory leak introduced in previous patches.Milan Broz1-1/+1
2023-04-29Workaround for oss-fuzz build.Milan Broz1-1/+3
2023-04-25Disallow use of internal kenrel crypto driver names in "capi" specification.Milan Broz1-0/+6
2023-04-24Do not decrease PBKDF parameters if a user forces them.Milan Broz1-0/+11
2023-04-20Fix PBKDF vector test in FIPS mode.Milan Broz1-39/+47
2023-04-19Fix PBKDF2 vectors test for RHEL8 OpenSSL.Milan Broz1-0/+8
2023-04-19Add support for Argon2 from libgcrypt.Milan Broz1-3/+6
2023-04-18bitlk: Fix segfaults when attempting to test volume keyVojtech Trefny1-0/+3
2023-03-18Fix fuzz tests build.Milan Broz1-1/+1
2023-03-10test: Do not overload global crypt_device variable name.Milan Broz1-17/+17
2023-03-09tests: avoid possible overflow in multiplicationMilan Broz1-1/+1
2023-03-09tests: reserve one byte for trailing zero in global log bufferMilan Broz1-2/+2
2023-03-04Try to avoid OOM killer on low-memory systems without swap.Milan Broz1-4/+8
2023-03-03fuzz: Do not calculate checksum for too small headers.Milan Broz1-17/+12
2023-03-03Add support for meson build system.Daniel Zatovic5-4/+645
2023-02-21Fix sector_size display for non-LUKS2 crypt devices.Milan Broz1-0/+2
2023-02-21Fix integrity info display for non-LUKS2 crypt devices.Milan Broz1-0/+6
2023-02-21Fix crypt_init_by_name() for dm-crypt with integrity.Milan Broz1-0/+9
2023-02-15fuzzing: Fix OSS-Fuzz static build script.Daniel Zatovic1-5/+3
2023-02-09Update Copyright year.Milan Broz21-39/+39
2023-02-01Add fuzz patch file to tarball.Milan Broz1-1/+2
2023-01-31fuzzing: Fix protobuf fuzzer errors when using MSANDaniel Zatovic2-1/+34
2023-01-20Fix compilation warning with disabled keyring.Daniel Zatovic1-2/+2
2023-01-19Fix api test on kernels with capi format support.Ondrej Kozina3-9/+17
2023-01-11fuzzing: update script to build popt using CMakeDaniel Zatovic1-3/+7
2022-12-23fuzzing: add new fuzzer for fuzzing multiple types at onceDavid Flor4-1/+81
2022-12-14Abort encryption when header and data devices are same.Ondrej Kozina2-3/+33
2022-12-14Enable crypt_header_is_detached for empty contexts.Ondrej Kozina2-2/+2
2022-12-08Change tests to use passphrases with minimal 8 chars length.Ondrej Kozina13-72/+110
2022-11-27tests: fix reencryption-mangle test valgrind log name.Milan Broz1-1/+2
2022-11-27tests: fix list of valgrind testsMilan Broz1-1/+1
2022-11-24tests: do not require build tools for localtest in systemd plugin testMilan Broz1-4/+5
2022-11-24tests: remove stray backslash in grep expressionMilan Broz1-1/+1
2022-11-24tests: do not run systemd plugin test without fake tpm pathMilan Broz1-1/+3
2022-11-24tests: compile fake_tpm_path util also for localtestMilan Broz1-0/+4
2022-11-18Speed up tests using faster hash and PBKDF options.Daniel Zatovic2-15/+16
2022-11-14fvault2: fix --test-passphrase optionMilan Broz1-0/+1
2022-11-14fvault2: test volume key dumpMilan Broz1-5/+11
2022-11-14tests: add valgrind support to fvault2 test.Milan Broz1-8/+35
2022-11-14Fvault2: add basic testPavel Tobias3-1/+104
2022-11-13tests: fix compilation warnings with C18Milan Broz2-2/+5
2022-11-13tests: do not require whirlpool hash for LUKS1 testMilan Broz1-11/+10
2022-11-13tests: rename systemd plugin testMilan Broz3-3/+8
2022-11-13tests: do not run api tests twice in valgrind run.Milan Broz1-2/+0
2022-11-08tests: add source file dependence for fake tokensMilan Broz1-2/+2
2022-11-08tests: check that *.so token helpers are compiled.Milan Broz2-2/+6
2022-11-08tests: do not use global CFLAGS for fake token helper.Milan Broz1-1/+2
2022-11-08tests: compile fake_systemd_tpm_path.so through MakefileMilan Broz3-8/+20
2022-11-07tests: Remove stray \" in grep expression.Milan Broz1-1/+1
2022-11-04Link compiled systemd to local libcryptsetup.daniel.zatovic1-10/+19
2022-11-03Add crypt_volume_key_get_by_keyslot_context.Ondrej Kozina2-0/+241
2022-10-27Do not compile systemd if running as systemd test as non-root.Milan Broz1-1/+2
2022-10-27Fix make dist to include systemd plugin test.Milan Broz1-1/+2
2022-10-26CI: add systemd-tpm2 token integration test.daniel.zatovic3-1/+148
2022-10-22fuzzing: Build OpenSSL with no-shared optionsMilan Broz1-1/+1
2022-10-20Fix internal crypt segment compare routine.Ondrej Kozina1-2/+12
2022-10-19CI: Add fuzzer jobs.daniel.zatovic1-2/+2
2022-10-18Silent new keyslot option warning in tests.Milan Broz3-4/+4
2022-10-14fuzzing: Yet another dependency fix.Milan Broz1-5/+3
2022-10-14fuzzing: Fix dependence issueMilan Broz1-2/+2
2022-10-13Fix api-test with older kernel.Milan Broz3-6/+90
2022-10-10fuzzing: Force dependence for generated header.Milan Broz1-0/+3
2022-10-09fuzzing: Clean up includes.Milan Broz7-40/+6
2022-10-09fuzzing: Remove unused code.Milan Broz3-8/+2
2022-10-09fuzzing: use ftruncate() instead of seeking to end of the fileMilan Broz3-15/+5
2022-10-09fuzzing: Simplify converters and used common defines for exit code.Milan Broz2-18/+18
2022-10-09fuzzing: Simplify plain JSON fuzzer.Milan Broz1-17/+5
2022-10-09fuzzing: Simplify proto fuzzer.Milan Broz1-17/+5
2022-10-09fuzzing: LLVMFuzzerTestOneInput must always return 0.Milan Broz1-37/+12
2022-10-08fuzzing: Fix possible overflow in crypt2_load_fuzz.Milan Broz1-1/+1
2022-10-06fuzzing: Disable assembly in openssl builddaniel.zatovic1-1/+1
2022-10-05Fix typo.Milan Broz1-2/+2
2022-10-04Fuzzing: disable po4a in static library dependence build as it seems to freeze.Milan Broz1-2/+2
2022-10-04Use upstream git for protobuf-mutator as required patches are merged now.Milan Broz1-2/+1
2022-10-04Add missing files to Makefile.am (and reformat lists).Milan Broz1-25/+58
2022-10-04Copy only selected fuzzers to out directory.daniel.zatovic1-5/+11
2022-10-04Fix missing prototypes by adding a header file.daniel.zatovic4-2/+84
2022-10-04Update fuzzing READMEdaniel.zatovic1-3/+23
2022-10-04Add dictionary for the plain JSON fuzzer.daniel.zatovic1-0/+72
2022-10-04Fix potential integer underflow.daniel.zatovic2-2/+2
2022-10-04Fix some clang++ warnings.Milan Broz7-22/+15
2022-10-04Rework build of fuzzers.Milan Broz10-182/+193
2022-10-04Add plain JSON metadata fuzzingdaniel.zatovic8-2/+720
2022-10-04Add checks for compiler when building fuzz targets.daniel.zatovic1-5/+9
2022-10-04Add fuzz targets, custom mutator and fuzzing dictionarydaniel.zatovic11-0/+1736
2022-09-29Extend luksAddKey action options via crypt_keyslot_add_by_keyslot_context API.Ondrej Kozina2-41/+149
2022-09-21Add new API for adding new LUKS keyslots.Ondrej Kozina2-0/+254
2022-09-19Fix missing va_end macro in test error path.Milan Broz1-7/+8
2022-09-16Add cryptsetup token unassign action.Ondrej Kozina1-0/+12
2022-09-16Enable adding unassigned luks2-keyring token in cryptsetup.Ondrej Kozina1-1/+6
2022-09-06Fix verity-compat-test if running with different locale.Milan Broz1-0/+1
2022-09-01Fix NULL key_description bug in luks2-keyring token.Ondrej Kozina1-1/+2
2022-08-25Fix valgrind in SSH token test.daniel.zatovic1-1/+1
2022-08-25Add support for dm-verity try_verify_in_tasklet option.Milan Broz1-0/+5
2022-08-11Force probe in tests instead of lsblk which can use udev cache.daniel.zatovic3-8/+8
2022-08-10Delegate FIPS mode detection to configured crypto backend.Ondrej Kozina4-4/+4
2022-08-10Add valgrind support to more tests.daniel.zatovic13-0/+216
2022-08-09Remove leftover debug option in test.Milan Broz1-1/+1
2022-08-05Fix valgrind summary leak detection.daniel.zatovic1-1/+1
2022-08-01Fix user defined moved segment size in LUKS2 decryption.Ondrej Kozina1-5/+13
2022-07-28Fix bogus conditions in tests.Ondrej Kozina2-2/+2
2022-07-28Add mangle tests for LUKS2 decryption with datashift.Ondrej Kozina1-12/+50
2022-07-28Improve reencryption parameters verification in cli.Ondrej Kozina1-0/+23
2022-07-28Fix bug in reencryption parameters verification.Ondrej Kozina1-0/+79
2022-07-20Add support for `--key-slot` in luksResume action.Guilhem Moulin2-2/+18
2022-07-18Rename some tests to simplify localtest parsing.Milan Broz4-7/+6
2022-07-18Add ssh-test-plugin to localtest if RUN_SSH_PLUGIN_TEST is set.Milan Broz1-0/+4
2022-07-18Rename ssh plugin test to ssh-test-plugin.Milan Broz2-3/+3
2022-07-16Unify use of tabulators in tests.Milan Broz6-108/+108
2022-07-16Change default target for Makefile.localtest.Milan Broz1-3/+5
2022-07-16Add unit-utils-crypt-test to Makefile.localtest's list of tests.Guilhem Moulin2-4/+11