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