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

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

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

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

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

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

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

11 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.

11 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).

11 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).

11 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).

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

11 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.

11 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

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

11 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.

12 years agoFix retry if entered passphrases (with verify option) do not match.
Milan Broz [Fri, 16 Mar 2012 15:31:15 +0000 (16:31 +0100)]
Fix retry if entered passphrases (with verify option) do not match.

12 years agoUnify password verification option.
Milan Broz [Fri, 16 Mar 2012 15:17:03 +0000 (16:17 +0100)]
Unify password verification option.
Support password verification with quiet flag if possible. (1.2.0)

12 years agoTest commit.
Milan Broz [Fri, 9 Mar 2012 19:49:32 +0000 (20:49 +0100)]
Test commit.

12 years agoTest commit.
Milan Broz [Fri, 9 Mar 2012 19:46:30 +0000 (20:46 +0100)]
Test commit.

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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