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