Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 18 Nov 2009 11:25:15 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTP id 0169F4250002 for ; Wed, 18 Nov 2009 11:25:14 +0100 (CET) Date: Wed, 18 Nov 2009 11:25:15 +0100 From: Arno Wagner Message-ID: <20091118102515.GB30910@tansi.org> References: <4B032794.6090104@gmx.net> <20091118054555.GB28949@tansi.org> <4B03C5EE.7010702@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B03C5EE.7010702@gmx.net> Subject: Re: [dm-crypt] different default key sizes for CREATE and LUKSFORMAT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de I am not sure this really is a security issue. It may confuse users, but they will still be secure. Most probably use defaults anyways. But if we change this, I propose to make aes-cbc-essiv:sha256 the default for plain dm-crypt and to increase LUKS key length to 256 bits as well. The performance loss is apparently very small (10% or so). Arno On Wed, Nov 18, 2009 at 11:01:18AM +0100, Stefan Xenon wrote: > If the reason is historically only, it might be a kind of security issue > (low priority) because this behaviour could result in wrong expectations > of users on the system regarding the default key size. A user who learns > that the default key size (using "create") is 256 bit but uses > "luksFormat" (which uses 128 bit) instead, may be misleaded. Therefore > it may be better to harmonize both default values. > > Stefan > > > Arno Wagner schrieb: > > "create" is plain dm-crypt, luskFormat is creation of > > a LUKS header. I suspect the reason is historical, as > > these are two different encryption systems. > > > > Arno > > > > > > > > On Tue, Nov 17, 2009 at 11:45:40PM +0100, Stefan Xenon wrote: > >> Hi! > >> In the man page for cryptsetup is written regarding the option --key-size : > >> > >> "Can be used for create or luksFormat, all > >> other LUKS actions will ignore this flag, as the key-size is > >> specified by the partition header. Default is 128 for luksFormat > >> and 256 for create." > >> > >> I am wondering what is the reason for two different default key sizes? > >> > >> Thanks > >> Stefan > >> > >> _______________________________________________ > >> dm-crypt mailing list > >> dm-crypt@saout.de > >> http://www.saout.de/mailman/listinfo/dm-crypt > >> > > > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt > -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier