platform/upstream/cryptsetup.git
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

13 years agoLock memory also in luksDump command.
Milan Broz [Tue, 22 Mar 2011 12:22:32 +0000 (12:22 +0000)]
Lock memory also in luksDump command.

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

13 years agoCheck for plain64 IV support in DM backend.
Milan Broz [Tue, 22 Mar 2011 08:51:00 +0000 (08:51 +0000)]
Check for plain64 IV support in DM backend.

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

13 years agoFix offset option for loopaesOpen.
Milan Broz [Mon, 21 Mar 2011 17:48:30 +0000 (17:48 +0000)]
Fix offset option for loopaesOpen.

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

13 years agoUse plain64 IV in loopAES v1 mode.
Milan Broz [Sat, 19 Mar 2011 00:17:22 +0000 (00:17 +0000)]
Use plain64 IV in loopAES v1 mode.

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

13 years agoRewrite key input handling, add limits.
Milan Broz [Sat, 19 Mar 2011 00:17:10 +0000 (00:17 +0000)]
Rewrite key input handling, add limits.

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

13 years agoWrap long lines in man page and tidy line breaks.
Milan Broz [Sat, 19 Mar 2011 00:17:01 +0000 (00:17 +0000)]
Wrap long lines in man page and tidy line breaks.

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

13 years agoadded explanation about the difference between plain and LUKS
Arno Wagner [Thu, 17 Mar 2011 04:46:45 +0000 (04:46 +0000)]
added explanation about the difference between plain and LUKS

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

13 years agoIncrease maximum loopAES keyfile size.
Milan Broz [Tue, 15 Mar 2011 11:11:57 +0000 (11:11 +0000)]
Increase maximum loopAES keyfile size.

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

13 years agoMispelling fixes.
Milan Broz [Mon, 14 Mar 2011 18:12:50 +0000 (18:12 +0000)]
Mispelling fixes.

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

13 years agoVersion 1.3.0-rc1.
Milan Broz [Mon, 14 Mar 2011 16:45:13 +0000 (16:45 +0000)]
Version 1.3.0-rc1.

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

13 years agoAdd 1.3.0 Release Notes.
Milan Broz [Mon, 14 Mar 2011 16:45:05 +0000 (16:45 +0000)]
Add 1.3.0 Release Notes.

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

13 years agoFix some minor compilation problems in crypto backends.
Milan Broz [Mon, 14 Mar 2011 16:44:56 +0000 (16:44 +0000)]
Fix some minor compilation problems in crypto backends.

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

13 years agoFix comment.
Milan Broz [Mon, 14 Mar 2011 14:22:56 +0000 (14:22 +0000)]
Fix comment.

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

13 years agoSpecify copyright holders in source files.
Milan Broz [Mon, 14 Mar 2011 14:17:38 +0000 (14:17 +0000)]
Specify copyright holders in source files.
Add README notes.

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

13 years agoAdd defaults to --help output.
Milan Broz [Mon, 14 Mar 2011 13:41:00 +0000 (13:41 +0000)]
Add defaults to --help output.

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

13 years agoIncrease library version (loopaes addition), still backawrd compatible.
Milan Broz [Mon, 14 Mar 2011 12:11:01 +0000 (12:11 +0000)]
Increase library version (loopaes addition), still backawrd compatible.

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

13 years agoFix loopaes open parameters.
Milan Broz [Mon, 14 Mar 2011 00:07:39 +0000 (00:07 +0000)]
Fix loopaes open parameters.

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

13 years agoPrefer sysfs when reading backing file.
Milan Broz [Sun, 13 Mar 2011 23:51:33 +0000 (23:51 +0000)]
Prefer sysfs when reading backing file.

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

13 years agoDocument loopback device use.
Milan Broz [Sun, 13 Mar 2011 23:51:27 +0000 (23:51 +0000)]
Document loopback device use.

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

13 years agoBe more paranoid and wipe even intermediate AF keys.
Milan Broz [Sun, 13 Mar 2011 23:51:21 +0000 (23:51 +0000)]
Be more paranoid and wipe even intermediate AF keys.

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

13 years agoDo not ignore errors in crypto backend (LUKS PBKDF2).
Milan Broz [Sun, 13 Mar 2011 23:51:14 +0000 (23:51 +0000)]
Do not ignore errors in crypto backend (LUKS PBKDF2).

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

13 years agoDo not ignore errors in crypto backend (LUKS AF).
Milan Broz [Sun, 13 Mar 2011 23:51:07 +0000 (23:51 +0000)]
Do not ignore errors in crypto backend (LUKS AF).

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

13 years agoDo not ignore errors in crypto backend (loopaes mode).
Milan Broz [Sun, 13 Mar 2011 23:50:57 +0000 (23:50 +0000)]
Do not ignore errors in crypto backend (loopaes mode).

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

13 years agoClean up plain password hashing, do not ignore error in crypto backend.
Milan Broz [Sun, 13 Mar 2011 23:50:49 +0000 (23:50 +0000)]
Clean up plain password hashing, do not ignore error in crypto backend.
(New backend can fail there).

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

13 years agoAdd luksChangeKey command.
Milan Broz [Sun, 13 Mar 2011 18:06:15 +0000 (18:06 +0000)]
Add luksChangeKey command.

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

13 years agoRemove not needed header.
Milan Broz [Sun, 13 Mar 2011 18:06:07 +0000 (18:06 +0000)]
Remove not needed header.

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

13 years agoUse loop functions even in api test.
Milan Broz [Sat, 12 Mar 2011 22:29:14 +0000 (22:29 +0000)]
Use loop functions even in api test.

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

13 years agoProper handle old systems.
Milan Broz [Sat, 12 Mar 2011 21:31:41 +0000 (21:31 +0000)]
Proper handle old systems.

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

13 years agoRequire loop autoclear support.
Milan Broz [Sat, 12 Mar 2011 21:05:47 +0000 (21:05 +0000)]
Require loop autoclear support.

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

13 years agoAdd backing device info into status.
Milan Broz [Sat, 12 Mar 2011 20:23:25 +0000 (20:23 +0000)]
Add backing device info into status.

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

13 years agoSeparate loop handling from internal code.
Milan Broz [Sat, 12 Mar 2011 20:23:16 +0000 (20:23 +0000)]
Separate loop handling from internal code.

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

13 years agoAdd support for automatic loop device use (image infile etc).
Milan Broz [Fri, 11 Mar 2011 19:04:37 +0000 (19:04 +0000)]
Add support for automatic loop device use (image infile etc).

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

13 years agoUse 1.3.0-svn version for devel snapshots.
Milan Broz [Thu, 10 Mar 2011 22:22:27 +0000 (22:22 +0000)]
Use 1.3.0-svn version for devel snapshots.

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

13 years agoAllow tests to work with different default cipher/mode.
Milan Broz [Thu, 10 Mar 2011 22:12:03 +0000 (22:12 +0000)]
Allow tests to work with different default cipher/mode.

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

13 years agoAvoid using "-" in tests, some old systems has bug in getopt.
Milan Broz [Thu, 10 Mar 2011 21:16:51 +0000 (21:16 +0000)]
Avoid using "-" in tests, some old systems has bug in getopt.

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

13 years agoFix error output redirection in tests.
Milan Broz [Thu, 10 Mar 2011 21:01:49 +0000 (21:01 +0000)]
Fix error output redirection in tests.

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

13 years agoAllocate free loop devices instead of using hardcoded.
Milan Broz [Thu, 10 Mar 2011 20:18:40 +0000 (20:18 +0000)]
Allocate free loop devices instead of using hardcoded.

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

13 years agoAdd simple Loop-AES compatibility check.
Milan Broz [Thu, 10 Mar 2011 17:16:03 +0000 (17:16 +0000)]
Add simple Loop-AES compatibility check.

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

13 years agoWorkaround LMK capability check if dm-crypt module not yet loaded.
Milan Broz [Thu, 10 Mar 2011 17:15:55 +0000 (17:15 +0000)]
Workaround LMK capability check if dm-crypt module not yet loaded.

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

13 years agoBetter detects dm-ioctl secure flag using version before use.
Milan Broz [Sat, 5 Mar 2011 21:59:21 +0000 (21:59 +0000)]
Better detects dm-ioctl secure flag using version before use.

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

13 years agoUse secure data bit for dm-ioctl if supported.
Milan Broz [Sat, 5 Mar 2011 20:47:21 +0000 (20:47 +0000)]
Use secure data bit for dm-ioctl if supported.

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

13 years agoAdd ReleaseNotes texts into distribution.
Milan Broz [Sat, 5 Mar 2011 20:33:25 +0000 (20:33 +0000)]
Add ReleaseNotes texts into distribution.

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

13 years agoFix hmac ready test check.
Milan Broz [Sat, 5 Mar 2011 20:33:19 +0000 (20:33 +0000)]
Fix hmac ready test check.

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

13 years agoAdd exception allowing maintainers to distribute binary cryptsetup
Milan Broz [Sat, 5 Mar 2011 20:33:12 +0000 (20:33 +0000)]
Add exception allowing maintainers to distribute binary cryptsetup
linked to OpenSSL library.
(Agreed by all copyright holders.)

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

13 years agoadded mailing list archive link
Arno Wagner [Tue, 1 Feb 2011 11:50:27 +0000 (11:50 +0000)]
added mailing list archive link

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

13 years agominor updates
Arno Wagner [Tue, 1 Feb 2011 09:17:43 +0000 (09:17 +0000)]
minor updates

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

13 years agoFix luksAddKey return code if master key is used.
Milan Broz [Mon, 31 Jan 2011 23:10:32 +0000 (23:10 +0000)]
Fix luksAddKey return code if master key is used.

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

13 years agoFix mapping removal if device disappeared but node still exists.
Milan Broz [Sat, 29 Jan 2011 15:55:27 +0000 (15:55 +0000)]
Fix mapping removal if device disappeared but node still exists.

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

13 years agoFix po files.
Milan Broz [Tue, 25 Jan 2011 19:31:43 +0000 (19:31 +0000)]
Fix po files.

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

13 years agoAdd loop-AES compatible handling code.
Milan Broz [Tue, 25 Jan 2011 18:48:56 +0000 (18:48 +0000)]
Add loop-AES compatible handling code.

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

13 years agoDetect # of keys from cipher string.
Milan Broz [Tue, 25 Jan 2011 18:48:48 +0000 (18:48 +0000)]
Detect # of keys from cipher string.
Fix status output string.

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

13 years agoAdd dm flags for query for features.
Milan Broz [Tue, 25 Jan 2011 18:48:41 +0000 (18:48 +0000)]
Add dm flags for query for features.
Move adjust device helper to utils.
Fix locking memory message.

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

13 years agoAdd context to crypto backend init (so it can print errors to callback).
Milan Broz [Sun, 16 Jan 2011 10:40:57 +0000 (10:40 +0000)]
Add context to crypto backend init (so it can print errors to callback).

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

13 years agoPrevent to initialise backends twice.
Milan Broz [Sun, 16 Jan 2011 10:38:55 +0000 (10:38 +0000)]
Prevent to initialise backends twice.

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

13 years agoClean up code after crypto backend change.
Milan Broz [Sun, 16 Jan 2011 10:38:47 +0000 (10:38 +0000)]
Clean up code after crypto backend change.

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

13 years agoDocument password callback.
Milan Broz [Wed, 5 Jan 2011 16:59:42 +0000 (16:59 +0000)]
Document password callback.

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

13 years agoFix static build (--disable-static-cryptsetup now works properly).
Milan Broz [Wed, 5 Jan 2011 13:36:55 +0000 (13:36 +0000)]
Fix static build (--disable-static-cryptsetup now works properly).
http://code.google.com/p/cryptsetup/issues/detail?id=91

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

13 years agoFix crypt_backend_flags prototype.
Milan Broz [Fri, 31 Dec 2010 14:34:01 +0000 (14:34 +0000)]
Fix crypt_backend_flags prototype.
Fix some configure messages.

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

13 years agoFix tests to work with all crypto backends.
Milan Broz [Fri, 31 Dec 2010 14:33:53 +0000 (14:33 +0000)]
Fix tests to work with all crypto backends.

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

13 years agoSwitch to new crypto backend interface.
Milan Broz [Fri, 31 Dec 2010 14:33:43 +0000 (14:33 +0000)]
Switch to new crypto backend interface.

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

13 years agoAdd skeleton and implementation of various crypto backends
Milan Broz [Fri, 31 Dec 2010 14:33:33 +0000 (14:33 +0000)]
Add skeleton and implementation of various crypto backends
(gcrypt, OpenSSL, NSS and kernel crypto API supported for now).

There backends will be used for LUKS and plain passphrase hashing.

(Not yet used without following patches).

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

13 years agoVersion 1.2.0.
Milan Broz [Mon, 20 Dec 2010 11:36:39 +0000 (11:36 +0000)]
Version 1.2.0.

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

13 years agoAdd settle to test scripts (needed only for old systems).
Milan Broz [Sun, 19 Dec 2010 23:46:10 +0000 (23:46 +0000)]
Add settle to test scripts (needed only for old systems).

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

13 years agoAdd simple checksum test.
Milan Broz [Sun, 19 Dec 2010 21:17:36 +0000 (21:17 +0000)]
Add simple checksum test.

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

13 years agoAdd password hash test for create command.
Milan Broz [Fri, 10 Dec 2010 15:36:41 +0000 (15:36 +0000)]
Add password hash test for create command.

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

13 years agoFix previous commit (for now).
Milan Broz [Thu, 9 Dec 2010 18:25:31 +0000 (18:25 +0000)]
Fix previous commit (for now).

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

13 years agoFix create command to properly handle keyfile size.
Milan Broz [Thu, 9 Dec 2010 17:58:50 +0000 (17:58 +0000)]
Fix create command to properly handle keyfile size.

- for keyfile reset hash, it make no sense (see man page)
- use activate_by_keyfile to make code more readable
(it still does the stem thing)

- if keyfile specified, read only key and do not do exhausted
read (regression from 1.1.3)

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

13 years agomore formatting fixes
Arno Wagner [Sat, 4 Dec 2010 03:02:29 +0000 (03:02 +0000)]
more formatting fixes

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