cryptsetup 1.5.0-rc1 Released on 2012-06-11. Please add it to the tree
cryptsetup 1.5.0-rc2 Released on 2012-06-20.
cryptsetup 1.5.0 Released on 2012-07-10.
cryptsetup-reencrypt seams worth a look. http://asalor.blogspot.cz/2012/08/re-encryption-of-luks-device-cryptsetup.html
Created attachment 323230 [details, diff] cryptsetup-1.5.0.ebuild.patch - Suggestions from bug #410275 included - Reencrypt useflag for cryptsetup-reencrypt - USE="static" mv also veritysetup & cryptsetup-reencrypt Please also consider adding the patch from bug #420015 and see bug #426986
I've added the attached ebuild to my local overlay. http://git.overlays.gentoo.org/gitweb/?p=user/mrueg.git;a=commit;h=f0c9657f00ccbed97c44408515d2af3816ff6a96 It is available via layman, if you want to test it.
New version is available - http://cryptsetup.googlecode.com/files/cryptsetup-1.5.1.tar.bz2 Cryptsetup 1.5.1 Release Notes Changes since version 1.5.0 The libcryptsetup library now tries to initialize device-mapper backend and loop devices only if they are really needed (lazy initializations). This allows some operations to be run by a non-root user. (Unfortunately LUKS header keyslot operations still require temporary dm-crypt device and device-mapper subsystem is available only to superuser.) Also clear error messages are provided if running as non-root user and operation requires privileged user. Veritysetup can be now used by a normal user for creating hash image to file and also it can create hash image if doesn't exist. (Previously it required pre-allocated space.) Added crypt_keyslot_area() API call which allows external tools to get exact keyslot offsets and analyse content. An example of a tool that searches the keyslot area of a LUKS container for positions where entropy is low and hence there is a high probability of damage is in misc/kesylot_checker. (Thanks to Arno Wagner for the code.) Optimized seek to keyfile-offset if key offset is large. Fixed luksHeaderBackup for very old v1.0 unaligned LUKS headers. Various fixes for problems found by several static analysis tools.
http://git.overlays.gentoo.org/gitweb/?p=user/mrueg.git;a=blob;f=sys-fs/cryptsetup/cryptsetup-1.5.1.ebuild works fine here. Meanwhile 1.6.0_rc1 was released: http://code.google.com/p/cryptsetup/wiki/Cryptsetup160
cryptsetup-1.6.0 released on 2013-01-14.
InCVS. Includes bug 420015 Bug 426986 pending on user input.