platform/upstream/cryptsetup.git
12 years agoUpdate it.po.
Milan Broz [Fri, 28 Oct 2011 08:35:01 +0000 (08:35 +0000)]
Update it.po.

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

12 years agoFix crypt_get_volume_key_size() for plain device.
Milan Broz [Thu, 27 Oct 2011 20:40:16 +0000 (20:40 +0000)]
Fix crypt_get_volume_key_size() for plain device.

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

12 years agoVersion 1.4.0.
Milan Broz [Wed, 26 Oct 2011 17:57:58 +0000 (17:57 +0000)]
Version 1.4.0.

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

12 years agoSilent some extra gcc warnings in tests.
Milan Broz [Wed, 26 Oct 2011 13:19:37 +0000 (13:19 +0000)]
Silent some extra gcc warnings in tests.

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

12 years agoFix isLuks message (should appear only in verbose mode).
Milan Broz [Tue, 25 Oct 2011 19:09:44 +0000 (19:09 +0000)]
Fix isLuks message (should appear only in verbose mode).

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

12 years agoUpdate nl.po.
Milan Broz [Tue, 25 Oct 2011 17:47:24 +0000 (17:47 +0000)]
Update nl.po.

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

12 years agoUpdate de.po.
Milan Broz [Mon, 17 Oct 2011 22:16:54 +0000 (22:16 +0000)]
Update de.po.

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

12 years agofix typo in german translation
Jonas Meurer [Mon, 17 Oct 2011 15:31:18 +0000 (15:31 +0000)]
fix typo in german translation

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

12 years agoUpdate on disk format to 1.2.1.
Milan Broz [Sun, 16 Oct 2011 13:32:13 +0000 (13:32 +0000)]
Update on disk format to 1.2.1.

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

12 years agoUpdate po files.
Milan Broz [Sat, 15 Oct 2011 20:28:04 +0000 (20:28 +0000)]
Update po files.

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

12 years agoRemoves obsolete valgrind suppression (Thanks to okozina)
Milan Broz [Sat, 15 Oct 2011 20:27:58 +0000 (20:27 +0000)]
Removes obsolete valgrind suppression (Thanks to okozina)

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

12 years agoUse system wide libcryptsetup in examples.
Milan Broz [Sat, 15 Oct 2011 20:27:51 +0000 (20:27 +0000)]
Use system wide libcryptsetup in examples.

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

12 years agoReencode Changelog to UTF8.
Milan Broz [Mon, 10 Oct 2011 20:01:51 +0000 (20:01 +0000)]
Reencode Changelog to UTF8.

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

12 years agoFix flag description comment.
Milan Broz [Mon, 10 Oct 2011 18:09:26 +0000 (18:09 +0000)]
Fix flag description comment.

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

12 years agoAdd 1.4.0 release notes
Milan Broz [Mon, 10 Oct 2011 17:38:55 +0000 (17:38 +0000)]
Add 1.4.0 release notes

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

12 years agoPrint warning if detached header path is unusable.
Milan Broz [Mon, 10 Oct 2011 17:38:40 +0000 (17:38 +0000)]
Print warning if detached header path is unusable.

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

12 years agoRevert get_last_error change for test-api (crypt_init should test for error message).
Milan Broz [Sun, 9 Oct 2011 22:10:43 +0000 (22:10 +0000)]
Revert get_last_error change for test-api (crypt_init should test for error message).

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

12 years agoPrepare 1.4.0-rc1 (some minor fixes still needed).
Milan Broz [Sun, 9 Oct 2011 21:20:01 +0000 (21:20 +0000)]
Prepare 1.4.0-rc1 (some minor fixes still needed).

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

12 years agoFix makefile for examples.
Milan Broz [Sun, 9 Oct 2011 21:11:42 +0000 (21:11 +0000)]
Fix makefile for examples.

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

12 years agoAdd license to example files (LGPL).
Milan Broz [Sun, 9 Oct 2011 21:05:20 +0000 (21:05 +0000)]
Add license to example files (LGPL).

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

12 years agoRewrite examples to more simple format.
Milan Broz [Sun, 9 Oct 2011 20:58:10 +0000 (20:58 +0000)]
Rewrite examples to more simple format.

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

12 years agoAdd simple makefile for examples.
Milan Broz [Sun, 9 Oct 2011 20:58:01 +0000 (20:58 +0000)]
Add simple makefile for examples.

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

12 years agoAdd LUKS on-disk format docs, update TODO.
Milan Broz [Sun, 9 Oct 2011 18:25:41 +0000 (18:25 +0000)]
Add LUKS on-disk format docs, update TODO.

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

12 years agoFix some complier warnings.
Milan Broz [Sun, 9 Oct 2011 15:47:31 +0000 (15:47 +0000)]
Fix some complier warnings.

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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