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