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