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
Milan Broz
73f8eeb0ef
Add myself to authors file :)
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@343 36d66b0a-2a48-0410-832c-cd162a569da5
2010-10-18 14:47:22 +00:00
Milan Broz
9679fb7f25
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
2010-10-18 14:47:06 +00:00
Milan Broz
8c444b563e
* 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
2010-10-17 14:32:56 +00:00
Arno Wagner
7f5f12e892
updated
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@340 36d66b0a-2a48-0410-832c-cd162a569da5
2010-10-11 19:01:34 +00:00
Arno Wagner
1c3245ca82
added updated version
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@335 36d66b0a-2a48-0410-832c-cd162a569da5
2010-09-03 07:24:59 +00:00
Milan Broz
16ad14d2c6
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
2010-08-13 15:03:07 +00:00
Milan Broz
b117dcc209
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
2010-08-13 14:05:34 +00:00
Milan Broz
63aabc6b3c
Print error if luksHeaderBackup called for non-LUKS device.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@329 36d66b0a-2a48-0410-832c-cd162a569da5
2010-08-13 12:40:19 +00:00
Milan Broz
d5a13e8aad
Update man page regarding 1MiB alignment.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@326 36d66b0a-2a48-0410-832c-cd162a569da5
2010-08-10 10:12:38 +00:00
Milan Broz
ef44e6e3d3
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
2010-08-09 16:34:42 +00:00
Milan Broz
cf4fec3865
Rewrite filediffer to C and make it work properly.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@322 36d66b0a-2a48-0410-832c-cd162a569da5
2010-08-05 16:41:28 +00:00
Milan Broz
dd166339c5
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
2010-08-05 16:41:21 +00:00
Milan Broz
4a6edf0c2e
Update fr.po.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@320 36d66b0a-2a48-0410-832c-cd162a569da5
2010-08-04 11:10:57 +00:00
Milan Broz
dde782ac22
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
2010-08-03 14:32:52 +00:00
Milan Broz
cd05880a5a
Add FAQ (Frequently Asked Questions) file to distribution.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@318 36d66b0a-2a48-0410-832c-cd162a569da5
2010-07-28 03:35:50 +00:00
Arno Wagner
ac9cf0cd10
Initial add of FAQ
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@317 36d66b0a-2a48-0410-832c-cd162a569da5
2010-07-27 22:16:39 +00:00
Milan Broz
3935f79ea6
Version 1.1.3.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@299 36d66b0a-2a48-0410-832c-cd162a569da5
2010-07-03 13:48:45 +00:00
Milan Broz
39b48a4d1d
Add Polish translation file.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@298 36d66b0a-2a48-0410-832c-cd162a569da5
2010-07-03 13:35:56 +00:00
Milan Broz
a707ec6200
Fix previous commit to properly check udev flag definition.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@297 36d66b0a-2a48-0410-832c-cd162a569da5
2010-07-03 13:18:05 +00:00
Milan Broz
64072e0e20
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
2010-07-03 13:11:32 +00:00
Milan Broz
1e03a34ccb
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
2010-06-03 15:18:14 +00:00
Milan Broz
0a68f45bb2
Fix device alignment ioctl calls parameters.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@251 36d66b0a-2a48-0410-832c-cd162a569da5
2010-06-01 14:39:10 +00:00
Milan Broz
be60731d0f
Version 1.1.2.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@244 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-30 17:40:32 +00:00
Milan Broz
7e715a94bb
Print empty line in status if underlying device disappeared.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@243 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-30 17:38:11 +00:00
Milan Broz
0d68754de5
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
2010-05-30 16:56:02 +00:00
Milan Broz
6ec29d935f
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
2010-05-30 12:23:38 +00:00
Milan Broz
49463051bc
Remove device even if underlying device disappeared.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@240 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-30 12:20:56 +00:00
Milan Broz
cf95e23dd5
Update nl.po.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@239 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-27 18:46:05 +00:00
Milan Broz
b4ebe0be18
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
2010-05-27 18:44:14 +00:00
Milan Broz
231ab0167b
Fix luksFormat/luksOpen reading passphrase from stdin and "-" keyfile.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@237 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-27 18:44:00 +00:00
Milan Broz
205d62af89
Try to make get_key() paramater more obvious...
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@236 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-27 18:43:47 +00:00
Milan Broz
4635d7bf31
Version 1.1.1.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@227 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-23 13:30:09 +00:00
Milan Broz
6b81dd6a6f
Update nl.po.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@226 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-23 13:09:46 +00:00
Milan Broz
cddf4d859d
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
2010-05-23 13:09:33 +00:00
Milan Broz
5ec2bba807
Version 1.1.1-rc2
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@223 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-03 15:10:45 +00:00
Milan Broz
b237358079
Fix automatic dm-crypt module loading.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@222 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-03 15:02:47 +00:00
Milan Broz
355bd4a224
Escape hyphens in manpage (Thanks to Jonas Meurer.)
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@221 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-03 12:56:15 +00:00