Return-Path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by mail.saout.de (Postfix) with ESMTP for ; Thu, 17 Mar 2011 14:47:21 +0100 (CET) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 1E99087567 for ; Thu, 17 Mar 2011 14:36:45 +0100 (CET) From: Ludwig Nussel Date: Thu, 17 Mar 2011 14:36:43 +0100 References: <4D7E53E5.3040007@redhat.com> In-Reply-To: <4D7E53E5.3040007@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103171436.43643.ludwig.nussel@suse.de> Subject: Re: [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0-rc1 (test release candidate) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Milan Broz wrote: > * Adds compatible support for loop-AES encryption type in loopaesOpen command. > > Linux dm-crypt in 2.6.38 and above supports loop-AES compatible mapping > (including multi-key and special CBC mode, all three modes are supported). > > If you have raw loop-AES keyfile (text file with uuencoded per-line keys), you can > access loop-AES volume using > cryptsetup loopaesOpen [--key-size 128] --key-file Do I gets this right, if multikey is not used loop aes is just equivalent to aes-cbc-plain? Couldn't the existing 'create' action be extended to just handle the loop-AES multikey mode as well? Ie no additional command? Note the IV produced by 'plain' is 32bit while loop-AES uses 64bit IIRC. Ie there's an incompatibility for volumes larger than 2TB. So you probably need to default to 'aes-cbc-plain64'. I guess that's the reason why you introduced plain64 in the first place. :-) cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)