Milan Broz
dff09b7e65
Add RC0 release notes.
2017-09-29 01:22:58 +02:00
Ondrej Kozina
bb40433960
add keyring notes
2017-09-28 11:25:17 +02:00
Milan Broz
6cd770e501
Add temporary description of LUKS2 on-disk format.
2017-09-28 11:23:33 +02:00
Milan Broz
0f347b9c5c
SLighly reformat locking doc.
2017-09-28 11:23:03 +02:00
Ondrej Kozina
c3b3d7b022
fix api-test for builds without keyring support
2017-09-27 11:03:11 +02:00
Milan Broz
948006561a
Yet another fix for header strings.
2017-09-27 10:54:03 +02:00
Milan Broz
3ccbb8fe84
Fix some problems found by Coverity analysis.
2017-09-27 10:18:38 +02:00
Milan Broz
c1c541642e
Add a note about locking to man page.
2017-09-27 08:12:09 +02:00
Ondrej Kozina
b4782809d4
luks2: allow masking of requirements internaly
...
before this patch any LUKS2 requirement defined in header
would stop a restricted operation from proceeding further.
This patch adds ability to mask requirements (internal only).
2017-09-27 07:48:53 +02:00
Ondrej Kozina
b3feae5474
luks2: unify naming for requirements flags
2017-09-27 07:47:41 +02:00
Ondrej Kozina
c015aeca4e
luks2: move pre-activation requirements check lower
2017-09-27 07:47:13 +02:00
Milan Broz
9bbc13f256
Add LUKS2 examples.
...
Signed-off-by: Milan Broz <gmazyland@gmail.com >
2017-09-27 07:46:41 +02:00
Milan Broz
38d53db6e9
Reformat and fix libcryptsetup.h / Doxygen doc.
...
No functional change in this patch.
2017-09-26 16:35:20 +02:00
Ondrej Kozina
0f4d83960f
add remainders to fix some longstanding issues
2017-09-24 19:50:34 +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
9f2727bb77
Add libLUKS2.
2017-09-24 19:50:12 +02:00
Milan Broz
00b103c85c
Allow wip-luks2 build in Travis.
2017-09-24 19:50:05 +02:00
Milan Broz
a0d2d4c0b1
Add uint64_to_str helper.
2017-09-24 19:50:01 +02:00
Milan Broz
64e91951b2
Add generic LUKS format define.
...
It means "load any LUKS version".
2017-09-24 19:49:56 +02:00
Milan Broz
e7de19fe1d
Split utils from API test.
2017-09-24 19:49:51 +02:00
Milan Broz
5536b3a58d
Add implementation of device/file locking for metadata.
...
To be used later.
2017-09-24 19:49:46 +02:00
Milan Broz
a8347d2820
Add integrity intefrace test stub.
2017-09-24 19:49:40 +02:00
Milan Broz
c56bdee177
Add backend support for new device-mapper kernel options.
...
This patch adds support for using keyring for volume key
and support for new integrity fields for dm-crypt.
Also helpers for searching disk by id.
To be used later.
2017-09-24 19:49:35 +02:00
Milan Broz
894e7b9357
Add base64 implementation.
...
To be used later. Copy from gnulib.
2017-09-24 19:49:30 +02:00
Milan Broz
2aee1426de
Speed up tests by avoiding PBKDF benchmarks in many cases.
2017-09-24 19:49:25 +02:00
Milan Broz
66db5b39bb
Change PBKDF insterface to allow forced iterations (time cost) count.
...
Also move functions to separate utils_pbkdf.c file.
PBKDF can be now set for any context.
TODO: new setting is not covered by tests.
2017-09-24 19:49:21 +02:00
Milan Broz
a73bb733ff
Fix list of files for translation.
2017-09-24 10:09:48 +02:00
Michal Virgovic
3d57f5fcbb
Add tests for integritysetup error detection.
2017-09-23 23:49:25 +02:00
Ondrej Kozina
c34bee2009
return correct key description format in dm_query_device
...
dm_query_device is expected to return kernel key description
string only. By mistake the code returned also type in head
of key description.
2017-09-23 23:45:32 +02:00
Milan Broz
c3a0cbfc85
Update documentation.
2017-09-23 23:34:18 +02:00
Milan Broz
57825365fe
Fix another signed/unsigned compilation warnings.
2017-09-23 23:30:28 +02:00
Milan Broz
b35785bb1b
Fix some signed/unsigned and other compiler warnings.
2017-09-23 23:29:11 +02:00
Milan Broz
0d2f888413
Fix some tests to run under make distcheck and separately.
2017-09-23 23:24:24 +02:00
Milan Broz
a85fee7a0d
Silence compiler warning (dmt_flags is always initialized).
2017-09-11 12:36:43 +02:00
Milan Broz
f66dedc759
Add plain64be IV to storage backend.
2017-09-11 12:33:10 +02:00
Ondrej Kozina
a62da3d530
extend stackframe in valgrind tests
2017-08-26 11:46:26 +02:00
Ondrej Kozina
1cc972c723
improve kernel keyring usability detection for tests
2017-08-26 11:46:16 +02:00
Milan Broz
6b7a2f6641
Fix memory leaks in dm_query_integrity and dm_query_verity.
2017-08-26 11:44:21 +02:00
Milan Broz
34b79794ea
Mark python test as skipped with exit code 77.
2017-08-26 11:44:03 +02:00
Ondrej Kozina
fb114d8d20
fix memleaks in lower level dm_query_device on error path
2017-08-26 11:43:31 +02:00
Ondrej Kozina
a6106117a9
Fail gracefully if name is NULL in crypt_init_by_name() & co
2017-08-25 21:36:50 +02:00
Ondrej Kozina
b27507790f
fix memleak in crypt_resize()
2017-08-25 21:32:57 +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
6e057c010f
Revert "Set block size for loop device if supported by kernel (4.13+)."
...
This reverts commit 4e2deadba7 .
There is too many cases with 4k unaligned images that this optimization
adds more problems than it solves. Revert it for now.
2017-08-23 08:07:27 +02:00
Milan Broz
540972ff59
Move progress function to utils.
2017-08-22 16:13:40 +02:00
Milan Broz
677adc7adc
Add crypt_backend_destroy() function and cll it as library destructor.
2017-08-22 15:48:24 +02:00
Milan Broz
096c50cafc
Fix memory leak during repeated password entry.
2017-08-22 15:38:29 +02:00
Ondrej Kozina
8c57e3ffca
Hint kernel keyring disabled in debug message
2017-08-22 13:47:20 +02:00
Milan Broz
4e2deadba7
Set block size for loop device if supported by kernel (4.13+).
2017-08-22 13:45:59 +02:00