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