platform/upstream/cryptsetup.git
12 years agoFix TODO.
Milan Broz [Fri, 9 Mar 2012 19:22:13 +0000 (20:22 +0100)]
Fix TODO.

12 years agoAdd some LUKS header "invalid keyslot" repair code, not enabled for now.
Milan Broz [Wed, 7 Mar 2012 13:10:39 +0000 (14:10 +0100)]
Add some LUKS header "invalid keyslot" repair code, not enabled for now.

12 years agoMerge branch 'master' of https://code.google.com/p/cryptsetup
Milan Broz [Sat, 3 Mar 2012 17:49:20 +0000 (18:49 +0100)]
Merge branch 'master' of https://code.google.com/p/cryptsetup

12 years agoFix Python extension build (thanks to sven.s.jonsson)
Milan Broz [Sat, 3 Mar 2012 17:47:33 +0000 (18:47 +0100)]
Fix Python extension build (thanks to sven.s.jonsson)

12 years agosynced with wiki
Debian User [Thu, 23 Feb 2012 00:38:40 +0000 (01:38 +0100)]
synced with wiki

12 years agosynced to Wiki
Debian User [Thu, 23 Feb 2012 00:25:52 +0000 (01:25 +0100)]
synced to Wiki

12 years agoMerge branch 'master' of https://code.google.com/p/cryptsetup
Debian User [Tue, 21 Feb 2012 14:55:23 +0000 (15:55 +0100)]
Merge branch 'master' of https://code.google.com/p/cryptsetup

12 years agoupdated to match web
Debian User [Tue, 21 Feb 2012 14:54:33 +0000 (15:54 +0100)]
updated to match web

12 years agoTODO / LANG issue.
Milan Broz [Tue, 14 Feb 2012 11:19:00 +0000 (12:19 +0100)]
TODO / LANG issue.

12 years agoAlso test volume key mismatch for luksOpen.
Milan Broz [Sat, 11 Feb 2012 10:40:17 +0000 (11:40 +0100)]
Also test volume key mismatch for luksOpen.

12 years agoAdd support for --master-key-file to luksOpen.
Milan Broz [Sat, 11 Feb 2012 10:24:58 +0000 (11:24 +0100)]
Add support for --master-key-file to luksOpen.

12 years agoFix svn/git source checkout in README.
Milan Broz [Wed, 8 Feb 2012 11:22:53 +0000 (12:22 +0100)]
Fix svn/git source checkout in README.

12 years agoTest git commit.
Milan Broz [Tue, 7 Feb 2012 17:55:28 +0000 (18:55 +0100)]
Test git commit.

12 years agominor fixes, global spellcheck
Arno Wagner [Tue, 7 Feb 2012 10:26:02 +0000 (10:26 +0000)]
minor fixes, global spellcheck

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

12 years agofixed some typos
Arno Wagner [Sun, 5 Feb 2012 09:06:25 +0000 (09:06 +0000)]
fixed some typos

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

12 years agofixed some typos.
Arno Wagner [Fri, 20 Jan 2012 12:58:28 +0000 (12:58 +0000)]
fixed some typos.

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

12 years agosunced txt version
Arno Wagner [Fri, 20 Jan 2012 12:52:25 +0000 (12:52 +0000)]
sunced txt version

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

12 years agoadded blkid as alternative to cryptsetup isLuks
Arno Wagner [Sun, 15 Jan 2012 14:22:42 +0000 (14:22 +0000)]
added blkid as alternative to cryptsetup isLuks

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

12 years agotext version synced
Arno Wagner [Sat, 14 Jan 2012 23:01:29 +0000 (23:01 +0000)]
text version synced

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

12 years agoFix use of empty keyfile (Issue 120).
Milan Broz [Thu, 12 Jan 2012 22:13:23 +0000 (22:13 +0000)]
Fix use of empty keyfile (Issue 120).

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

12 years agoupdated ASCII version also
Arno Wagner [Sun, 8 Jan 2012 12:14:47 +0000 (12:14 +0000)]
updated ASCII version also

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

12 years agoremoved comment about RC4. Really no need to make stream ciphers
Arno Wagner [Mon, 19 Dec 2011 04:11:36 +0000 (04:11 +0000)]
removed comment about RC4. Really no need to make stream ciphers
work with dm-crypt/luks.

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

12 years agoupdated txt version to match web
Arno Wagner [Mon, 19 Dec 2011 04:08:50 +0000 (04:08 +0000)]
updated txt version to match web

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

12 years agoFix discards option name.
Milan Broz [Mon, 5 Dec 2011 18:43:47 +0000 (18:43 +0000)]
Fix discards option name.

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

12 years agoupdated plan text version
Arno Wagner [Fri, 2 Dec 2011 08:36:25 +0000 (08:36 +0000)]
updated plan text version

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

13 years agoFix error message for luksClose and detached LUKS header.
Milan Broz [Sun, 13 Nov 2011 22:12:51 +0000 (22:12 +0000)]
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

13 years agoFix typo.
Milan Broz [Wed, 9 Nov 2011 12:23:42 +0000 (12:23 +0000)]
Fix typo.

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

13 years agoAdd 1.4.1 Release Notes.
Milan Broz [Wed, 9 Nov 2011 12:22:25 +0000 (12:22 +0000)]
Add 1.4.1 Release Notes.

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

13 years agoVersion 1.4.1.
Milan Broz [Wed, 9 Nov 2011 11:58:55 +0000 (11:58 +0000)]
Version 1.4.1.

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

13 years agoFix cryptsetup status output if parameter is device path.
Milan Broz [Tue, 8 Nov 2011 21:29:44 +0000 (21:29 +0000)]
Fix cryptsetup status output if parameter is device path.

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

13 years agoAdd some constants to Python binding.
Milan Broz [Tue, 8 Nov 2011 09:15:10 +0000 (09:15 +0000)]
Add some constants to Python binding.

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

13 years agoSilent gcc strict aliasing warning.
Milan Broz [Mon, 7 Nov 2011 19:22:12 +0000 (19:22 +0000)]
Silent gcc strict aliasing warning.

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

13 years agoAdd COPYING.LGPL file.
Milan Broz [Mon, 7 Nov 2011 17:14:43 +0000 (17:14 +0000)]
Add COPYING.LGPL file.

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

13 years agoFix crypt_load usage in Python binding.
Milan Broz [Mon, 7 Nov 2011 13:05:16 +0000 (13:05 +0000)]
Fix crypt_load usage in Python binding.

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

13 years agoFix void / None Python bindings.
Milan Broz [Mon, 7 Nov 2011 12:22:33 +0000 (12:22 +0000)]
Fix void / None Python bindings.

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

13 years agoFix typo.
Milan Broz [Sun, 6 Nov 2011 22:49:25 +0000 (22:49 +0000)]
Fix typo.

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

13 years agoFix typo in iteration time api call.
Milan Broz [Sun, 6 Nov 2011 22:44:52 +0000 (22:44 +0000)]
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

13 years agoAdd debugLevel and set iteration time python binding.
Milan Broz [Sun, 6 Nov 2011 22:44:44 +0000 (22:44 +0000)]
Add debugLevel and set iteration time python binding.

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

13 years agoAdd tests for former python API.
Milan Broz [Sun, 6 Nov 2011 22:44:37 +0000 (22:44 +0000)]
Add tests for former python API.

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

13 years agoMerge pycryptsetup (Python libcryptsetup bindings).
Milan Broz [Fri, 4 Nov 2011 23:38:47 +0000 (23:38 +0000)]
Merge pycryptsetup (Python libcryptsetup bindings).

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

13 years agoFix FSF address in license text according to
Milan Broz [Wed, 2 Nov 2011 22:35:21 +0000 (22:35 +0000)]
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

13 years agosynchronized to web version
Arno Wagner [Tue, 1 Nov 2011 04:48:34 +0000 (04:48 +0000)]
synchronized to web version

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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