Milan Broz [Mon, 14 Mar 2011 14:17:38 +0000 (14:17 +0000)]
Specify copyright holders in source files.
Add README notes.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@461
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Mon, 14 Mar 2011 13:41:00 +0000 (13:41 +0000)]
Add defaults to --help output.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@460
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Mon, 14 Mar 2011 12:11:01 +0000 (12:11 +0000)]
Increase library version (loopaes addition), still backawrd compatible.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@459
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Mon, 14 Mar 2011 00:07:39 +0000 (00:07 +0000)]
Fix loopaes open parameters.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@458
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 23:51:33 +0000 (23:51 +0000)]
Prefer sysfs when reading backing file.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@457
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 23:51:27 +0000 (23:51 +0000)]
Document loopback device use.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@456
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 23:51:21 +0000 (23:51 +0000)]
Be more paranoid and wipe even intermediate AF keys.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@455
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 23:51:14 +0000 (23:51 +0000)]
Do not ignore errors in crypto backend (LUKS PBKDF2).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@454
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 23:51:07 +0000 (23:51 +0000)]
Do not ignore errors in crypto backend (LUKS AF).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@453
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 23:50:57 +0000 (23:50 +0000)]
Do not ignore errors in crypto backend (loopaes mode).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@452
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 23:50:49 +0000 (23:50 +0000)]
Clean up plain password hashing, do not ignore error in crypto backend.
(New backend can fail there).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@451
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 18:06:15 +0000 (18:06 +0000)]
Add luksChangeKey command.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@450
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 13 Mar 2011 18:06:07 +0000 (18:06 +0000)]
Remove not needed header.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@449
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 12 Mar 2011 22:29:14 +0000 (22:29 +0000)]
Use loop functions even in api test.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@448
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 12 Mar 2011 21:31:41 +0000 (21:31 +0000)]
Proper handle old systems.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@447
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 12 Mar 2011 21:05:47 +0000 (21:05 +0000)]
Require loop autoclear support.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@446
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 12 Mar 2011 20:23:25 +0000 (20:23 +0000)]
Add backing device info into status.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@445
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 12 Mar 2011 20:23:16 +0000 (20:23 +0000)]
Separate loop handling from internal code.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@444
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Fri, 11 Mar 2011 19:04:37 +0000 (19:04 +0000)]
Add support for automatic loop device use (image infile etc).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@443
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Thu, 10 Mar 2011 22:22:27 +0000 (22:22 +0000)]
Use 1.3.0-svn version for devel snapshots.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@442
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Thu, 10 Mar 2011 22:12:03 +0000 (22:12 +0000)]
Allow tests to work with different default cipher/mode.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@441
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Thu, 10 Mar 2011 21:16:51 +0000 (21:16 +0000)]
Avoid using "-" in tests, some old systems has bug in getopt.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@440
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Thu, 10 Mar 2011 21:01:49 +0000 (21:01 +0000)]
Fix error output redirection in tests.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@439
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Thu, 10 Mar 2011 20:18:40 +0000 (20:18 +0000)]
Allocate free loop devices instead of using hardcoded.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@438
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Thu, 10 Mar 2011 17:16:03 +0000 (17:16 +0000)]
Add simple Loop-AES compatibility check.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@437
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Thu, 10 Mar 2011 17:15:55 +0000 (17:15 +0000)]
Workaround LMK capability check if dm-crypt module not yet loaded.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@436
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 5 Mar 2011 21:59:21 +0000 (21:59 +0000)]
Better detects dm-ioctl secure flag using version before use.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@435
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 5 Mar 2011 20:47:21 +0000 (20:47 +0000)]
Use secure data bit for dm-ioctl if supported.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@434
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 5 Mar 2011 20:33:25 +0000 (20:33 +0000)]
Add ReleaseNotes texts into distribution.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@433
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 5 Mar 2011 20:33:19 +0000 (20:33 +0000)]
Fix hmac ready test check.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@432
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 5 Mar 2011 20:33:12 +0000 (20:33 +0000)]
Add exception allowing maintainers to distribute binary cryptsetup
linked to OpenSSL library.
(Agreed by all copyright holders.)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@431
36d66b0a-2a48-0410-832c-
cd162a569da5
Arno Wagner [Tue, 1 Feb 2011 11:50:27 +0000 (11:50 +0000)]
added mailing list archive link
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@425
36d66b0a-2a48-0410-832c-
cd162a569da5
Arno Wagner [Tue, 1 Feb 2011 09:17:43 +0000 (09:17 +0000)]
minor updates
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@423
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Mon, 31 Jan 2011 23:10:32 +0000 (23:10 +0000)]
Fix luksAddKey return code if master key is used.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@421
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sat, 29 Jan 2011 15:55:27 +0000 (15:55 +0000)]
Fix mapping removal if device disappeared but node still exists.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@420
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Tue, 25 Jan 2011 19:31:43 +0000 (19:31 +0000)]
Fix po files.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@419
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Tue, 25 Jan 2011 18:48:56 +0000 (18:48 +0000)]
Add loop-AES compatible handling code.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@418
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Tue, 25 Jan 2011 18:48:48 +0000 (18:48 +0000)]
Detect # of keys from cipher string.
Fix status output string.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@417
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Tue, 25 Jan 2011 18:48:41 +0000 (18:48 +0000)]
Add dm flags for query for features.
Move adjust device helper to utils.
Fix locking memory message.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@416
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 16 Jan 2011 10:40:57 +0000 (10:40 +0000)]
Add context to crypto backend init (so it can print errors to callback).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@415
36d66b0a-2a48-0410-832c-
cd162a569da5
Milan Broz [Sun, 16 Jan 2011 10:38:55 +0000 (10:38 +0000)]
Prevent to initialise backends twice.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@414
36d66b0a-2a48-0410-832c-
cd162a569da5
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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