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

13 years agofixes to formatting
Arno Wagner [Sat, 4 Dec 2010 02:41:33 +0000 (02:41 +0000)]
fixes to formatting

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

13 years agoupdate text only version
Arno Wagner [Thu, 2 Dec 2010 23:54:10 +0000 (23:54 +0000)]
update text only version

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

13 years agoUpdate Dutch translation.
Milan Broz [Tue, 30 Nov 2010 12:34:21 +0000 (12:34 +0000)]
Update Dutch translation.

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

13 years agoUpdate Italian translation.
Milan Broz [Sun, 28 Nov 2010 14:53:47 +0000 (14:53 +0000)]
Update Italian translation.

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

13 years agoFix crypt_activate_by_keyfile() to work with PLAIN devices.
Milan Broz [Thu, 25 Nov 2010 14:56:46 +0000 (14:56 +0000)]
Fix crypt_activate_by_keyfile() to work with PLAIN devices.
(allows systemd swap with /dev/urandom activation)

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

13 years agoSome minor modifications in cs.po.
Milan Broz [Thu, 25 Nov 2010 14:56:37 +0000 (14:56 +0000)]
Some minor modifications in cs.po.

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

13 years agoAdd Czech translation.
Milan Broz [Wed, 24 Nov 2010 21:13:34 +0000 (21:13 +0000)]
Add Czech translation.

(TODO: minor chnages still needed here...)

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

13 years agoUpdate French and Polish translation.
Milan Broz [Tue, 23 Nov 2010 12:06:26 +0000 (12:06 +0000)]
Update French and Polish translation.

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

13 years agoVersion 1.2.0-rc1.
Milan Broz [Tue, 16 Nov 2010 08:35:27 +0000 (08:35 +0000)]
Version 1.2.0-rc1.

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

13 years agoStatic build is not default... fix test.
Milan Broz [Mon, 15 Nov 2010 21:09:53 +0000 (21:09 +0000)]
Static build is not default... fix test.

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

13 years agoFix clang warning is tests.
Milan Broz [Mon, 15 Nov 2010 18:12:29 +0000 (18:12 +0000)]
Fix clang warning is tests.

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

13 years agoRemove uneeded function prototype.
Milan Broz [Mon, 15 Nov 2010 17:03:43 +0000 (17:03 +0000)]
Remove uneeded function prototype.

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

13 years agoIncrease library version (current++, age++).
Milan Broz [Mon, 15 Nov 2010 16:54:44 +0000 (16:54 +0000)]
Increase library version (current++, age++).

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

13 years agoFix some typos and misinterpretations in header file.
Milan Broz [Mon, 15 Nov 2010 16:42:35 +0000 (16:42 +0000)]
Fix some typos and misinterpretations in header file.

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

13 years agoFix some warnings if compiled with clang.
Milan Broz [Mon, 15 Nov 2010 16:19:19 +0000 (16:19 +0000)]
Fix some warnings if compiled with clang.

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

13 years agoFix handling of failed read in RNG wrapper.
Milan Broz [Mon, 15 Nov 2010 13:41:05 +0000 (13:41 +0000)]
Fix handling of failed read in RNG wrapper.

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

13 years agoFix RNG comment.
Milan Broz [Sun, 14 Nov 2010 22:13:00 +0000 (22:13 +0000)]
Fix RNG comment.

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

13 years agoFix cryptsetup binary exitcodes.
Milan Broz [Sun, 14 Nov 2010 22:00:51 +0000 (22:00 +0000)]
Fix cryptsetup binary exitcodes.

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

13 years agoRemove luks dir.
Milan Broz [Sun, 14 Nov 2010 20:11:29 +0000 (20:11 +0000)]
Remove luks dir.

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

13 years agoMove LUKS library to lib subdir.
Milan Broz [Sun, 14 Nov 2010 20:06:35 +0000 (20:06 +0000)]
Move LUKS library to lib subdir.

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

13 years ago* Allow to activate by internally cached volume key
Milan Broz [Sun, 14 Nov 2010 17:22:04 +0000 (17:22 +0000)]
* Allow to activate by internally cached volume key
  (format/activate without keyslots active - used for temporary devices).
* Initialize volume key from active device in crypt_init_by_name()

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

13 years agoAdd --dump-master-key option for luksDump to allow volume key dump.
Milan Broz [Sun, 14 Nov 2010 10:43:28 +0000 (10:43 +0000)]
Add --dump-master-key option for luksDump to allow volume key dump.

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

13 years agoSimplify return codes from get key functions.
Milan Broz [Sat, 13 Nov 2010 16:41:29 +0000 (16:41 +0000)]
Simplify return codes from get key functions.

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

13 years ago* Fix password callback call.
Milan Broz [Sat, 13 Nov 2010 16:41:20 +0000 (16:41 +0000)]
* Fix password callback call.
* Fix default plain password entry from terminal in activate_by_passphrase.

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

13 years ago* Disallow mapping of device which is already in use (mapped or mounted).
Milan Broz [Fri, 5 Nov 2010 17:53:33 +0000 (17:53 +0000)]
* Disallow mapping of device which is already in use (mapped or mounted).
* Disallow luksFormat on device in use.

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

13 years ago* Add crypt_get_type(), crypt_resize(), crypt_keyslot_max()
Milan Broz [Fri, 5 Nov 2010 11:27:47 +0000 (11:27 +0000)]
* Add crypt_get_type(), crypt_resize(), crypt_keyslot_max()
and crypt_get_active_device() to API.
* Rewrite all implementations in cryptsetup to new API.
* Fix luksRemoveKey to behave as documented (do not ask
for remaining keyslot passphrase).
* Add more regression tests for commands.

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

13 years agoNo longer support luksDelKey, reload and --non-exclusive.
Milan Broz [Fri, 5 Nov 2010 11:27:36 +0000 (11:27 +0000)]
No longer support luksDelKey, reload and --non-exclusive.

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

13 years agoUse new API for luksUUID, luksDump.
Milan Broz [Fri, 5 Nov 2010 11:27:27 +0000 (11:27 +0000)]
Use new API for luksUUID, luksDump.
Use default log callback.
Check for keyslot #

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

14 years agoFix luksFormat to properly use key file with --master-key-file switch.
Milan Broz [Fri, 29 Oct 2010 20:04:01 +0000 (20:04 +0000)]
Fix luksFormat to properly use key file with --master-key-file switch.
Fix possible double free when handling master key file.

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

14 years ago* Add --keyfile-size and --new-keyfile-size (in bytes) size and
Milan Broz [Fri, 29 Oct 2010 15:47:52 +0000 (15:47 +0000)]
* Add --keyfile-size and --new-keyfile-size (in bytes) size and
disallow overloading of --key-size for limiting keyfile reads.

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

14 years ago* Add crypt_set_uuid() to API.
Milan Broz [Fri, 29 Oct 2010 13:54:14 +0000 (13:54 +0000)]
* Add crypt_set_uuid() to API.
* Allow UUID setting in luksFormat and luksUUID (--uuid parameter).

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

14 years ago* Implement --use-random and --use-urandom for luksFormat to allow setting of RNG...
Milan Broz [Wed, 27 Oct 2010 15:35:23 +0000 (15:35 +0000)]
* Implement --use-random and --use-urandom for luksFormat to allow setting of RNG for volume key generator.
* Add crypt_set_rng_type() and crypt_get_rng_type() to API.

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

14 years agoRewrite luksFormat, luksOpen, liksAddKey in crypsetup for new API.
Milan Broz [Wed, 27 Oct 2010 10:55:11 +0000 (10:55 +0000)]
Rewrite luksFormat, luksOpen, liksAddKey in crypsetup for new API.

With new API is possible to add ne features (old API calls are frozen
and deprecated).

FIXME: add more regression tests here.

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

14 years agoMove get_key to common code, simplify verify flags.
Milan Broz [Tue, 26 Oct 2010 22:08:02 +0000 (22:08 +0000)]
Move get_key to common code, simplify verify flags.
(This code need rewrite anyway).

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

14 years agoMove safe alloc routines into common lib file.
Milan Broz [Tue, 26 Oct 2010 22:07:43 +0000 (22:07 +0000)]
Move safe alloc routines into common lib file.

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

14 years agoFix po files include and tests.
Milan Broz [Tue, 26 Oct 2010 14:35:16 +0000 (14:35 +0000)]
Fix po files include and tests.

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

14 years agoRemove dead parse code.
Milan Broz [Tue, 26 Oct 2010 14:35:06 +0000 (14:35 +0000)]
Remove dead parse code.

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

14 years agoAdd utils_crypt file and test for supported modes presentation.
Milan Broz [Tue, 26 Oct 2010 14:34:47 +0000 (14:34 +0000)]
Add utils_crypt file and test for supported modes presentation.

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

14 years agoSimplify crypto backend init.
Milan Broz [Tue, 26 Oct 2010 14:34:35 +0000 (14:34 +0000)]
Simplify crypto backend init.

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

14 years agoGeneralise volume key struct.
Milan Broz [Tue, 26 Oct 2010 14:34:17 +0000 (14:34 +0000)]
Generalise volume key struct.

Do not generate unused volume key in PLAIN mode.

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

14 years agoUpdate to autoconf 2.67.
Milan Broz [Tue, 26 Oct 2010 14:34:07 +0000 (14:34 +0000)]
Update to autoconf 2.67.

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

14 years ago* Remove --disable-shared-library switch and handle static library build
Milan Broz [Mon, 18 Oct 2010 14:47:35 +0000 (14:47 +0000)]
* Remove --disable-shared-library switch and handle static library build
  by common libtool logic (using --enable-static).
* Add --enable-static-cryptsetup option to build cryptsetup.static binary
  together with shared build.

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

14 years agoAdd myself to authors file :)
Milan Broz [Mon, 18 Oct 2010 14:47:22 +0000 (14:47 +0000)]
Add myself to authors file :)

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

14 years agoAdd crypt_get_device_name() to API (get underlying device name).
Milan Broz [Mon, 18 Oct 2010 14:47:06 +0000 (14:47 +0000)]
Add crypt_get_device_name() to API (get underlying device name).

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

14 years ago* Change detection for static libraries.
Milan Broz [Sun, 17 Oct 2010 14:32:56 +0000 (14:32 +0000)]
* Change detection for static libraries.
* Fix pkg-config use in automake scripts.
* Build statically linked binary (cryptsetup.static) together with shared build if --enable-static is specified.

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

14 years agoupdated
Arno Wagner [Mon, 11 Oct 2010 19:01:34 +0000 (19:01 +0000)]
updated

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

14 years agoadded updated version
Arno Wagner [Fri, 3 Sep 2010 07:24:59 +0000 (07:24 +0000)]
added updated version

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

14 years agoCheck if requested hash is supported before writing LUKS header.
Milan Broz [Fri, 13 Aug 2010 15:03:07 +0000 (15:03 +0000)]
Check if requested hash is supported before writing LUKS header.

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

14 years agoDo not query non-existent device twice:
Milan Broz [Fri, 13 Aug 2010 14:05:34 +0000 (14:05 +0000)]
Do not query non-existent device twice:
  # cryptsetup status /dev/nonexistent
  Device /dev/nonexistent not found
  Device /dev/nonexistent not found

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

14 years agoPrint error if luksHeaderBackup called for non-LUKS device.
Milan Broz [Fri, 13 Aug 2010 12:40:19 +0000 (12:40 +0000)]
Print error if luksHeaderBackup called for non-LUKS device.

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

14 years agoUpdate man page regarding 1MiB alignment.
Milan Broz [Tue, 10 Aug 2010 10:12:38 +0000 (10:12 +0000)]
Update man page regarding 1MiB alignment.

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

14 years agoUse default data alignment to 1MiB.
Milan Broz [Mon, 9 Aug 2010 16:34:42 +0000 (16:34 +0000)]
Use default data alignment to 1MiB.

If there is topology info, use default if topology is multiple of default,
otherwise use topology values.

See https://bugzilla.redhat.com/show_bug.cgi?id=621684 and issue 55.

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

14 years agoRewrite filediffer to C and make it work properly.
Milan Broz [Thu, 5 Aug 2010 16:41:28 +0000 (16:41 +0000)]
Rewrite filediffer to C and make it work properly.

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

14 years agoWipe iteration count and salt for wiped keyslot in LUKS header.
Milan Broz [Thu, 5 Aug 2010 16:41:21 +0000 (16:41 +0000)]
Wipe iteration count and salt for wiped keyslot in LUKS header.

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

14 years agoUpdate fr.po.
Milan Broz [Wed, 4 Aug 2010 11:10:57 +0000 (11:10 +0000)]
Update fr.po.

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

14 years agoMention units (512b sectors) for -o option in man page.
Milan Broz [Tue, 3 Aug 2010 14:32:52 +0000 (14:32 +0000)]
Mention units (512b sectors) for -o option in man page.

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

14 years agoAdd FAQ (Frequently Asked Questions) file to distribution.
Milan Broz [Wed, 28 Jul 2010 03:35:50 +0000 (03:35 +0000)]
Add FAQ (Frequently Asked Questions) file to distribution.

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

14 years agoInitial add of FAQ
Arno Wagner [Tue, 27 Jul 2010 22:16:39 +0000 (22:16 +0000)]
Initial add of FAQ

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

14 years agoVersion 1.1.3.
Milan Broz [Sat, 3 Jul 2010 13:48:45 +0000 (13:48 +0000)]
Version 1.1.3.

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

14 years agoAdd Polish translation file.
Milan Broz [Sat, 3 Jul 2010 13:35:56 +0000 (13:35 +0000)]
Add Polish translation file.

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

14 years agoFix previous commit to properly check udev flag definition.
Milan Broz [Sat, 3 Jul 2010 13:18:05 +0000 (13:18 +0000)]
Fix previous commit to properly check udev flag definition.

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

14 years agoFix udev support for old libdevmapper with not compatible definition.
Milan Broz [Sat, 3 Jul 2010 13:11:32 +0000 (13:11 +0000)]
Fix udev support for old libdevmapper with not compatible definition.

Some released devmapper libraries have defined dm_task_set_cookie()
with not compatible parameters (ABI break), let's check for udev support
by using flags definition (udev is for cryptsetup not usable without this anyway).

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

14 years agoFix activate_by_* API calls to handle NULL device name as documented.
Milan Broz [Thu, 3 Jun 2010 15:18:14 +0000 (15:18 +0000)]
Fix activate_by_* API calls to handle NULL device name as documented.

And add some tests for this.

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

14 years agoFix device alignment ioctl calls parameters.
Milan Broz [Tue, 1 Jun 2010 14:39:10 +0000 (14:39 +0000)]
Fix device alignment ioctl calls parameters.

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

14 years agoVersion 1.1.2.
Milan Broz [Sun, 30 May 2010 17:40:32 +0000 (17:40 +0000)]
Version 1.1.2.

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

14 years agoPrint empty line in status if underlying device disappeared.
Milan Broz [Sun, 30 May 2010 17:38:11 +0000 (17:38 +0000)]
Print empty line in status if underlying device disappeared.

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

14 years agoFix description of --key-file and add --verbose and --debug options to man page.
Milan Broz [Sun, 30 May 2010 16:56:02 +0000 (16:56 +0000)]
Fix description of --key-file and add --verbose and --debug options to man page.

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

14 years agoFix (deprecated) reload device command to accept new device argument.
Milan Broz [Sun, 30 May 2010 12:23:38 +0000 (12:23 +0000)]
Fix (deprecated) reload device command to accept new device argument.

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

14 years agoRemove device even if underlying device disappeared.
Milan Broz [Sun, 30 May 2010 12:20:56 +0000 (12:20 +0000)]
Remove device even if underlying device disappeared.

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

14 years agoUpdate nl.po.
Milan Broz [Thu, 27 May 2010 18:46:05 +0000 (18:46 +0000)]
Update nl.po.

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

14 years agoAdd verbose log level and move unlocking keyslot messages there.
Milan Broz [Thu, 27 May 2010 18:44:14 +0000 (18:44 +0000)]
Add verbose log level and move unlocking keyslot messages there.

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

14 years agoFix luksFormat/luksOpen reading passphrase from stdin and "-" keyfile.
Milan Broz [Thu, 27 May 2010 18:44:00 +0000 (18:44 +0000)]
Fix luksFormat/luksOpen reading passphrase from stdin and "-" keyfile.

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

14 years agoTry to make get_key() paramater more obvious...
Milan Broz [Thu, 27 May 2010 18:43:47 +0000 (18:43 +0000)]
Try to make get_key() paramater more obvious...

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

14 years agoVersion 1.1.1.
Milan Broz [Sun, 23 May 2010 13:30:09 +0000 (13:30 +0000)]
Version 1.1.1.

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

14 years agoUpdate nl.po.
Milan Broz [Sun, 23 May 2010 13:09:46 +0000 (13:09 +0000)]
Update nl.po.

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

14 years agoFix luksClose if underlying device is another DM device
Milan Broz [Sun, 23 May 2010 13:09:33 +0000 (13:09 +0000)]
Fix luksClose if underlying device is another DM device
and commands fails with "Device 253:0 doesn't exist or access denied." error.

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

14 years agoVersion 1.1.1-rc2
Milan Broz [Mon, 3 May 2010 15:10:45 +0000 (15:10 +0000)]
Version 1.1.1-rc2

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

14 years agoFix automatic dm-crypt module loading.
Milan Broz [Mon, 3 May 2010 15:02:47 +0000 (15:02 +0000)]
Fix automatic dm-crypt module loading.

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

14 years agoEscape hyphens in manpage (Thanks to Jonas Meurer.)
Milan Broz [Mon, 3 May 2010 12:56:15 +0000 (12:56 +0000)]
Escape hyphens in manpage (Thanks to Jonas Meurer.)

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

14 years agoAdd newline to hints and allow translation of string.
Milan Broz [Mon, 3 May 2010 12:56:07 +0000 (12:56 +0000)]
Add newline to hints and allow translation of string.

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

14 years agoUpdate vi.po.
Milan Broz [Mon, 3 May 2010 10:24:02 +0000 (10:24 +0000)]
Update vi.po.

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

14 years agoSkip align test if kernel fails to load scsi_debug.
Milan Broz [Sat, 1 May 2010 16:04:04 +0000 (16:04 +0000)]
Skip align test if kernel fails to load scsi_debug.

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

14 years agoVersion 1.1.1-rc1
Milan Broz [Sat, 1 May 2010 15:40:39 +0000 (15:40 +0000)]
Version 1.1.1-rc1

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

14 years agoFix isLuks to initialise crypto backend (blkid instead is suggested anyway).
Milan Broz [Sat, 1 May 2010 14:01:43 +0000 (14:01 +0000)]
Fix isLuks to initialise crypto backend (blkid instead is suggested anyway).

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

14 years agoFix gcrypt detection & compatimage in api-test.
Milan Broz [Sat, 1 May 2010 09:59:12 +0000 (09:59 +0000)]
Fix gcrypt detection & compatimage in api-test.

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

14 years agoRename apitest -> api-test.
Milan Broz [Sat, 1 May 2010 09:59:04 +0000 (09:59 +0000)]
Rename apitest -> api-test.

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