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

12 years agoMove defines from header.
Milan Broz [Sat, 9 Jun 2012 21:26:45 +0000 (23:26 +0200)]
Move defines from header.

12 years agoAdd verity uuid specification.
Milan Broz [Sat, 9 Jun 2012 21:20:43 +0000 (23:20 +0200)]
Add verity uuid specification.

12 years agoPrepare new superblock format.
Milan Broz [Sat, 9 Jun 2012 20:02:06 +0000 (22:02 +0200)]
Prepare new superblock format.

12 years agoEnhance status of active device.
Milan Broz [Sat, 9 Jun 2012 16:28:00 +0000 (18:28 +0200)]
Enhance status of active device.

12 years agoSupport empty salt for verity, support no superblock.
Milan Broz [Sat, 9 Jun 2012 11:12:04 +0000 (13:12 +0200)]
Support empty salt for verity, support no superblock.

12 years agoRemove redundant flags.
Milan Broz [Sat, 9 Jun 2012 09:54:10 +0000 (11:54 +0200)]
Remove redundant flags.

12 years agoFix missing lines.
Milan Broz [Fri, 8 Jun 2012 20:47:45 +0000 (22:47 +0200)]
Fix missing lines.

12 years agoAdd man page.
Milan Broz [Fri, 8 Jun 2012 20:40:57 +0000 (22:40 +0200)]
Add man page.

12 years agoAdd verity sources to translation.
Milan Broz [Fri, 8 Jun 2012 19:58:16 +0000 (21:58 +0200)]
Add verity sources to translation.

12 years agoUse action names in veritysetup (similar to cryptsetup).
Milan Broz [Fri, 8 Jun 2012 19:51:58 +0000 (21:51 +0200)]
Use action names in veritysetup (similar to cryptsetup).

12 years agoSupport init_by_name for verity.
Milan Broz [Fri, 8 Jun 2012 14:38:26 +0000 (16:38 +0200)]
Support init_by_name for verity.

12 years agoMove verity_sb definition to private file.
Milan Broz [Fri, 8 Jun 2012 08:14:04 +0000 (10:14 +0200)]
Move verity_sb definition to private file.

12 years agoUnify dm backend for crypt/verity.
Milan Broz [Fri, 8 Jun 2012 08:12:12 +0000 (10:12 +0200)]
Unify dm backend for crypt/verity.

12 years agoUse union in dm (crypt/verity) query structure.
Milan Broz [Fri, 8 Jun 2012 06:58:35 +0000 (08:58 +0200)]
Use union in dm (crypt/verity) query structure.

12 years agoUse configure for defaults.
Milan Broz [Thu, 7 Jun 2012 13:19:19 +0000 (15:19 +0200)]
Use configure for defaults.

12 years agoWarn if block exceeds page size.
Milan Broz [Thu, 7 Jun 2012 13:09:58 +0000 (15:09 +0200)]
Warn if block exceeds page size.

12 years agoFix some strings, fix sb_offset.
Milan Broz [Thu, 7 Jun 2012 12:51:42 +0000 (14:51 +0200)]
Fix some strings, fix sb_offset.

12 years agoChange int types.
Milan Broz [Thu, 7 Jun 2012 12:29:43 +0000 (14:29 +0200)]
Change int types.

12 years agoDetect dm-verity in kernel.
Milan Broz [Thu, 7 Jun 2012 10:32:06 +0000 (12:32 +0200)]
Detect dm-verity in kernel.

12 years agoRewrite veritysetup to use libcryptsetup.
Milan Broz [Wed, 6 Jun 2012 22:18:49 +0000 (00:18 +0200)]
Rewrite veritysetup to use libcryptsetup.

12 years agoAdd simple veritysetup test.
Milan Broz [Sun, 3 Jun 2012 09:14:15 +0000 (11:14 +0200)]
Add simple veritysetup test.

12 years agoIncrease devel version.
Milan Broz [Thu, 31 May 2012 13:12:24 +0000 (15:12 +0200)]
Increase devel version.

12 years agoMerge branch 'master' into veritysetup
Milan Broz [Thu, 31 May 2012 13:11:00 +0000 (15:11 +0200)]
Merge branch 'master' into veritysetup

12 years agoFix missing unistd include.
Milan Broz [Thu, 31 May 2012 08:01:30 +0000 (10:01 +0200)]
Fix missing unistd include.

12 years agoUpdate translation.
Milan Broz [Wed, 30 May 2012 19:34:46 +0000 (21:34 +0200)]
Update translation.

12 years agoFix typo.
Milan Broz [Wed, 30 May 2012 15:22:18 +0000 (17:22 +0200)]
Fix typo.

12 years agoVersion 1.4.3.
Milan Broz [Wed, 30 May 2012 15:15:26 +0000 (17:15 +0200)]
Version 1.4.3.

12 years agoAdd veritysetup.
Milan Broz [Mon, 28 May 2012 14:04:07 +0000 (16:04 +0200)]
Add veritysetup.

12 years agoBetter use _exit() on checksum fail.
Milan Broz [Mon, 28 May 2012 08:31:50 +0000 (10:31 +0200)]
Better use _exit() on checksum fail.

12 years agoInclude stddef.h in libcryptsetup.h (size_t definition).
Milan Broz [Mon, 28 May 2012 07:44:35 +0000 (09:44 +0200)]
Include stddef.h in libcryptsetup.h (size_t definition).

12 years agoFix compilation with old NSS (no GetVersion).
Milan Broz [Sun, 27 May 2012 20:35:14 +0000 (22:35 +0200)]
Fix compilation with old NSS (no GetVersion).

12 years agoFix readonly activation if underlying device is readonly (1.4.0).
Milan Broz [Sun, 27 May 2012 09:30:38 +0000 (11:30 +0200)]
Fix readonly activation if underlying device is readonly (1.4.0).

12 years agoImplement more RNG backend wrappers.
Milan Broz [Sat, 26 May 2012 23:09:40 +0000 (01:09 +0200)]
Implement more RNG backend wrappers.

12 years agoAdd version string to crypto backend.
Milan Broz [Sat, 26 May 2012 22:48:10 +0000 (00:48 +0200)]
Add version string to crypto backend.
Move fips check to libcryptsetup.
Clean up internal.h use.

12 years agoMerge branch 'master' of https://code.google.com/p/cryptsetup
Milan Broz [Sat, 26 May 2012 18:48:37 +0000 (20:48 +0200)]
Merge branch 'master' of https://code.google.com/p/cryptsetup

12 years agoUpdate translations.
Milan Broz [Sat, 26 May 2012 18:47:50 +0000 (20:47 +0200)]
Update translations.

12 years agoDo not use IV for null cipher.
Milan Broz [Sat, 26 May 2012 18:44:14 +0000 (20:44 +0200)]
Do not use IV for null cipher.

12 years agoMade warning for luksKillSlot and luksDeleteKey more clear
Arno Wagner [Thu, 24 May 2012 17:08:21 +0000 (19:08 +0200)]
Made warning for luksKillSlot and luksDeleteKey more clear

12 years agoDocument -r / --readonly properly.
Milan Broz [Wed, 23 May 2012 11:05:36 +0000 (13:05 +0200)]
Document -r / --readonly properly.
(Debian bug 674027)

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 agosynced with Wiki (typo fix)
Arno Wagner [Tue, 22 May 2012 22:06:30 +0000 (00:06 +0200)]
synced with Wiki (typo fix)

12 years agoMerge branch 'master' of https://code.google.com/p/cryptsetup
Arno Wagner [Tue, 22 May 2012 21:58:44 +0000 (23:58 +0200)]
Merge branch 'master' of https://code.google.com/p/cryptsetup

12 years agosynced with weg (typo fix)
Arno Wagner [Tue, 22 May 2012 21:58:16 +0000 (23:58 +0200)]
synced with weg (typo fix)

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 agoAdd nls.h for utils_fips.
Milan Broz [Tue, 22 May 2012 21:10:55 +0000 (23:10 +0200)]
Add nls.h for utils_fips.

12 years agoProperly handle rng error during wipe,
Milan Broz [Tue, 22 May 2012 12:55:48 +0000 (14:55 +0200)]
Properly handle rng error during wipe,
fix random wipe wrapper (not yet used anyway).

12 years agoFix clang compile warnings (error path).
Milan Broz [Tue, 22 May 2012 12:54:52 +0000 (14:54 +0200)]
Fix clang compile warnings (error path).

12 years agoTranslate FIPS messages.
Milan Broz [Tue, 22 May 2012 12:53:56 +0000 (14:53 +0200)]
Translate FIPS messages.

12 years agoImplement crypt RNG wrapper (for FIPS mode), use it for SALT and KEY RNG levels.
Milan Broz [Mon, 21 May 2012 12:32:39 +0000 (14:32 +0200)]
Implement crypt RNG wrapper (for FIPS mode), use it for SALT and KEY RNG levels.

12 years agoAdd --enable-fips for linking with fipscheck library.
Milan Broz [Sun, 20 May 2012 23:26:08 +0000 (01:26 +0200)]
Add --enable-fips for linking with fipscheck library.
Initialize binary and library selfcheck if running in FIPS mode.

(Actually available only on Fedora/Red Hat distros.)

12 years agoSplit salt from other requests in RNG backend.
Milan Broz [Sun, 20 May 2012 20:32:25 +0000 (22:32 +0200)]
Split salt from other requests in RNG backend.

12 years agoAdd --enable-fips option. Request new gcrypt if set.
Milan Broz [Sun, 20 May 2012 20:24:24 +0000 (22:24 +0200)]
Add --enable-fips option. Request new gcrypt if set.