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

12 years agoAllow empty cipher (cipher_null).
Milan Broz [Sun, 20 May 2012 19:38:23 +0000 (21:38 +0200)]
Allow empty cipher (cipher_null).

12 years agoFix disk wipe (during keyslot removal) if used on 4k hw block device.
Milan Broz [Wed, 9 May 2012 19:57:50 +0000 (21:57 +0200)]
Fix disk wipe (during keyslot removal) if used on 4k hw block device.

The "Gutmann" metod uses various offset, direct-io need
to even read device when working with buffer...

Fixes Issue 129.

12 years agorevised man-page by A. Wagner
Arno Wagner [Tue, 8 May 2012 22:49:22 +0000 (00:49 +0200)]
revised man-page by A. Wagner

12 years agoAllow "private" activation (skip some udev global rules) flag.
Milan Broz [Wed, 2 May 2012 14:51:58 +0000 (16:51 +0200)]
Allow "private" activation (skip some udev global rules) flag.

12 years agoTry to remove device even if it is busy (libdevmapper now handle retry).
Milan Broz [Wed, 2 May 2012 13:44:45 +0000 (15:44 +0200)]
Try to remove device even if it is busy (libdevmapper now handle retry).

12 years agoSwitch on retry on device remove for libdevmapper.
Milan Broz [Wed, 2 May 2012 12:17:34 +0000 (14:17 +0200)]
Switch on retry on device remove for libdevmapper.

12 years agoRelax --shared test, allow mapping even for overlapping segments.
Milan Broz [Tue, 1 May 2012 22:46:42 +0000 (00:46 +0200)]
Relax --shared test, allow mapping even for overlapping segments.
Support shared flag for LUKS devices (dangerous).

12 years agoFix loop mapping on readonly file.
Milan Broz [Tue, 1 May 2012 22:41:05 +0000 (00:41 +0200)]
Fix loop mapping on readonly file.

12 years agosynced with online version
Arno Wagner [Fri, 27 Apr 2012 12:20:59 +0000 (14:20 +0200)]
synced with online version

12 years agoMerge branch 'master' of https://code.google.com/p/cryptsetup
Arno Wagner [Tue, 24 Apr 2012 08:11:34 +0000 (10:11 +0200)]
Merge branch 'master' of https://code.google.com/p/cryptsetup

12 years agoSybnced to web version
Arno Wagner [Tue, 24 Apr 2012 08:10:02 +0000 (10:10 +0200)]
Sybnced to web version

12 years agoFix typo
Yuri Chornoivan [Sun, 22 Apr 2012 08:13:10 +0000 (11:13 +0300)]
Fix typo

12 years agosynced with wiki version
Arno Wagner [Sun, 22 Apr 2012 18:17:05 +0000 (20:17 +0200)]
synced with wiki version

12 years agoFix requested_type description in header.
Milan Broz [Thu, 19 Apr 2012 07:47:58 +0000 (09:47 +0200)]
Fix requested_type description in header.

12 years agoUpdate nl.po.
Milan Broz [Sun, 15 Apr 2012 20:13:11 +0000 (22:13 +0200)]
Update nl.po.

12 years agoIncrease devel version.
Milan Broz [Sat, 14 Apr 2012 13:28:48 +0000 (15:28 +0200)]
Increase devel version.

12 years agoUpdate vi.po.
Milan Broz [Sat, 14 Apr 2012 13:10:10 +0000 (15:10 +0200)]
Update vi.po.

12 years agoAdd Ukrainian translation.
Milan Broz [Tue, 10 Apr 2012 08:10:47 +0000 (10:10 +0200)]
Add Ukrainian translation.

12 years agoUpdate ReleaseNotes.
Milan Broz [Mon, 9 Apr 2012 21:25:08 +0000 (23:25 +0200)]
Update ReleaseNotes.

12 years agoUpdate po files.
Milan Broz [Mon, 9 Apr 2012 21:23:39 +0000 (23:23 +0200)]
Update po files.

12 years agoFix support for LUKS header created by cryptsetup-1.0.0
Milan Broz [Mon, 9 Apr 2012 20:47:19 +0000 (22:47 +0200)]
Fix support for LUKS header created by cryptsetup-1.0.0
(no 4k alignment for the first keyslot).
Also skip repair for such header.

Thanks to Dick Middleton for reporting the issue.

12 years agoVersion 1.4.2.
Milan Broz [Mon, 2 Apr 2012 20:03:05 +0000 (22:03 +0200)]
Version 1.4.2.

Add header and copyright for header files.

12 years agoAllow to specify --align-payload only for luksFormat.
Milan Broz [Mon, 2 Apr 2012 19:23:44 +0000 (21:23 +0200)]
Allow to specify --align-payload only for luksFormat.

12 years agoAdd repair command and API for repairing known LUKS header problems.
Milan Broz [Mon, 2 Apr 2012 19:18:22 +0000 (21:18 +0200)]
Add repair command and API for repairing known LUKS header problems.

12 years agoAdd --keyfile-offset and --new-keyfile-offset to cryptsetup.
Milan Broz [Thu, 29 Mar 2012 16:35:07 +0000 (18:35 +0200)]
Add --keyfile-offset and --new-keyfile-offset to cryptsetup.
Add resume_by_keyfile_offset, add_kesylot_by_keyfile_offset and
activate_by_keyfile_offset to API.

Thanks to Matthew Monaco <matthew.monaco@0x01b.net>

12 years agoReplace some tabs.
Milan Broz [Tue, 20 Mar 2012 15:47:20 +0000 (16:47 +0100)]
Replace some tabs.

12 years agoSimplify valgrind check (let's add more configs later if needed).
Milan Broz [Tue, 20 Mar 2012 15:25:09 +0000 (16:25 +0100)]
Simplify valgrind check (let's add more configs later if needed).

12 years agoForce uevent for UUID check, not all udev installations do this automatically.
Milan Broz [Tue, 20 Mar 2012 14:58:59 +0000 (15:58 +0100)]
Force uevent for UUID check, not all udev installations do this automatically.

12 years agoFix superfluous comma and cleanup autoconf.
Milan Broz [Tue, 20 Mar 2012 13:43:25 +0000 (14:43 +0100)]
Fix superfluous comma and cleanup autoconf.

12 years agoSupport UUID=<LUKS_UUID> format for device specification.
Milan Broz [Tue, 20 Mar 2012 12:36:36 +0000 (13:36 +0100)]
Support UUID=<LUKS_UUID> format for device specification.