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