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