Version 1.3.0.
[platform/upstream/cryptsetup.git] / ChangeLog
1 2011-04-05  Milan Broz  <mbroz@redhat.com>
2         * Version 1.3.0.
3
4 2011-03-22  Milan Broz  <mbroz@redhat.com>
5         * Also support --skip and --hash option for loopaesOpen.
6         * Fix return code when passphrase is read from pipe.
7         * Document cryptsetup exit codes.
8
9 2011-03-18  Milan Broz  <mbroz@redhat.com>
10         * Respect maximum keyfile size paramater.
11         * Introduce maximum default keyfile size, add configure option.
12         * Require the whole key read from keyfile in create command (broken in 1.2.0).
13         * Fix offset option for loopaesOpen.
14         * Lock memory also in luksDump command.
15         * Version 1.3.0-rc2.
16
17 2011-03-14  Milan Broz  <mbroz@redhat.com>
18         * Version 1.3.0-rc1.
19
20 2011-03-11  Milan Broz  <mbroz@redhat.com>
21         * Add loop manipulation code and support mapping of images in file.
22         * Add backing device loop info into status message.
23         * Add luksChangeKey command.
24
25 2011-03-05  Milan Broz  <mbroz@redhat.com>
26         * Add exception to COPYING for binary distribution linked with OpenSSL library.
27         * Set secure data flag (wipe all ioclt buffers) if devmapper library supports it.
28
29 2011-01-29  Milan Broz  <mbroz@redhat.com>
30         * Fix mapping removal if device disappeared but node still exists.
31         * Fix luksAddKey return code if master key is used.
32
33 2011-01-25  Milan Broz  <mbroz@redhat.com>
34         * Add loop-AES handling (loopaesOpen and loopaesClose commands).
35          (requires kernel 2.6.38 and above)
36
37 2011-01-05  Milan Broz  <mbroz@redhat.com>
38         * Fix static build (--disable-static-cryptsetup now works properly).
39
40 2010-12-30  Milan Broz  <mbroz@redhat.com>
41         * Add compile time crypto backends implementation
42           (gcrypt, OpenSSL, NSS and userspace Linux kernel crypto api).
43         * Currently NSS is lacking ripemd160, cannot provide full plain compatibility.
44         * Use --with-crypto_backend=[gcrypt|openssl|nss|kernel] to configure.
45
46 2010-12-20  Milan Broz  <mbroz@redhat.com>
47         * Version 1.2.0.
48
49 2010-11-25  Milan Broz  <mbroz@redhat.com>
50         * Fix crypt_activate_by_keyfile() to work with PLAIN devices.
51         * Fix create command to properly handle keyfile size.
52
53 2010-11-16  Milan Broz  <mbroz@redhat.com>
54         * Version 1.2.0-rc1.
55
56 2010-11-13  Milan Broz  <mbroz@redhat.com>
57         * Fix password callback call.
58         * Fix default plain password entry from terminal in activate_by_passphrase.
59         * Add --dump-master-key option for luksDump to allow volume key dump.
60         * Allow to activate by internally cached volume key
61           (format/activate without keyslots active - used for temporary devices).
62         * Initialize volume key from active device in crypt_init_by_name()
63         * Fix cryptsetup binary exitcodes.
64         * Increase library version (still binary compatible with 1.1.x release).
65
66 2010-11-01  Milan Broz  <mbroz@redhat.com>
67         * No longer support luksDelKey, reload and --non-exclusive.
68         * Remove some obsolete info from man page.
69         * Add crypt_get_type(), crypt_resize(), crypt_keyslot_max()
70         and crypt_get_active_device() to API.
71         * Rewrite all implementations in cryptsetup to new API.
72         * Fix luksRemoveKey to behave as documented (do not ask
73         for remaining keyslot passphrase).
74         * Add more regression tests for commands.
75         * Disallow mapping of device which is already in use (mapped or mounted).
76         * Disallow luksFormat on device in use.
77
78 2010-10-27  Milan Broz  <mbroz@redhat.com>
79         * Rewrite cryptsetup luksFormat, luksOpen, luksAddKey to use new API
80           to allow adding new features.
81         * Implement --use-random and --use-urandom for luksFormat to allow
82           setting of RNG for volume key generator.
83         * Add crypt_set_rng_type() and crypt_get_rng_type() to API.
84         * Add crypt_set_uuid() to API.
85         * Allow UUID setting in luksFormat and luksUUID (--uuid parameter).
86         * Add --keyfile-size and --new-keyfile-size (in bytes) size and disallow overloading
87           of --key-size for limiting keyfile reads.
88         * Fix luksFormat to properly use key file with --master-key-file switch.
89         * Fix possible double free when handling master key file.
90
91 2010-10-17  Milan Broz  <mbroz@redhat.com>
92         * Add crypt_get_device_name() to API (get underlying device name).
93         * Change detection for static libraries.
94         * Fix pkg-config use in automake scripts.
95         * Remove --disable-shared-library switch and handle static library build
96           by common libtool logic (using --enable-static).
97         * Add --enable-static-cryptsetup option to build cryptsetup.static binary
98           together with shared build.
99
100 2010-08-05  Milan Broz  <mbroz@redhat.com>
101         * Wipe iteration and salt after KillSlot in LUKS header.
102         * Rewrite file differ test to C (and fix it to really work).
103         * Switch to 1MiB default alignment of data.
104           For more info see https://bugzilla.redhat.com/show_bug.cgi?id=621684
105         * Do not query non-existent device twice (cryptsetup status /dev/nonexistent).
106         * Check if requested hash is supported before writing LUKS header.
107
108 2010-07-28  Arno Wagner <arno@wagner.name>
109         * Add FAQ (Frequently Asked Questions) file to distribution.
110
111 2010-07-03  Milan Broz  <mbroz@redhat.com>
112         * Fix udev support for old libdevmapper with not compatible definition.
113         * Version 1.1.3.
114
115 2010-06-01  Milan Broz  <mbroz@redhat.com>
116         * Fix device alignment ioctl calls parameters.
117         * Fix activate_by_* API calls to handle NULL device name as documented.
118
119 2010-05-30  Milan Broz  <mbroz@redhat.com>
120         * Version 1.1.2.
121
122 2010-05-27  Milan Broz  <mbroz@redhat.com>
123         * Fix luksFormat/luksOpen reading passphrase from stdin and "-" keyfile.
124         * Support --key-file/-d option for luksFormat.
125         * Fix description of --key-file and add --verbose and --debug options to man page.
126         * Add verbose log level and move unlocking message there.
127         * Remove device even if underlying device disappeared.
128         * Fix (deprecated) reload device command to accept new device argument.
129
130 2010-05-23  Milan Broz  <mbroz@redhat.com>
131         * Fix luksClose operation for stacked DM devices.
132         * Version 1.1.1.
133
134 2010-05-03  Milan Broz  <mbroz@redhat.com>
135         * Fix automatic dm-crypt module loading.
136         * Escape hyphens in man page.
137         * Version 1.1.1-rc2.
138
139 2010-04-30  Milan Broz  <mbroz@redhat.com>
140         * Try to use pkgconfig for device mapper library.
141         * Detect old dm-crypt module and disable LUKS suspend/resume.
142         * Fix apitest to work on older systems.
143         * Allow no hash specification in plain device constructor.
144         * Fix luksOpen reading of passphrase on stdin (if "-" keyfile specified).
145         * Fix isLuks to initialise crypto backend (blkid instead is suggested anyway).
146         * Version 1.1.1-rc1.
147
148 2010-04-12  Milan Broz  <mbroz@redhat.com>
149         * Fix package config to use proper package version.
150         * Avoid class C++ keyword in library header.
151         * Detect and use devmapper udev support if available (disable by --disable-udev).
152
153 2010-04-06  Milan Broz  <mbroz@redhat.com>
154         * Prefer some device paths in status display.
155         * Support device topology detectionfor data alignment.
156
157 2010-02-25  Milan Broz  <mbroz@redhat.com>
158         * Do not verify unlocking passphrase in luksAddKey command.
159         * Properly initialise crypto backend in header backup/restore commands.
160
161 2010-01-17  Milan Broz  <mbroz@redhat.com>
162         * If gcrypt compiled with capabilities, document workaround for cryptsetup (see lib/gcrypt.c).
163         * Version 1.1.0.
164
165 2010-01-10  Milan Broz  <mbroz@redhat.com>
166         * Fix initialisation of gcrypt duting luksFormat.
167         * Convert hash name to lower case in header (fix sha1 backward comatible header)
168         * Check for minimum required gcrypt version.
169
170 2009-12-30  Milan Broz  <mbroz@redhat.com>
171         * Fix key slot iteration count calculation (small -i value was the same as default).
172         * The slot and key digest iteration minimun is now 1000.
173         * The key digest iteration # is calculated from iteration time (approx 1/8 of that).
174         * Version 1.1.0-rc4.
175
176 2009-12-11  Milan Broz  <mbroz@redhat.com>
177         * Fix error handling during reading passhrase.
178
179 2009-12-01  Milan Broz  <mbroz@redhat.com>
180         * Allow changes of default compiled-in cipher parameters through configure.
181         * Switch default key size for LUKS to 256bits.
182         * Switch default plain mode to aes-cbc-essiv:sha256 (default is backward incompatible!).
183
184 2009-11-14  Milan Broz  <mbroz@redhat.com>
185         * Add CRYPT_ prefix to enum defined in libcryptsetup.h.
186         * Fix status call to fail when running as non-root user.
187         * Check in configure if selinux libraries are required in static version.
188         * Add temporary debug code to find processes locking internal device.
189         * Simplify build system, use autopoint and clean gettext processing.
190         * Use proper NLS macros and detection (so the message translation works again).
191         * Version 1.1.0-rc3.
192
193 2009-09-30  Milan Broz  <mbroz@redhat.com>
194         * Fix exported symbols and versions in libcryptsetup.
195         * Do not use internal lib functions in cryptsetup.
196         * Add crypt_log to library.
197         * Fix crypt_remove_device (remove, luksClose) implementation.
198         * Move dm backend initialisation to library calls.
199         * Move duplicate Command failed message to verbose level (error is printed always).
200         * Add some password and used algorithms notes to man page.
201         * Version 1.1.0-rc2.
202
203 2009-09-28  Milan Broz  <mbroz@redhat.com>
204         * Add luksHeaderBackup and luksHeaderRestore commands.
205         * Fail passphrase read if piped input no longer exists.
206         * Version 1.1.0-rc1.
207
208 2009-09-15  Milan Broz  <mbroz@redhat.com>
209         * Initialize crypto library before LUKS header load.
210         * Fix manpage to not require --size which expands to device size by default.
211
212 2009-09-10  Milan Broz  <mbroz@redhat.com>
213         * Clean up Makefiles and configure script.
214         * Version 1.1.0-test0.
215
216 2009-09-08  Milan Broz  <mbroz@redhat.com>
217         * Use dm-uuid for all crypt devices, contains device type and name now.
218         * Try to read first sector from device to properly check that device is ready.
219
220 2009-09-02  Milan Broz  <mbroz@redhat.com>
221         * Add luksSuspend (freeze device and wipe key) and luksResume (with provided passphrase).
222
223 2009-08-30  Milan Broz  <mbroz@redhat.com>
224         * Require device device-mapper to build and do not use backend wrapper for dm calls.
225         * Move memory locking and dm initialization to command layer.
226         * Increase priority of process if memory is locked.
227         * Add log macros and make logging modre consitent.
228         * Move command successful messages to verbose level.
229         * Introduce --debug parameter.
230         * Move device utils code and provide context parameter (for log).
231         * Keyfile now must be provided by path, only stdin file descriptor is used (api only).
232         * Do not call isatty() on closed keyfile descriptor.
233         * Run performance check for PBKDF2 from LUKS code, do not mix hash algoritms results.
234         * Add ability to provide pre-generated master key and UUID in LUKS header format.
235         * Add LUKS function to verify master key digest.
236         * Move key slot manuipulation function into LUKS specific code.
237         * Replace global options struct with separate parameters in helper functions.
238         * Add new libcryptsetup API (documented in libcryptsetup.h).
239         * Implement old API calls using new functions.
240         * Remove old API code helper functions.
241         * Add --master-key-file option for luksFormat and luksAddKey.
242
243 2009-08-17  Milan Broz  <mbroz@redhat.com>
244         * Fix PBKDF2 speed calculation for large passhrases.
245         * Allow using passphrase provided in options struct for LuksOpen.
246         * Allow restrict keys size in LuksOpen.
247
248 2009-07-30  Milan Broz  <mbroz@redhat.com>
249         * Fix errors when compiled with LUKS_DEBUG.
250         * Print error when getline fails.
251         * Remove po/cryptsetup-luks.pot, it's autogenerated.
252         * Return ENOENT for empty keyslots, EINVAL will be used later for other type of error.
253         * Switch PBKDF2 from internal SHA1 to libgcrypt, make hash algorithm not hardcoded to SHA1 here.
254         * Add required parameters for changing hash used in LUKS key setup scheme.
255         * Do not export simple XOR helper now used only inside AF functions.
256         * Completely remove internal SHA1 implementanion code, not needed anymore.
257         * Enable hash algorithm selection for LUKS through -h luksFormat option.
258
259 2009-07-28  Milan Broz  <mbroz@redhat.com>
260         * Pad luks header to 512 sector size.
261         * Rework read/write blockwise to not split operation to many pieces.
262         * Use posix_memalign if available.
263
264 2009-07-22  Milan Broz  <mbroz@redhat.com>
265         * Fix segfault if provided slot in luksKillslot is invalid.
266         * Remove unneeded timeout when remove of temporary device succeeded.
267
268 2009-07-22  Milan Broz  <mbroz@redhat.com>
269         * version 1.0.7
270
271 2009-07-16  Milan Broz  <mbroz@redhat.com>
272         * Allow removal of last slot in luksRemoveKey and luksKillSlot.
273
274 2009-07-11  Milan Broz  <mbroz@redhat.com>
275
276         * Add --disable-selinux option and fix static build if selinux is required.
277         * Reject unsupported --offset and --skip options for luksFormat and update man page.
278
279 2009-06-22  Milan Broz  <mbroz@redhat.com>
280
281         * Summary of changes in subversion for 1.0.7-rc1:
282         * Various man page fixes.
283         * Set UUID in device-mapper for LUKS devices.
284         * Retain readahead of underlying device.
285         * Display device name when asking for password.
286         * Check device size when loading LUKS header. Remove misleading error message later.
287         * Add error hint if dm-crypt mapping failed.
288         * Use better error messages if device doesn't exist or is already used by other mapping.
289         * Fix make distcheck.
290         * Check if all slots are full during luksAddKey.
291         * Fix segfault in set_error.
292         * Code cleanups, remove precompiled pot files, remove unnecessary files from po directory
293         * Fix uninitialized return value variable in setup.c.
294         * Code cleanups. (thanks to Ivan Stankovic)
295         * Fix wrong output for remaining key at key deletion.
296         * Allow deletion of key slot while other keys have the same key information.
297         * Add missing AM_PROG_CC_C_O to configure.in
298         * Remove duplicate sentence in man page.
299         * Wipe start of device (possible fs signature) before LUKS-formatting.
300         * Do not process configure.in in hidden directories.
301         * Return more descriptive error in case of IO or header format error.
302         * Use remapping to error target instead of calling udevsettle for temporary crypt device.
303         * Check device mapper communication and warn user if device-mapper support missing in kernel.
304         * Fix signal handler to properly close device.
305         * write_lseek_blockwise: declare innerCount outside the if block.
306         * add -Wall to the default CFLAGS. fix some signedness issues.
307         * Error handling improvement.
308         * Add non-exclusive override to interface definition.
309         * Refactor key slot selection into keyslot_from_option.
310
311 2007-05-01  Clemens Fruhwirth  <clemens@endorphin.org>
312
313         * lib/backends.c, man/cryptsetup.8: Apply patch from Ludwig Nussel
314         <ludwig.nussel@suse.de>, for old SuSE compat hashing.
315
316 2007-04-16  Clemens Fruhwirth  <clemens@endorphin.org>
317
318         * Summary of changes in subversion:
319         Fix segfault for key size > 32 bytes.
320         Kick ancient header version conversion. 
321         Fix http://bugs.debian.org/403075
322         No passwort retrying for I/O errors.
323         Fix hang on "-i 0".
324         Fix parenthesization error that prevented --tries from working
325         correctly.
326
327 2006-11-28  gettextize  <bug-gnu-gettext@gnu.org>
328
329         * m4/gettext.m4: Upgrade to gettext-0.15.
330         * m4/glibc2.m4: New file, from gettext-0.15.
331         * m4/intmax.m4: New file, from gettext-0.15.
332         * m4/inttypes-h.m4: New file, from gettext-0.15.
333         * m4/inttypes-pri.m4: Upgrade to gettext-0.15.
334         * m4/lib-link.m4: Upgrade to gettext-0.15.
335         * m4/lib-prefix.m4: Upgrade to gettext-0.15.
336         * m4/lock.m4: New file, from gettext-0.15.
337         * m4/longdouble.m4: New file, from gettext-0.15.
338         * m4/longlong.m4: New file, from gettext-0.15.
339         * m4/nls.m4: Upgrade to gettext-0.15.
340         * m4/po.m4: Upgrade to gettext-0.15.
341         * m4/printf-posix.m4: New file, from gettext-0.15.
342         * m4/signed.m4: New file, from gettext-0.15.
343         * m4/size_max.m4: New file, from gettext-0.15.
344         * m4/visibility.m4: New file, from gettext-0.15.
345         * m4/wchar_t.m4: New file, from gettext-0.15.
346         * m4/wint_t.m4: New file, from gettext-0.15.
347         * m4/xsize.m4: New file, from gettext-0.15.
348         * m4/Makefile.am: New file.
349         * configure.in (AC_OUTPUT): Add m4/Makefile.
350         (AM_GNU_GETTEXT_VERSION): Bump to 0.15.
351
352 2006-10-22  David Härdeman  <david@hardeman.nu>
353
354         * Allow hashing of keys passed through stdin.
355
356 2006-10-13  Clemens Fruhwirth  <clemens@endorphin.org>
357
358         * configure.in: 1.0.4 release
359
360 2006-10-13  Clemens Fruhwirth  <clemens@endorphin.org>
361
362         * man/cryptsetup.8: Document --tries switch; patch by Jonas
363         Meurer.
364
365 2006-10-13  Clemens Fruhwirth  <clemens@endorphin.org>
366
367         * lib/setup.c: Added terminal timeout rewrite as forwarded by
368         Jonas Meurer
369
370 2006-10-04  Clemens Fruhwirth  <clemens@endorphin.org>
371
372         * Merged patch from Marc Merlin <marc@merlins.org> to allow user
373         selection of key slot.
374
375 2006-09-26  gettextize  <bug-gnu-gettext@gnu.org>
376
377         * m4/codeset.m4: Upgrade to gettext-0.14.4.
378         * m4/gettext.m4: Upgrade to gettext-0.14.4.
379         * m4/glibc2.m4: New file, from gettext-0.14.4.
380         * m4/glibc21.m4: Upgrade to gettext-0.14.4.
381         * m4/iconv.m4: Upgrade to gettext-0.14.4.
382         * m4/intdiv0.m4: Upgrade to gettext-0.14.4.
383         * m4/intmax.m4: New file, from gettext-0.14.4.
384         * m4/inttypes.m4: Upgrade to gettext-0.14.4.
385         * m4/inttypes_h.m4: Upgrade to gettext-0.14.4.
386         * m4/inttypes-pri.m4: Upgrade to gettext-0.14.4.
387         * m4/isc-posix.m4: Upgrade to gettext-0.14.4.
388         * m4/lcmessage.m4: Upgrade to gettext-0.14.4.
389         * m4/lib-ld.m4: Upgrade to gettext-0.14.4.
390         * m4/lib-link.m4: Upgrade to gettext-0.14.4.
391         * m4/lib-prefix.m4: Upgrade to gettext-0.14.4.
392         * m4/longdouble.m4: New file, from gettext-0.14.4.
393         * m4/longlong.m4: New file, from gettext-0.14.4.
394         * m4/nls.m4: Upgrade to gettext-0.14.4.
395         * m4/po.m4: Upgrade to gettext-0.14.4.
396         * m4/printf-posix.m4: New file, from gettext-0.14.4.
397         * m4/progtest.m4: Upgrade to gettext-0.14.4.
398         * m4/signed.m4: New file, from gettext-0.14.4.
399         * m4/size_max.m4: New file, from gettext-0.14.4.
400         * m4/stdint_h.m4: Upgrade to gettext-0.14.4.
401         * m4/uintmax_t.m4: Upgrade to gettext-0.14.4.
402         * m4/ulonglong.m4: Upgrade to gettext-0.14.4.
403         * m4/wchar_t.m4: New file, from gettext-0.14.4.
404         * m4/wint_t.m4: New file, from gettext-0.14.4.
405         * m4/xsize.m4: New file, from gettext-0.14.4.
406         * Makefile.am (ACLOCAL_AMFLAGS): New variable.
407         * configure.in (AM_GNU_GETTEXT_VERSION): Bump to 0.14.4.
408
409 2006-08-04  Clemens Fruhwirth  <clemens@endorphin.org>
410
411         * configure.in: 1.0.4-rc2
412
413 2006-08-04  Clemens Fruhwirth  <clemens@endorphin.org>
414
415         * luks/Makefile.am: Add a few regression tests 
416
417 2006-08-04  Clemens Fruhwirth  <clemens@endorphin.org>
418
419         * lib/setup.c (get_key): Applied patch from David Härdeman
420         <david@2gen.com> for reading binary keys from stdin using
421         the "-" as key file.
422
423 2006-08-04  Clemens Fruhwirth  <clemens@endorphin.org>
424
425         * lib/setup.c (__crypt_luks_add_key): For checking options struct
426         (optionsCheck) filter out CRYPT_FLAG_VERIFY and
427         CRYPT_FLAG_VERIFY_IF_POSSIBLE, so that in no case password verification is done
428         for password retrieval.
429
430 2006-08-04  Clemens Fruhwirth  <clemens@endorphin.org>
431
432         * configure.in: Merge Patch from http://bugs.gentoo.org/show_bug.cgi?id=132126 for sepol
433
434 2006-07-23  Clemens Fruhwirth  <clemens@endorphin.org>
435
436         * Applied patches from David Härdeman <david@2gen.com> to fix 64
437         bit compiler warning issues.
438
439 2006-05-19  Clemens Fruhwirth  <clemens@endorphin.org>
440
441         * Applied patches from Jonas Meurer
442           - fix terminal status after timeout
443           - add remark for --tries to manpage
444           - allow more than 32 chars from standard input.
445           - exit status fix for cryptsetup status.
446
447 2006-05-06  Clemens Fruhwirth  <clemens@endorphin.org>
448
449         * src/cryptsetup.c (yesDialog): Fix getline problem for 64-bit archs. 
450
451 2006-04-05  Clemens Fruhwirth  <clemens@endorphin.org>
452
453         * configure.in: Release 1.0.3.
454
455         * Applied patch by Johannes Weißl for more meaningful exit codes
456         and password retries
457
458 2006-03-30  Clemens Fruhwirth  <clemens@endorphin.org>
459
460         * lib/setup.c (__crypt_create_device): (char *) -> (const char *)
461
462 2006-03-30  Clemens Fruhwirth  <clemens@endorphin.org>
463
464         * Apply alignPayload patch from Peter Palfrader <weasel@debian.org>
465
466 2006-03-15  Clemens Fruhwirth  <clemens@endorphin.org>
467
468         * configure.in: 1.0.3-rc3. Most unplease release ever. 
469         * lib/setup.c (__crypt_create_device): More verbose error message.
470
471 2006-02-26  Clemens Fruhwirth  <clemens@endorphin.org>
472
473         * lib/setup.c: Revert to 1.0.1 key reading.
474
475 2006-02-25  Clemens Fruhwirth  <clemens@endorphin.org>
476
477         * man/cryptsetup.8: merge patch from Jonas Meurer
478
479 2006-02-25  Clemens Fruhwirth  <clemens@endorphin.org>
480
481         * configure.in: 1.0.3-rc2
482
483 2006-02-25  Clemens Fruhwirth  <clemens@endorphin.org>
484
485         * lib/libdevmapper.c (dm_create_device): Remove dup check here.
486         * lib/setup.c (__crypt_luks_open): Adopt same dup check as regular
487         create command.
488
489 2006-02-22  Clemens Fruhwirth  <clemens@endorphin.org>
490
491         * configure.in: Spin 1.0.3-rc1
492
493 2006-02-22  Clemens Fruhwirth  <clemens@endorphin.org>
494
495         * src/cryptsetup.c (action_create): Change defaulting.
496         (action_luksFormat): Change defaulting.
497
498         * lib/setup.c (parse_into_name_and_mode): Revert that default
499         change. This is FORBIDDEN here, as it will change cryptsetup
500         entire default. This is BAD in a non-LUKS world.
501
502 2006-02-21  Clemens Fruhwirth  <clemens@endorphin.org>
503
504         * luks/keyencryption.c (setup_mapping): Add proper size restriction to mapping. 
505         (LUKS_endec_template): Add more verbose error message.
506
507 2006-02-21  Clemens Fruhwirth  <clemens@endorphin.org>
508
509         * lib/libdevmapper.c (dm_query_device): Incorporate patch from
510         Bastian Blank
511         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344313
512
513 2006-02-21  Clemens Fruhwirth  <clemens@endorphin.org>
514
515         * src/cryptsetup.c: Rename show_error -> show_status.
516
517 2006-02-20  Clemens Fruhwirth  <clemens@endorphin.org>
518
519         * lib/libdevmapper.c (dm_create_device): Prevent existing mapping
520         from being removed when a mapping with the same name is added
521
522         * Add timeout patch from Jonas Meurer 
523
524         * src/cryptsetup.c: Remove conditional error printing to enable
525         printing the no-error msg (Command successful). Verify passphrase
526         for LUKS volumes.
527         (main): Add no-verify-passphrase
528
529         * lib/setup.c (parse_into_name_and_mode): Change default mode complition to essiv:sha256.
530
531 2006-01-04  Clemens Fruhwirth  <clemens@endorphin.org>
532
533         * src/cryptsetup.c (help): Merge patch from Gentoo: change gettext(..) to _(..).
534
535 2005-12-06  Clemens Fruhwirth  <clemens@endorphin.org>
536
537         * man/cryptsetup.8: Correct "seconds" to "microseconds" in the explaination for -i.
538
539 2005-11-09  Clemens Fruhwirth  <clemens@endorphin.org>
540
541         * src/cryptsetup.c (main): Add version string.
542
543 2005-11-08  Clemens Fruhwirth  <clemens@endorphin.org>
544
545         * lib/backends.c: compile fix. 
546
547 2005-09-11  Clemens Fruhwirth  <clemens@endorphin.org>
548
549         * lib/setup.c (get_key): Fixed another incompatibility from my
550         get_key rewrite with original cryptsetup.
551
552 2005-09-11  Clemens Fruhwirth  <clemens@endorphin.org>
553
554         * Merged changes from Florian Knauf's fk02 branch.
555
556 2005-09-08  Clemens Fruhwirth  <clemens@endorphin.org>
557
558         * lib/setup.c (get_key): Fixed another incompatiblity with
559         original cryptsetup.
560
561 2005-08-20  Clemens Fruhwirth  <clemens@endorphin.org>
562
563         * Checked in a patch from Michael Gebetsroither <gebi@sbox.tugraz.at>
564           to silent all confirmation dialogs.
565
566 2005-06-23  Clemens Fruhwirth  <clemens@endorphin.org>
567
568         * src/cryptsetup.c (help): print PACKAGE_STRING
569
570 2005-06-20  Clemens Fruhwirth  <clemens@endorphin.org>
571
572         * luks/keymanage.c (LUKS_set_key): Security check against header manipulation
573
574         * src/cryptsetup.c (action_luksDelKey): Safety check in luksDelKey
575
576         * luks/keymanage.c: Changed disk layout generation to align key material to 4k boundaries.
577         (LUKS_is_last_keyslot): Added LUKS_is_last_keyslot function.
578
579         * Applied patch from Bill Nottingham fixing a lot of prototypes.
580
581         * src/cryptsetup.c (action_luksOpen): Add support for -r flag.
582
583         * configure.in: Version bump 1.0.1
584
585 2005-06-16  Clemens Fruhwirth  <clemens@endorphin.org>
586
587         * lib/setup.c (__crypt_luks_open): Remove mem leaking of dmCipherSpec.
588         (get_key): Fix missing zero termination for read string. 
589
590 2005-06-12  Clemens Fruhwirth  <clemens@endorphin.org>
591
592         * luks/keyencryption.c (setup_mapping): Added CRYPT_FLAG_READONLY in case of O_RDONLY mode
593
594 2005-06-11  Clemens Fruhwirth  <clemens@endorphin.org>
595
596         * configure.in: Version bump 1.0.1-pre
597
598 2005-06-09  Clemens Fruhwirth  <clemens@endorphin.org>
599
600         * lib/utils.c: Added write_llseek_blocksize method to support sector wiping on sector_size != 512 
601         media
602
603 2005-05-23  Clemens Fruhwirth  <clemens@endorphin.org>
604
605         * lib/setup.c (crypt_luksDelKey): Added missing return statement
606         (setup_leave): Added missing return statement
607
608         * luks/keyencryption.c (clear_mapping): Added missing return statement
609
610 2005-05-19  Clemens Fruhwirth  <clemens@endorphin.org>
611
612         * lib/utils.c (write_blockwise, read_blockwise): Changed to soft bsize instead of SECTOR_SIZE
613
614         * luks/keymanage.c (wipe): Changed open mode to O_DIRECT | O_SYNC, and changed write 
615         to use the blockwise write helper
616
617 2005-04-21  Clemens Fruhwirth  <clemens@endorphin.org>
618
619         * man/cryptsetup.8: Corrected an error, thanks to Dick Middleton.
620
621 2005-04-09  Clemens Fruhwirth  <clemens@endorphin.org>
622
623         * luks/sha/hmac.c: Add 64 bit bug fix courtesy to 
624         Oliver Paukstadt <pstadt@sourcentral.org>.
625
626         * luks/pbkdf.c, luks/keyencryption.c, luks/keymanage.c, luks/af.c: Added a license 
627         disclaimer and remove option for "any future GPL versions".
628
629 2005-03-25  Clemens Fruhwirth  <clemens@endorphin.org>
630
631         * configure.in: man page Makefile. Version bump 1.0.
632
633         * man/cryptsetup.8: finalize man page and move to section 8.
634
635         * src/cryptsetup.c (action_luksFormat): Add "are you sure" for interactive sessions.
636
637         * lib/setup.c (crypt_luksDump), src/cryptsetup.c: add LUKS dump command
638
639 2005-03-24  Clemens Fruhwirth  <clemens@endorphin.org>
640
641         * src/cryptsetup.c, luks/Makefile.am (test), lib/setup.c (setup_enter): 
642         rename luksInit to luksFormat
643
644 2005-03-12  Clemens Fruhwirth  <clemens@endorphin.org>
645
646         * man/cryptsetup.1: Add man page.
647
648         * lib/setup.c: Remove unneccessary LUKS_write_phdr call, so the
649         phdr is written after passphrase reading, so the user can change
650         his mind, and not have a partial written LUKS header on it's disk.
651
652 2005-02-09  Clemens Fruhwirth  <clemens@endorphin.org>
653
654         * luks/keymanage.c (LUKS_write_phdr): converted argument phdr to
655         pointer, and make a copy of phdr for conversion
656
657         * configure.in: Version dump.
658
659         * luks/keyencryption.c: Convert to read|write_blockwise.
660
661         * luks/keymanage.c: Convert to read|write_blockwise.
662
663         * lib/utils.c: Add read|write_blockwise functions, to use in
664         O_DIRECT file accesses. 
665
666 2004-03-11 Thursday 15:52   Christophe Saout <christophe@saout.de>
667
668         * lib/blockdev.h: BLKGETSIZE64 really uses size_t as third
669           argument, the rest is wrong.
670
671 2004-03-10 Wednesday 17:50   Christophe Saout <christophe@saout.de>
672
673         * lib/: libcryptsetup.h, libdevmapper.c: Small fixes.
674
675 2004-03-09 Tuesday 21:41   Christophe Saout <christophe@saout.de>
676
677         * lib/internal.h, lib/libcryptsetup.h, lib/libdevmapper.c,
678           lib/setup.c, po/de.po, src/cryptsetup.c: Added internal flags to
679           keep track of malloc'ed return values in struct crypt_options and
680           add a function to free the memory. Also add a readonly flag to
681           libcryptsetup.
682
683 2004-03-09 Tuesday 16:03   Christophe Saout <christophe@saout.de>
684
685         * ChangeLog, configure.in, setup-gettext, lib/Makefile.am,
686           lib/backends.c, lib/blockdev.h, lib/gcrypt.c, lib/internal.h,
687           lib/libcryptsetup.h, lib/libdevmapper.c, lib/setup.c,
688           lib/utils.c, po/de.po, src/Makefile.am, src/cryptsetup.c: More
689           reorganization work.
690
691 2004-03-08 Monday 01:38   Christophe Saout <christophe@saout.de>
692
693         * ChangeLog, Makefile.am, acinclude.m4, configure.in,
694           lib/Makefile.am, lib/backends.c, lib/blockdev.h, lib/gcrypt.c,
695           lib/libdevmapper.c, lib/setup.c, lib/utils.c, po/de.po,
696           src/Makefile.am: BLKGETSIZE64 fixes and started modularity
697           enhancements
698
699 2004-03-04 Thursday 21:06   Christophe Saout <christophe@saout.de>
700
701         * Makefile.am, po/de.po, src/cryptsetup.c, src/cryptsetup.h: First
702           backward compatible working version.
703
704 2004-03-04 Thursday 00:42   Christophe Saout <christophe@saout.de>
705
706         * NEWS, AUTHORS, ChangeLog, Makefile.am, README, autogen.sh,
707           configure.in, setup-gettext, po/ChangeLog, po/LINGUAS,
708           po/POTFILES.in, po/de.po, src/cryptsetup.c, src/cryptsetup.h,
709           src/Makefile.am (utags: initial): Initial checkin.
710
711 2004-03-04 Thursday 00:42   Christophe Saout <christophe@saout.de>
712
713         * NEWS, AUTHORS, ChangeLog, Makefile.am, README, autogen.sh,
714           configure.in, setup-gettext, po/ChangeLog, po/LINGUAS,
715           po/POTFILES.in, po/de.po, src/cryptsetup.c, src/cryptsetup.h,
716           src/Makefile.am: Initial revision