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