platform/upstream/cryptsetup.git
12 years agoAdd context to DM helpers.
Milan Broz [Tue, 14 Aug 2012 14:25:21 +0000 (16:25 +0200)]
Add context to DM helpers.

(To be used later.)

12 years agoModprobe kernel modules early in api-test.
Milan Broz [Tue, 14 Aug 2012 13:54:31 +0000 (15:54 +0200)]
Modprobe kernel modules early in api-test.

12 years agoUse common utils_tools.c for all tools.
Milan Broz [Mon, 13 Aug 2012 16:31:26 +0000 (18:31 +0200)]
Use common utils_tools.c for all tools.

Unify tool environment and deduplicate code.

12 years agoRemove debug line.
Milan Broz [Mon, 13 Aug 2012 15:16:37 +0000 (17:16 +0200)]
Remove debug line.

12 years agoPrint better error message if device is read-only etc.
Milan Broz [Mon, 13 Aug 2012 14:54:41 +0000 (16:54 +0200)]
Print better error message if device is read-only etc.

12 years agoCreate hash image if doesn't exist in veritysetup format.
Milan Broz [Sun, 12 Aug 2012 20:49:42 +0000 (22:49 +0200)]
Create hash image if doesn't exist in veritysetup format.

12 years agoNew device access backend.
Milan Broz [Sun, 12 Aug 2012 19:56:09 +0000 (21:56 +0200)]
New device access backend.

Allocate loop device late (only when real block device needed).
Rework underlying device/file access functions.
Move all device (and ioctl) access to utils_device.c.

Allows using file where appropriate without allocation loop device.

12 years agoFix dracut example.
Milan Broz [Fri, 3 Aug 2012 13:27:59 +0000 (15:27 +0200)]
Fix dracut example.

12 years agoupdate to current WIKI version
Arno Wagner [Thu, 2 Aug 2012 13:58:36 +0000 (15:58 +0200)]
update to current WIKI version

12 years agoFix some issues in dict example.
Milan Broz [Thu, 2 Aug 2012 10:51:28 +0000 (12:51 +0200)]
Fix some issues in dict example.

12 years agoBe sure verity module is loaded in test.
Milan Broz [Mon, 23 Jul 2012 13:00:28 +0000 (15:00 +0200)]
Be sure verity module is loaded in test.

12 years agoBetter define comment lines for for dict example.
Milan Broz [Fri, 20 Jul 2012 13:36:16 +0000 (15:36 +0200)]
Better define comment lines for for dict example.

12 years agoClear dict example a little bit.
Milan Broz [Fri, 20 Jul 2012 12:51:51 +0000 (14:51 +0200)]
Clear dict example a little bit.

12 years agoAdd example of dictionary search.
Milan Broz [Thu, 19 Jul 2012 22:15:20 +0000 (00:15 +0200)]
Add example of dictionary search.

12 years agoUse fixed dir (old dracut lib...)
Milan Broz [Thu, 12 Jul 2012 19:11:33 +0000 (21:11 +0200)]
Use fixed dir (old dracut lib...)

12 years agoAdd key option to dracut example.
Milan Broz [Thu, 12 Jul 2012 17:21:22 +0000 (19:21 +0200)]
Add key option to dracut example.

12 years agoSkip multikey if not supported (e.g. FIPS mode - md5 for IV not available).
Milan Broz [Thu, 12 Jul 2012 10:53:26 +0000 (12:53 +0200)]
Skip multikey if not supported (e.g. FIPS mode - md5 for IV not available).

12 years agoVersion 1.5.0.
Milan Broz [Tue, 10 Jul 2012 18:20:27 +0000 (20:20 +0200)]
Version 1.5.0.

12 years agoUpdate example files for new dracut.
Milan Broz [Tue, 10 Jul 2012 17:59:44 +0000 (19:59 +0200)]
Update example files for new dracut.

12 years agoUpdate release notes.
Milan Broz [Tue, 10 Jul 2012 11:09:35 +0000 (13:09 +0200)]
Update release notes.

12 years agoVersion 1.5.0.
Milan Broz [Tue, 10 Jul 2012 10:54:22 +0000 (12:54 +0200)]
Version 1.5.0.

12 years agoAdd example of dracut module for reencryption.
Milan Broz [Tue, 10 Jul 2012 10:53:32 +0000 (12:53 +0200)]
Add example of dracut module for reencryption.

12 years agoAdd module load to test.
Milan Broz [Tue, 10 Jul 2012 08:15:40 +0000 (10:15 +0200)]
Add module load to test.

12 years agoFix library name for FIPS check.
Milan Broz [Mon, 9 Jul 2012 17:30:25 +0000 (19:30 +0200)]
Fix library name for FIPS check.

12 years agoAdd link to upstream tracker.
Milan Broz [Mon, 9 Jul 2012 17:04:39 +0000 (19:04 +0200)]
Add link to upstream tracker.

12 years agoFix libcryptsetup.h docs for verity type.
Milan Broz [Mon, 9 Jul 2012 16:47:05 +0000 (18:47 +0200)]
Fix libcryptsetup.h docs for verity type.

12 years agoAdd some verity api test.
Milan Broz [Mon, 9 Jul 2012 16:09:51 +0000 (18:09 +0200)]
Add some verity api test.
Fix set_data_device bug it uncovered.
Fix api-test for nonFIPS hash.

12 years agoRemove utils_debug from pot.
Milan Broz [Sun, 8 Jul 2012 18:29:30 +0000 (20:29 +0200)]
Remove utils_debug from pot.

12 years agoFix password length unit in configure.
Milan Broz [Thu, 28 Jun 2012 08:16:49 +0000 (10:16 +0200)]
Fix password length unit in configure.

12 years agoUse resume instead of restart.
Milan Broz [Wed, 27 Jun 2012 19:28:11 +0000 (21:28 +0200)]
Use resume instead of restart.

12 years agoPass help text to popt already translated
Petr Písař [Tue, 26 Jun 2012 18:41:16 +0000 (20:41 +0200)]
Pass help text to popt already translated

popt does not process the text registered by poptSetOtherOptionHelp()
through gettext on its own. Application must do it.

12 years agoUpdate po files.
Milan Broz [Tue, 26 Jun 2012 12:33:08 +0000 (14:33 +0200)]
Update po files.

12 years agoRemove open device debugging feature (no longer needed).
Milan Broz [Tue, 26 Jun 2012 10:55:14 +0000 (12:55 +0200)]
Remove open device debugging feature (no longer needed).

12 years agoSwitch to use unit suffix for --reduce-device-size option.
Milan Broz [Mon, 25 Jun 2012 14:06:43 +0000 (16:06 +0200)]
Switch to use unit suffix for --reduce-device-size option.

12 years agoAdd --device-size option for reencryption tool.
Milan Broz [Mon, 25 Jun 2012 13:34:11 +0000 (15:34 +0200)]
Add --device-size option for reencryption tool.

12 years agoVersion 1.5.0-rc2.
Milan Broz [Wed, 20 Jun 2012 09:29:46 +0000 (11:29 +0200)]
Version 1.5.0-rc2.

12 years agoFix verity test.
Milan Broz [Tue, 19 Jun 2012 16:40:38 +0000 (18:40 +0200)]
Fix verity test.

(Writing just one byte from urandom means, that there is still
high probability the byte will be the same and it will cause
no data corruption :-)

12 years agoRename without_activation to test_passphrase.
Milan Broz [Tue, 19 Jun 2012 15:37:31 +0000 (17:37 +0200)]
Rename without_activation to test_passphrase.

12 years agoAdd directio to reenc test.
Milan Broz [Tue, 19 Jun 2012 14:04:20 +0000 (16:04 +0200)]
Add directio to reenc test.

12 years agoRemove old dm-verity superblock handling.
Milan Broz [Tue, 19 Jun 2012 13:57:05 +0000 (15:57 +0200)]
Remove old dm-verity superblock handling.

12 years agoRemove some redundant brackets.
Milan Broz [Tue, 19 Jun 2012 13:49:56 +0000 (15:49 +0200)]
Remove some redundant brackets.

12 years agoAdd --without-activation option for luksOpen (check passphrase only).
Milan Broz [Tue, 19 Jun 2012 13:34:36 +0000 (15:34 +0200)]
Add --without-activation option for luksOpen (check passphrase only).

12 years agoFix luks-header-from-active to not require header on device and add UUID setting.
Milan Broz [Tue, 19 Jun 2012 12:43:10 +0000 (14:43 +0200)]
Fix luks-header-from-active to not require header on device and add UUID setting.

12 years agoRemove dubious compilation warning.
Milan Broz [Tue, 19 Jun 2012 10:49:16 +0000 (12:49 +0200)]
Remove dubious compilation warning.

12 years agoFix man page makefile.
Milan Broz [Tue, 19 Jun 2012 08:33:48 +0000 (10:33 +0200)]
Fix man page makefile.

12 years agoUpdate po files.
Milan Broz [Tue, 19 Jun 2012 07:56:55 +0000 (09:56 +0200)]
Update po files.

12 years agoRemove redundant condition in overflow test.
Milan Broz [Mon, 18 Jun 2012 15:12:41 +0000 (17:12 +0200)]
Remove redundant condition  in overflow test.

12 years agoFix hex_to_bytes and add it to common utils.
Milan Broz [Mon, 18 Jun 2012 15:09:48 +0000 (17:09 +0200)]
Fix hex_to_bytes and add it to common utils.

12 years agoIntroduce cryptsetup-reencrypt - experimental offline LUKS reencryption tool.
Milan Broz [Mon, 18 Jun 2012 14:06:14 +0000 (16:06 +0200)]
Introduce cryptsetup-reencrypt - experimental offline LUKS reencryption tool.

12 years agoAdd simple examples to man page.
Milan Broz [Mon, 18 Jun 2012 13:52:36 +0000 (15:52 +0200)]
Add simple examples to man page.

12 years agoFix malloc of 0 size.
Milan Broz [Mon, 18 Jun 2012 13:03:47 +0000 (15:03 +0200)]
Fix malloc of 0 size.

12 years agoIf in progress, just use normal path (check passphrase).
Milan Broz [Mon, 18 Jun 2012 12:52:35 +0000 (14:52 +0200)]
If in progress, just use normal path (check passphrase).

12 years agoAdd ability to encrypt plain device.
Milan Broz [Mon, 18 Jun 2012 12:29:22 +0000 (14:29 +0200)]
Add ability to encrypt plain device.

12 years agoAdd some simple reenc test.
Milan Broz [Sun, 17 Jun 2012 19:59:29 +0000 (21:59 +0200)]
Add some simple reenc test.

12 years agoSanity check for some options.
Milan Broz [Sun, 17 Jun 2012 17:17:43 +0000 (19:17 +0200)]
Sanity check for some options.

12 years agoAdd possibility to change key size (optionally by shrinking device).
Milan Broz [Sun, 17 Jun 2012 13:09:34 +0000 (15:09 +0200)]
Add possibility to change key size (optionally by shrinking device).

12 years agoDo not touch new LUKS headers.
Milan Broz [Sun, 17 Jun 2012 10:44:53 +0000 (12:44 +0200)]
Do not touch new LUKS headers.

12 years agoRename to crypsetup-reencrypt.
Milan Broz [Sun, 17 Jun 2012 10:12:17 +0000 (12:12 +0200)]
Rename to crypsetup-reencrypt.
Add man page.
Add configure option.

12 years agoCheck device exclusively.
Milan Broz [Sun, 17 Jun 2012 00:11:41 +0000 (02:11 +0200)]
Check device exclusively.

12 years agoFix signit if reencryption not yet started.
Milan Broz [Sat, 16 Jun 2012 22:43:45 +0000 (00:43 +0200)]
Fix signit if reencryption not yet started.

12 years agoUse ETA in progress report.
Milan Broz [Sat, 16 Jun 2012 22:06:30 +0000 (00:06 +0200)]
Use ETA in progress report.

12 years agoAdd fsync option.
Milan Broz [Sat, 16 Jun 2012 19:49:45 +0000 (21:49 +0200)]
Add fsync option.

12 years agoFix directio aligned buffer.
Milan Broz [Sat, 16 Jun 2012 19:13:47 +0000 (21:13 +0200)]
Fix directio aligned buffer.

12 years agoFix directio (again).
Milan Broz [Sat, 16 Jun 2012 18:59:21 +0000 (20:59 +0200)]
Fix directio (again).

12 years agoFix some compile warnings.
Milan Broz [Sat, 16 Jun 2012 16:47:09 +0000 (18:47 +0200)]
Fix some compile warnings.

12 years agoDo not use global context.
Milan Broz [Sat, 16 Jun 2012 16:28:49 +0000 (18:28 +0200)]
Do not use global context.

12 years agoFix verbose messages.
Milan Broz [Sat, 16 Jun 2012 16:10:01 +0000 (18:10 +0200)]
Fix verbose messages.

12 years agoChange log manipulation, print log always.
Milan Broz [Sat, 16 Jun 2012 15:07:29 +0000 (17:07 +0200)]
Change log manipulation, print log always.

12 years agoProperly support more keyslots.
Milan Broz [Fri, 15 Jun 2012 23:23:42 +0000 (01:23 +0200)]
Properly support more keyslots.
If key file specified, use only one keyslot.

12 years agoRemove new file header option for now.
Milan Broz [Fri, 15 Jun 2012 13:16:49 +0000 (15:16 +0200)]
Remove new file header option for now.

12 years agoCreate smaller header device.
Milan Broz [Fri, 15 Jun 2012 13:03:09 +0000 (15:03 +0200)]
Create smaller header device.

12 years agoHandle interrupts & restart.
Milan Broz [Fri, 15 Jun 2012 11:51:16 +0000 (13:51 +0200)]
Handle interrupts & restart.

12 years agoFix backward roiutine on 32bit.
Milan Broz [Thu, 14 Jun 2012 14:13:59 +0000 (16:13 +0200)]
Fix backward roiutine on 32bit.

12 years agoPrint better progress status.
Milan Broz [Thu, 14 Jun 2012 12:58:36 +0000 (14:58 +0200)]
Print better progress status.

12 years agoAdd some simple timer.
Milan Broz [Wed, 13 Jun 2012 11:52:51 +0000 (13:52 +0200)]
Add some simple timer.
Do not use direct-io by default.

12 years agoMerge branch 'reenc' of https://code.google.com/p/cryptsetup into reenc
Milan Broz [Tue, 12 Jun 2012 16:05:00 +0000 (18:05 +0200)]
Merge branch 'reenc' of https://code.google.com/p/cryptsetup into reenc

12 years agoFix hex string conversion length.
Milan Broz [Tue, 12 Jun 2012 15:55:21 +0000 (17:55 +0200)]
Fix hex string conversion length.

12 years agoMerge branch 'reenc' of https://code.google.com/p/cryptsetup into reenc
Milan Broz [Tue, 12 Jun 2012 11:26:09 +0000 (13:26 +0200)]
Merge branch 'reenc' of https://code.google.com/p/cryptsetup into reenc

Conflicts:
src/Makefile.am

12 years agoComment out some temp code.
Milan Broz [Wed, 23 May 2012 07:50:34 +0000 (09:50 +0200)]
Comment out some temp code.

12 years agoImplement forward/backward reencryption.
Milan Broz [Sun, 20 May 2012 19:04:27 +0000 (21:04 +0200)]
Implement forward/backward reencryption.

12 years agoActivate devices privately.
Milan Broz [Wed, 2 May 2012 15:14:02 +0000 (17:14 +0200)]
Activate devices privately.

12 years agoAdd experimental LUKS offline reencryption utility.
Milan Broz [Wed, 2 May 2012 14:02:01 +0000 (16:02 +0200)]
Add experimental LUKS offline reencryption utility.

12 years agoVersion 1.5.0-rc1.
Milan Broz [Mon, 11 Jun 2012 12:56:17 +0000 (14:56 +0200)]
Version 1.5.0-rc1.

12 years agoUse block sizes in superblock in 32bit.
Milan Broz [Mon, 11 Jun 2012 11:42:53 +0000 (13:42 +0200)]
Use block sizes in superblock in 32bit.

12 years agoVerity salt size is really uint16 in sb and uint32 internally.
Milan Broz [Mon, 11 Jun 2012 11:30:41 +0000 (13:30 +0200)]
Verity salt size is really uint16 in sb and uint32 internally.

12 years agoFix inclusion of bitops.h.
Milan Broz [Mon, 11 Jun 2012 10:55:01 +0000 (12:55 +0200)]
Fix inclusion of bitops.h.

12 years agoIntroduce veritysetup for dm-verity target management.
Milan Broz [Mon, 11 Jun 2012 10:47:24 +0000 (12:47 +0200)]
Introduce veritysetup for dm-verity target management.

12 years agoMerge branch 'veritysetup'
Milan Broz [Mon, 11 Jun 2012 10:44:34 +0000 (12:44 +0200)]
Merge branch 'veritysetup'

12 years agoRename hash-start to hash-offset and switch to use bytes units.
Milan Broz [Mon, 11 Jun 2012 10:35:18 +0000 (12:35 +0200)]
Rename hash-start to hash-offset and switch to use bytes units.

12 years agoRequire only up to last keyslot area for header device (ignore data offset).
Milan Broz [Mon, 11 Jun 2012 10:20:19 +0000 (12:20 +0200)]
Require only up to last keyslot area for header device (ignore data offset).
Fix header backup and restore to work on files with large data offset.

12 years agoCheck various number limits.
Milan Broz [Sun, 10 Jun 2012 22:04:39 +0000 (00:04 +0200)]
Check various number limits.

12 years agoAvoid some clang warnings.
Milan Broz [Sun, 10 Jun 2012 17:55:43 +0000 (19:55 +0200)]
Avoid some clang warnings.

12 years agoRemove some compilation warnings.
Milan Broz [Sun, 10 Jun 2012 16:56:04 +0000 (18:56 +0200)]
Remove some compilation warnings.

12 years agoSilence sb warning for now.
Milan Broz [Sun, 10 Jun 2012 16:20:59 +0000 (18:20 +0200)]
Silence sb warning for now.

12 years agoLoop is automatically allocated in crypt_set_data_device().
Milan Broz [Sun, 10 Jun 2012 15:59:14 +0000 (17:59 +0200)]
Loop is automatically allocated in crypt_set_data_device().

12 years agoMerge branch 'master' of https://code.google.com/p/cryptsetup
Arno Wagner [Sun, 10 Jun 2012 15:59:00 +0000 (17:59 +0200)]
Merge branch 'master' of https://code.google.com/p/cryptsetup

12 years agosynced with wiki version
Arno Wagner [Sun, 10 Jun 2012 15:57:22 +0000 (17:57 +0200)]
synced with wiki version

12 years agoGet rid of backing_file in struct.
Milan Broz [Sun, 10 Jun 2012 15:19:08 +0000 (17:19 +0200)]
Get rid of backing_file in struct.

12 years agoFix man page.
Milan Broz [Sun, 10 Jun 2012 11:08:19 +0000 (13:08 +0200)]
Fix man page.

12 years agoAdd more verity debug messages.
Milan Broz [Sun, 10 Jun 2012 10:58:18 +0000 (12:58 +0200)]
Add more verity debug messages.