Milan Broz
|
cf1e6fb847
|
Implement crypt RNG wrapper (for FIPS mode), use it for SALT and KEY RNG levels.
|
2012-05-21 14:32:39 +02:00 |
|
Milan Broz
|
45e0942755
|
Add --enable-fips for linking with fipscheck library.
Initialize binary and library selfcheck if running in FIPS mode.
(Actually available only on Fedora/Red Hat distros.)
|
2012-05-21 14:09:57 +02:00 |
|
Milan Broz
|
0f4431d0bb
|
Split salt from other requests in RNG backend.
|
2012-05-20 22:32:25 +02:00 |
|
Milan Broz
|
54b21c6e46
|
Add --enable-fips option. Request new gcrypt if set.
|
2012-05-20 22:24:24 +02:00 |
|
Milan Broz
|
c2a33b480f
|
Allow empty cipher (cipher_null).
|
2012-05-20 21:38:23 +02:00 |
|
Milan Broz
|
490c17b3cd
|
Fix disk wipe (during keyslot removal) if used on 4k hw block device.
The "Gutmann" metod uses various offset, direct-io need
to even read device when working with buffer...
Fixes Issue 129.
|
2012-05-09 22:10:00 +02:00 |
|
Milan Broz
|
ba7d9967a8
|
Allow "private" activation (skip some udev global rules) flag.
|
2012-05-02 16:51:58 +02:00 |
|
Milan Broz
|
adaf6d3eb4
|
Try to remove device even if it is busy (libdevmapper now handle retry).
|
2012-05-02 15:44:45 +02:00 |
|
Milan Broz
|
bbc3339bda
|
Switch on retry on device remove for libdevmapper.
|
2012-05-02 14:18:04 +02:00 |
|
Milan Broz
|
f720affe8c
|
Relax --shared test, allow mapping even for overlapping segments.
Support shared flag for LUKS devices (dangerous).
|
2012-05-02 00:58:54 +02:00 |
|
Milan Broz
|
a718369374
|
Fix loop mapping on readonly file.
|
2012-05-02 00:52:37 +02:00 |
|
Yuri Chornoivan
|
1562879369
|
Fix typo
|
2012-04-22 22:04:42 +02:00 |
|
Milan Broz
|
8818eb2687
|
Fix requested_type description in header.
|
2012-04-19 09:47:58 +02:00 |
|
Milan Broz
|
09fd551e03
|
Fix support for LUKS header created by cryptsetup-1.0.0
(no 4k alignment for the first keyslot).
Also skip repair for such header.
Thanks to Dick Middleton for reporting the issue.
|
2012-04-09 23:11:52 +02:00 |
|
Milan Broz
|
ee8425b836
|
Version 1.4.2.
Add header and copyright for header files.
|
2012-04-02 22:03:05 +02:00 |
|
Milan Broz
|
bd047d03ef
|
Add repair command and API for repairing known LUKS header problems.
|
2012-04-02 21:18:22 +02:00 |
|
Milan Broz
|
9511c91a79
|
Add --keyfile-offset and --new-keyfile-offset to cryptsetup.
Add resume_by_keyfile_offset, add_kesylot_by_keyfile_offset and
activate_by_keyfile_offset to API.
Thanks to Matthew Monaco <matthew.monaco@0x01b.net>
|
2012-03-29 18:35:07 +02:00 |
|
Milan Broz
|
78cac9a97c
|
Fix retry if entered passphrases (with verify option) do not match.
|
2012-03-16 16:31:15 +01:00 |
|
Milan Broz
|
075fb8d261
|
Unify password verification option.
Support password verification with quiet flag if possible. (1.2.0)
|
2012-03-16 16:17:03 +01:00 |
|
Milan Broz
|
fff8b02b46
|
Add some LUKS header "invalid keyslot" repair code, not enabled for now.
|
2012-03-07 14:10:39 +01:00 |
|
Milan Broz
|
a5aa30be33
|
Fix use of empty keyfile (Issue 120).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@702 36d66b0a-2a48-0410-832c-cd162a569da5
|
2012-01-12 22:13:23 +00:00 |
|
Milan Broz
|
203f2e082d
|
Fix error message for luksClose and detached LUKS header.
Allow --header for status command to get full info with detached header.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@689 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-11-13 22:12:51 +00:00 |
|
Milan Broz
|
1b982af46f
|
Fix typo in iteration time api call.
(To not break API keep old set_iterarion_time alias...)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@675 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-11-06 22:44:52 +00:00 |
|
Milan Broz
|
7835b365a7
|
Fix FSF address in license text according to
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@671 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-11-02 22:35:21 +00:00 |
|
Milan Broz
|
6e119ab6cc
|
Fix crypt_get_volume_key_size() for plain device.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@665 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-27 20:40:16 +00:00 |
|
Milan Broz
|
94fb0b7781
|
Fix flag description comment.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@638 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-10 18:09:26 +00:00 |
|
Milan Broz
|
4f33a537ae
|
Fix some complier warnings.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@628 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-09 15:47:31 +00:00 |
|
Milan Broz
|
dac000e1df
|
Move setting of error text to crypt_log to catch all errors.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@626 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-09 13:46:24 +00:00 |
|
Milan Broz
|
be246c16ab
|
Fix exit code if passphrases do not match in luksAddKey. (Issue 109)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@625 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-09 13:46:14 +00:00 |
|
Milan Broz
|
8c54d938ac
|
Add crypt_last_error() API call (using crypt context).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@623 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-09 13:45:53 +00:00 |
|
Milan Broz
|
d7960b9307
|
Simplify global error call.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@622 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-09 13:45:38 +00:00 |
|
Milan Broz
|
4e9fa4d2bb
|
Fix some doxygen docs warnings and mistakes.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@621 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-08 20:27:54 +00:00 |
|
Milan Broz
|
f54c7939f0
|
Add doxygen formatted documentation for libcryptsetup API (thanks to okozina).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@617 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-08 19:26:52 +00:00 |
|
Milan Broz
|
19bde65f5b
|
Remove hints for old kernels.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@616 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-08 16:23:54 +00:00 |
|
Milan Broz
|
d2fbc963ca
|
If device is not rotational, do not use Gutmann wipe method.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@615 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-08 16:17:08 +00:00 |
|
Milan Broz
|
61bec51be0
|
Fix some compile warnings in optional crypto backends.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@614 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-05 09:46:37 +00:00 |
|
Milan Broz
|
84ada5ddf6
|
Support Nettle 2.4 crypto backend (for ripemd160).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@613 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-10-05 08:33:33 +00:00 |
|
Milan Broz
|
538169fb5b
|
Fix some memory leaks (thanks to okozina).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@610 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-09-21 22:42:18 +00:00 |
|
Milan Broz
|
d20e2ff02d
|
Do not allow format of already formatted context.
(Thanks to okozina@redhat.com)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@608 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-26 19:46:29 +00:00 |
|
Milan Broz
|
d5e48fcb00
|
Enhance check of device size before writing LUKS header.
(Thanks to okozina@redhat.com)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@607 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-26 19:46:17 +00:00 |
|
Milan Broz
|
4d99773009
|
Remove internal loop definitions from header file.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@606 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-26 19:46:04 +00:00 |
|
Milan Broz
|
f3ed801e8b
|
Use /dev/loop-control if possible (kernel 3.1).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@605 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-22 22:33:24 +00:00 |
|
Milan Broz
|
b8a7125225
|
crypt_check_data_device_size() needs to compare values in bytes
(Thanks to okozina@redhat.com)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@602 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-22 21:53:59 +00:00 |
|
Milan Broz
|
6cede067a2
|
Fix two mem leaks in crypt_init_by_name_and_header().
(Thanks to okozina@redhat.com)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@601 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-22 21:53:48 +00:00 |
|
Milan Broz
|
906c7897e1
|
LUKS header and Type needs to be set in context before crypt_check_data_device_size() is called.
(Thanks to okozina@redhat.com)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@600 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-22 21:53:38 +00:00 |
|
Milan Broz
|
c5b64b5479
|
Add more paranoid checks for LUKS header and keyslot attributes.
(Thanks to okozina@redhat.com)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@599 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-22 21:53:27 +00:00 |
|
Milan Broz
|
4a295781d1
|
Silent gcc warnings with -Wconst-qual switch.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@598 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-15 16:32:52 +00:00 |
|
Milan Broz
|
1f9efdf59a
|
Check UUID of active device to match header when initializing context.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@597 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-15 16:32:44 +00:00 |
|
Milan Broz
|
1f776bc979
|
Do not allow crypt_load() on already initialised context.
Signed-off-by: Ondrej Kozina <okozina@redhat.com>
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@596 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-15 16:32:36 +00:00 |
|
Milan Broz
|
7665f8e805
|
Improve check for invalid offset and size values. (thx to okozina)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@588 36d66b0a-2a48-0410-832c-cd162a569da5
|
2011-08-01 12:27:34 +00:00 |
|