Milan Broz
22ce57e682
Release 1.2.0
...
git-svn-id: https://cryptsetup.googlecode.com/svn/tags/v1_2_0@405 36d66b0a-2a48-0410-832c-cd162a569da5
v1_2_0
2010-12-20 11:43:51 +00:00
Milan Broz
0ccb4a2d3b
Version 1.2.0.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@404 36d66b0a-2a48-0410-832c-cd162a569da5
2010-12-20 11:36:39 +00:00
Milan Broz
ca73541753
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
2010-12-19 23:46:10 +00:00
Milan Broz
e8e805dfd3
Add simple checksum test.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@402 36d66b0a-2a48-0410-832c-cd162a569da5
2010-12-19 21:17:36 +00:00
Milan Broz
058976ff08
Add password hash test for create command.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@401 36d66b0a-2a48-0410-832c-cd162a569da5
2010-12-10 15:36:41 +00:00
Milan Broz
4b0e7ae41d
Fix previous commit (for now).
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@400 36d66b0a-2a48-0410-832c-cd162a569da5
2010-12-09 18:25:31 +00:00
Milan Broz
68c2ac1087
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
2010-12-09 17:58:50 +00:00
Arno Wagner
6cae0b0efb
more formatting fixes
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@398 36d66b0a-2a48-0410-832c-cd162a569da5
2010-12-04 03:02:29 +00:00
Arno Wagner
80c101d15c
fixes to formatting
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@396 36d66b0a-2a48-0410-832c-cd162a569da5
2010-12-04 02:41:33 +00:00
Arno Wagner
476c4553a5
update text only version
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@395 36d66b0a-2a48-0410-832c-cd162a569da5
2010-12-02 23:54:10 +00:00
Milan Broz
0e39341be7
Update Dutch translation.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@387 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-30 12:34:21 +00:00
Milan Broz
fec17febe6
Update Italian translation.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@386 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-28 14:53:47 +00:00
Milan Broz
38c694a143
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
2010-11-25 14:56:46 +00:00
Milan Broz
685f1300cb
Some minor modifications in cs.po.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@384 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-25 14:56:37 +00:00
Milan Broz
ff0e81f656
Add Czech translation.
...
(TODO: minor chnages still needed here...)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@383 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-24 21:13:34 +00:00
Milan Broz
c01c4338b1
Update French and Polish translation.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@382 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-23 12:06:26 +00:00
Milan Broz
78a160b3c0
Version 1.2.0-rc1.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@378 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-16 08:35:27 +00:00
Milan Broz
c066fddf8b
Static build is not default... fix test.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@376 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-15 21:09:53 +00:00
Milan Broz
230ac16201
Fix clang warning is tests.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@375 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-15 18:12:29 +00:00
Milan Broz
b13b4b7654
Remove uneeded function prototype.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@374 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-15 17:03:43 +00:00
Milan Broz
f4eef16539
Increase library version (current++, age++).
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@373 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-15 16:54:44 +00:00
Milan Broz
bbb3818ec7
Fix some typos and misinterpretations in header file.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@372 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-15 16:42:35 +00:00
Milan Broz
a70b27762d
Fix some warnings if compiled with clang.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@371 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-15 16:19:19 +00:00
Milan Broz
655007995b
Fix handling of failed read in RNG wrapper.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@370 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-15 13:41:05 +00:00
Milan Broz
8e1c407ed6
Fix RNG comment.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@369 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-14 22:13:00 +00:00
Milan Broz
37ae78c9d8
Fix cryptsetup binary exitcodes.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@368 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-14 22:00:51 +00:00
Milan Broz
d876ce975c
Remove luks dir.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@367 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-14 20:11:29 +00:00
Milan Broz
014206399a
Move LUKS library to lib subdir.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@366 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-14 20:06:35 +00:00
Milan Broz
312d8eca73
* 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
2010-11-14 17:22:04 +00:00
Milan Broz
b861d1e7f4
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
2010-11-14 10:43:28 +00:00
Milan Broz
f90edb6133
Simplify return codes from get key functions.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@363 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-13 16:41:29 +00:00
Milan Broz
6258753b1a
* 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
2010-11-13 16:41:20 +00:00
Milan Broz
b7caa72acd
* 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
2010-11-05 17:53:33 +00:00
Milan Broz
c9881f8c33
* 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
2010-11-05 11:27:47 +00:00
Milan Broz
7b42e0b99c
No longer support luksDelKey, reload and --non-exclusive.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@359 36d66b0a-2a48-0410-832c-cd162a569da5
2010-11-05 11:27:36 +00:00
Milan Broz
988b1f95fd
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
2010-11-05 11:27:27 +00:00
Milan Broz
791481b9e9
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
2010-10-29 20:04:01 +00:00
Milan Broz
2fbf5994f4
* 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
2010-10-29 15:47:52 +00:00
Milan Broz
a38cb2375f
* 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
2010-10-29 13:54:14 +00:00
Milan Broz
dfe77be748
* 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
2010-10-27 15:35:23 +00:00
Milan Broz
c3f3865485
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
2010-10-27 10:55:11 +00:00
Milan Broz
3ae161df5d
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
2010-10-26 22:08:02 +00:00
Milan Broz
3a5a1ea0e7
Move safe alloc routines into common lib file.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@351 36d66b0a-2a48-0410-832c-cd162a569da5
2010-10-26 22:07:43 +00:00
Milan Broz
6fde2f640b
Fix po files include and tests.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@350 36d66b0a-2a48-0410-832c-cd162a569da5
2010-10-26 14:35:16 +00:00
Milan Broz
ec3b767103
Remove dead parse code.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@349 36d66b0a-2a48-0410-832c-cd162a569da5
2010-10-26 14:35:06 +00:00
Milan Broz
bb8e085378
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
2010-10-26 14:34:47 +00:00
Milan Broz
3b50005d2f
Simplify crypto backend init.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@347 36d66b0a-2a48-0410-832c-cd162a569da5
2010-10-26 14:34:35 +00:00
Milan Broz
ef10cd09ec
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
2010-10-26 14:34:17 +00:00
Milan Broz
88db040e34
Update to autoconf 2.67.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@345 36d66b0a-2a48-0410-832c-cd162a569da5
2010-10-26 14:34:07 +00:00
Milan Broz
6dac2726f5
* 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
2010-10-18 14:47:35 +00:00