platform/upstream/cryptsetup.git
13 years agoDetect static uuid library if static build is requested.
Milan Broz [Sun, 9 Oct 2011 15:22:57 +0000 (15:22 +0000)]
Detect static uuid library if static build is requested.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@627 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoMove setting of error text to crypt_log to catch all errors.
Milan Broz [Sun, 9 Oct 2011 13:46:24 +0000 (13:46 +0000)]
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

13 years agoFix exit code if passphrases do not match in luksAddKey. (Issue 109)
Milan Broz [Sun, 9 Oct 2011 13:46:14 +0000 (13:46 +0000)]
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

13 years agoFix luksKillSLot exit code if slot is inactive or invalid. (Issue 108)
Milan Broz [Sun, 9 Oct 2011 13:46:03 +0000 (13:46 +0000)]
Fix luksKillSLot exit code if slot is inactive or invalid. (Issue 108)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@624 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd crypt_last_error() API call (using crypt context).
Milan Broz [Sun, 9 Oct 2011 13:45:53 +0000 (13:45 +0000)]
Add crypt_last_error() API call (using crypt context).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@623 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoSimplify global error call.
Milan Broz [Sun, 9 Oct 2011 13:45:38 +0000 (13:45 +0000)]
Simplify global error call.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@622 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix some doxygen docs warnings and mistakes.
Milan Broz [Sat, 8 Oct 2011 20:27:54 +0000 (20:27 +0000)]
Fix some doxygen docs warnings and mistakes.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@621 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix doxyfile location.
Milan Broz [Sat, 8 Oct 2011 19:27:20 +0000 (19:27 +0000)]
Fix doxyfile location.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@620 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd doxyfile.
Milan Broz [Sat, 8 Oct 2011 19:27:11 +0000 (19:27 +0000)]
Add doxyfile.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@619 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd some examples. (thanks to okozina)
Milan Broz [Sat, 8 Oct 2011 19:27:03 +0000 (19:27 +0000)]
Add some examples. (thanks to okozina)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@618 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd doxygen formatted documentation for libcryptsetup API (thanks to okozina).
Milan Broz [Sat, 8 Oct 2011 19:26:52 +0000 (19:26 +0000)]
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

13 years agoRemove hints for old kernels.
Milan Broz [Sat, 8 Oct 2011 16:23:54 +0000 (16:23 +0000)]
Remove hints for old kernels.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@616 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoIf device is not rotational, do not use Gutmann wipe method.
Milan Broz [Sat, 8 Oct 2011 16:17:08 +0000 (16:17 +0000)]
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

13 years agoFix some compile warnings in optional crypto backends.
Milan Broz [Wed, 5 Oct 2011 09:46:37 +0000 (09:46 +0000)]
Fix some compile warnings in optional crypto backends.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@614 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoSupport Nettle 2.4 crypto backend (for ripemd160).
Milan Broz [Wed, 5 Oct 2011 08:33:33 +0000 (08:33 +0000)]
Support Nettle 2.4 crypto backend (for ripemd160).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@613 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix man page (thanks to Karl O. Pinc)
Milan Broz [Tue, 27 Sep 2011 16:51:23 +0000 (16:51 +0000)]
Fix man page (thanks to Karl O. Pinc)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@612 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd keyslot option for luksOpen (thanks to okozina).
Milan Broz [Thu, 22 Sep 2011 20:26:37 +0000 (20:26 +0000)]
Add keyslot option for luksOpen (thanks to okozina).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@611 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix some memory leaks (thanks to okozina).
Milan Broz [Wed, 21 Sep 2011 22:42:18 +0000 (22:42 +0000)]
Fix some memory leaks (thanks to okozina).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@610 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd some valgrind checks (thanks to okozina).
Milan Broz [Wed, 21 Sep 2011 22:42:03 +0000 (22:42 +0000)]
Add some valgrind checks (thanks to okozina).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@609 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoDo not allow format of already formatted context.
Milan Broz [Fri, 26 Aug 2011 19:46:29 +0000 (19:46 +0000)]
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

13 years agoEnhance check of device size before writing LUKS header.
Milan Broz [Fri, 26 Aug 2011 19:46:17 +0000 (19:46 +0000)]
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

13 years agoRemove internal loop definitions from header file.
Milan Broz [Fri, 26 Aug 2011 19:46:04 +0000 (19:46 +0000)]
Remove internal loop definitions from header file.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@606 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUse /dev/loop-control if possible (kernel 3.1).
Milan Broz [Mon, 22 Aug 2011 22:33:24 +0000 (22:33 +0000)]
Use /dev/loop-control if possible (kernel 3.1).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@605 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd fi.po.
Milan Broz [Mon, 22 Aug 2011 21:54:29 +0000 (21:54 +0000)]
Add fi.po.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@604 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd some API test and rewrite some parts.
Milan Broz [Mon, 22 Aug 2011 21:54:11 +0000 (21:54 +0000)]
Add some API test and rewrite some parts.
(Thanks to okozina@redhat.com)

[not yet finished]

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@603 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agocrypt_check_data_device_size() needs to compare values in bytes
Milan Broz [Mon, 22 Aug 2011 21:53:59 +0000 (21:53 +0000)]
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

13 years agoFix two mem leaks in crypt_init_by_name_and_header().
Milan Broz [Mon, 22 Aug 2011 21:53:48 +0000 (21:53 +0000)]
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

13 years agoLUKS header and Type needs to be set in context before crypt_check_data_device_size...
Milan Broz [Mon, 22 Aug 2011 21:53:38 +0000 (21:53 +0000)]
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

13 years agoAdd more paranoid checks for LUKS header and keyslot attributes.
Milan Broz [Mon, 22 Aug 2011 21:53:27 +0000 (21:53 +0000)]
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

13 years agoSilent gcc warnings with -Wconst-qual switch.
Milan Broz [Mon, 15 Aug 2011 16:32:52 +0000 (16:32 +0000)]
Silent gcc warnings with -Wconst-qual switch.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@598 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoCheck UUID of active device to match header when initializing context.
Milan Broz [Mon, 15 Aug 2011 16:32:44 +0000 (16:32 +0000)]
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

13 years agoDo not allow crypt_load() on already initialised context.
Milan Broz [Mon, 15 Aug 2011 16:32:36 +0000 (16:32 +0000)]
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

13 years agoUpdate po files.
Milan Broz [Mon, 15 Aug 2011 16:32:24 +0000 (16:32 +0000)]
Update po files.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@595 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agotypi fixed in ASCII version
Arno Wagner [Fri, 5 Aug 2011 08:33:09 +0000 (08:33 +0000)]
typi fixed in ASCII version

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@593 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd API tests for plain device.
Milan Broz [Tue, 2 Aug 2011 12:16:00 +0000 (12:16 +0000)]
Add API tests for plain device.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@591 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agosynced ASCII version
Arno Wagner [Mon, 1 Aug 2011 23:50:58 +0000 (23:50 +0000)]
synced ASCII version

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@590 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoImprove check for invalid offset and size values. (thx to okozina)
Milan Broz [Mon, 1 Aug 2011 12:27:34 +0000 (12:27 +0000)]
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

13 years agoAdd loop control stub for testing new loop device interface.
Milan Broz [Mon, 1 Aug 2011 10:40:45 +0000 (10:40 +0000)]
Add loop control stub for testing new loop device interface.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@587 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agosynced rhe text version
Arno Wagner [Sat, 30 Jul 2011 18:40:45 +0000 (18:40 +0000)]
synced rhe text version

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@585 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd check of decrypted image to test.
Milan Broz [Mon, 25 Jul 2011 21:49:14 +0000 (21:49 +0000)]
Add check of decrypted image to test.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@581 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix gcrypt final() function backend call.
Milan Broz [Mon, 25 Jul 2011 21:15:41 +0000 (21:15 +0000)]
Fix gcrypt final() function backend call.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@580 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix new tests to use sha1 (ripemd160 not supported in some backends).
Milan Broz [Mon, 25 Jul 2011 15:24:16 +0000 (15:24 +0000)]
Fix new tests to use sha1 (ripemd160 not supported in some backends).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@579 36d66b0a-2a48-0410-832c-cd162a569da5

13 years ago* Remove hash/hmac restart from crypto backend and make it part of hash/hmac final.
Milan Broz [Mon, 25 Jul 2011 15:24:04 +0000 (15:24 +0000)]
* Remove hash/hmac restart from crypto backend and make it part of hash/hmac final.

Some backend implementation did reset context by default, so this
should create backend api consistent.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@578 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd experimental LUKS recovery script (recreate header from active mapping).
Milan Broz [Mon, 25 Jul 2011 10:42:35 +0000 (10:42 +0000)]
Add experimental LUKS recovery script (recreate header from active mapping).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@577 36d66b0a-2a48-0410-832c-cd162a569da5

13 years ago* Allow different data offset setting for detached header.
Milan Broz [Wed, 20 Jul 2011 17:39:38 +0000 (17:39 +0000)]
* Allow different data offset setting for detached header.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@576 36d66b0a-2a48-0410-832c-cd162a569da5

13 years ago* Add --header option for detached metadata (on-disk LUKS header) device.
Milan Broz [Wed, 20 Jul 2011 17:39:26 +0000 (17:39 +0000)]
* Add --header option for detached metadata (on-disk LUKS header) device.
* Add crypt_init_by_name_and_header() and crypt_set_data_device() to API.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@575 36d66b0a-2a48-0410-832c-cd162a569da5

13 years ago* Revert default initialisation of volume key in crypt_init_by_name().
Milan Broz [Tue, 19 Jul 2011 13:55:34 +0000 (13:55 +0000)]
* Revert default initialisation of volume key in crypt_init_by_name().
* Do not allow key retrieval while suspended (key could be wiped).
* Do not allow suspend for non-LUKS devices.
* Support retries and timeout parameters for luksSuspend.

Add luksSuspend/Resume test.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@574 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd crypt_get_iv_offset() function to API.
Milan Broz [Mon, 18 Jul 2011 13:03:15 +0000 (13:03 +0000)]
Add crypt_get_iv_offset() function to API.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@573 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd --enable-discards option to allow discards/TRIM requests.
Milan Broz [Sun, 17 Jul 2011 22:35:40 +0000 (22:35 +0000)]
Add --enable-discards option to allow discards/TRIM requests.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@572 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUse struct volume key thorough.
Milan Broz [Sun, 17 Jul 2011 22:35:30 +0000 (22:35 +0000)]
Use struct volume key thorough.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@571 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoRewrite dm query/create function backend.
Milan Broz [Sun, 17 Jul 2011 22:35:17 +0000 (22:35 +0000)]
Rewrite dm query/create function backend.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@570 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoupdated txt version
Arno Wagner [Thu, 14 Jul 2011 22:15:37 +0000 (22:15 +0000)]
updated txt version

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@569 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoadded warning to only use the fiorst 128 ASCII cars to text
Arno Wagner [Fri, 8 Jul 2011 20:38:30 +0000 (20:38 +0000)]
added warning to only use the fiorst 128 ASCII cars to text
version of the FAQ

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@564 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUpdate de.po.
Milan Broz [Thu, 7 Jul 2011 14:33:08 +0000 (14:33 +0000)]
Update de.po.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@562 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoRemove old API functions (all functions using crypt_options).
Milan Broz [Thu, 7 Jul 2011 14:32:42 +0000 (14:32 +0000)]
Remove old API functions (all functions using crypt_options).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@561 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix error message.
Milan Broz [Fri, 1 Jul 2011 16:41:59 +0000 (16:41 +0000)]
Fix error message.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@560 36d66b0a-2a48-0410-832c-cd162a569da5

13 years ago* Add --shared option for creating non-overlapping crypt segments.
Milan Broz [Fri, 1 Jul 2011 16:38:58 +0000 (16:38 +0000)]
* Add --shared option for creating non-overlapping crypt segments.
* Add shared flag to libcryptsetup api.
* Fix plain crypt format parameters to include size option (API change).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@559 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoadditional typo fix
Arno Wagner [Fri, 1 Jul 2011 00:12:12 +0000 (00:12 +0000)]
additional typo fix

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@558 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoupdate of ascii version
Arno Wagner [Fri, 1 Jul 2011 00:01:57 +0000 (00:01 +0000)]
update of ascii version

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@556 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUse EINVAL if device status returns invalid device.
Milan Broz [Tue, 14 Jun 2011 13:19:58 +0000 (13:19 +0000)]
Use EINVAL if device status returns invalid device.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@552 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoSeems that dmsetup table is broken in recent lvm2, let's support "x: table" as well.
Milan Broz [Mon, 13 Jun 2011 16:45:09 +0000 (16:45 +0000)]
Seems that dmsetup table is broken in recent lvm2, let's support "x: table" as well.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@551 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix return code for status command when device doesn't exists.
Milan Broz [Mon, 13 Jun 2011 16:44:42 +0000 (16:44 +0000)]
Fix return code for status command when device doesn't exists.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@550 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUpdate fr.po.
Milan Broz [Fri, 27 May 2011 21:35:46 +0000 (21:35 +0000)]
Update fr.po.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@549 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoSet devel version.
Milan Broz [Tue, 24 May 2011 15:51:45 +0000 (15:51 +0000)]
Set devel version.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@540 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoVersion 1.3.1.
Milan Broz [Tue, 24 May 2011 15:06:36 +0000 (15:06 +0000)]
Version 1.3.1.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@536 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd alternative define for old kernel headers.
Milan Broz [Tue, 24 May 2011 14:07:49 +0000 (14:07 +0000)]
Add alternative define for old kernel headers.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@535 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoSuggest aes-xts-plain64 in man page.
Milan Broz [Tue, 24 May 2011 11:59:55 +0000 (11:59 +0000)]
Suggest aes-xts-plain64 in man page.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@534 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd prototype and remove warning.
Milan Broz [Tue, 24 May 2011 11:59:39 +0000 (11:59 +0000)]
Add prototype and remove warning.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@533 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoExcluce some known dir from old scan.
Milan Broz [Tue, 24 May 2011 11:39:39 +0000 (11:39 +0000)]
Excluce some known dir from old scan.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@532 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoHandle even non-standard and non-udev /dev in devpath.
Milan Broz [Tue, 24 May 2011 11:19:21 +0000 (11:19 +0000)]
Handle even non-standard and non-udev /dev in devpath.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@531 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoMove DM helpers to separate header.
Milan Broz [Tue, 24 May 2011 11:19:12 +0000 (11:19 +0000)]
Move DM helpers to separate header.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@530 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoMove devpath scan to separate file.
Milan Broz [Tue, 24 May 2011 11:19:00 +0000 (11:19 +0000)]
Move devpath scan to separate file.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@529 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoupdate TODO (align payload units)
Milan Broz [Tue, 24 May 2011 11:18:53 +0000 (11:18 +0000)]
update TODO (align payload units)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@528 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoSimplify device path scan and avoid stat();
Milan Broz [Wed, 18 May 2011 17:25:21 +0000 (17:25 +0000)]
Simplify device path scan and avoid stat();

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@526 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix previous fix - keep API logic clean, fix cryptsetup call.
Milan Broz [Wed, 18 May 2011 15:05:46 +0000 (15:05 +0000)]
Fix previous fix - keep API logic clean, fix cryptsetup call.

Add more API regression tests.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@525 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix keyfile=- processing in create command (1.3.0, issue 104)
Milan Broz [Tue, 17 May 2011 15:34:40 +0000 (15:34 +0000)]
Fix keyfile=- processing in create command (1.3.0, issue 104)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@524 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUpdate it.po.
Milan Broz [Fri, 13 May 2011 12:44:57 +0000 (12:44 +0000)]
Update it.po.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@523 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agofix manpage: escape minus signs. otherwise interpreted as hyphens
Jonas Meurer [Wed, 11 May 2011 11:43:57 +0000 (11:43 +0000)]
fix manpage: escape minus signs. otherwise interpreted as hyphens

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@522 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoPluralize "Cannot not read %d bytes from key file %s.\n" message. (ppisar)
Milan Broz [Wed, 11 May 2011 10:27:33 +0000 (10:27 +0000)]
Pluralize "Cannot not read %d bytes from key file %s.\n" message. (ppisar)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@521 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix size argument for create command. (regression in 1.2.0)
Milan Broz [Tue, 3 May 2011 13:13:16 +0000 (13:13 +0000)]
Fix size argument for create command. (regression in 1.2.0)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@518 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAdd Nettle crypto backend support.
Milan Broz [Thu, 28 Apr 2011 15:48:11 +0000 (15:48 +0000)]
Add Nettle crypto backend support.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@516 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoRemove another compile warnings.
Milan Broz [Mon, 18 Apr 2011 14:03:59 +0000 (14:03 +0000)]
Remove another compile warnings.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@515 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoPost release version increase.
Milan Broz [Mon, 18 Apr 2011 14:03:47 +0000 (14:03 +0000)]
Post release version increase.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@514 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoRemove old ifdef, all recent systems have this defined.
Milan Broz [Mon, 18 Apr 2011 10:52:28 +0000 (10:52 +0000)]
Remove old ifdef, all recent systems have this defined.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@513 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoRemove old and unused blockdev.h header.
Milan Broz [Mon, 18 Apr 2011 10:52:22 +0000 (10:52 +0000)]
Remove old and unused blockdev.h header.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@512 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix possible leaks in blockwise read/write code.
Milan Broz [Mon, 18 Apr 2011 10:52:15 +0000 (10:52 +0000)]
Fix possible leaks in blockwise read/write code.
Fix lseek_write blockwise function (not used in that mode anyway).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@511 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix verbose mode compiler warnings.
Milan Broz [Mon, 18 Apr 2011 10:52:02 +0000 (10:52 +0000)]
Fix verbose mode compiler warnings.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@510 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoVersion 1.3.0.
Milan Broz [Tue, 5 Apr 2011 19:02:53 +0000 (19:02 +0000)]
Version 1.3.0.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@492 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix typos.
Milan Broz [Tue, 5 Apr 2011 18:45:28 +0000 (18:45 +0000)]
Fix typos.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@491 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUpdate nl.po.
Milan Broz [Wed, 30 Mar 2011 11:07:24 +0000 (11:07 +0000)]
Update nl.po.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@490 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAlso support --hash option for loopaesOpen.
Milan Broz [Fri, 25 Mar 2011 17:00:57 +0000 (17:00 +0000)]
Also support --hash option for loopaesOpen.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@489 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUpdate pl.po.
Milan Broz [Fri, 25 Mar 2011 16:20:27 +0000 (16:20 +0000)]
Update pl.po.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@488 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoDocument cryptsetup exit codes.
Milan Broz [Fri, 25 Mar 2011 16:20:20 +0000 (16:20 +0000)]
Document cryptsetup exit codes.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@487 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix return code when passphrase is read from pipe.
Milan Broz [Fri, 25 Mar 2011 16:11:03 +0000 (16:11 +0000)]
Fix return code when passphrase is read from pipe.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@486 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoPrint error if hash is not supported.
Milan Broz [Fri, 25 Mar 2011 16:10:56 +0000 (16:10 +0000)]
Print error if hash is not supported.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@485 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoUpdate cs.po.
Milan Broz [Thu, 24 Mar 2011 11:10:08 +0000 (11:10 +0000)]
Update cs.po.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@484 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoRemove unused paramater.
Milan Broz [Wed, 23 Mar 2011 11:43:11 +0000 (11:43 +0000)]
Remove unused paramater.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@483 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoFix offset parameter.
Milan Broz [Tue, 22 Mar 2011 21:11:28 +0000 (21:11 +0000)]
Fix offset parameter.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@482 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoAlso support --skip option for loopaesOpen.
Milan Broz [Tue, 22 Mar 2011 20:51:50 +0000 (20:51 +0000)]
Also support --skip option for loopaesOpen.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@481 36d66b0a-2a48-0410-832c-cd162a569da5

13 years agoVersion 1.3.0-rc2.
Milan Broz [Tue, 22 Mar 2011 12:22:44 +0000 (12:22 +0000)]
Version 1.3.0-rc2.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@479 36d66b0a-2a48-0410-832c-cd162a569da5