Return-Path: Received: from v4.tansi.org (ns.km33513-03.keymachine.de [87.118.94.3]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 15 Mar 2011 02:02:42 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by v4.tansi.org (Postfix) with ESMTPA id AB4AE205249 for ; Tue, 15 Mar 2011 02:02:42 +0100 (CET) Date: Tue, 15 Mar 2011 02:02:42 +0100 From: Arno Wagner Message-ID: <20110315010242.GB23585@tansi.org> References: <4D7E53E5.3040007@redhat.com> <20110314221329.19d588ea@gmail.com> <4D7E925D.2010802@redhat.com> <20110315004559.091a1b53@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110315004559.091a1b53@gmail.com> 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 On Tue, Mar 15, 2011 at 12:45:59AM +0100, Rudolf Deilmann wrote: > On Mon, 14 Mar 2011 23:10:37 +0100 > Milan Broz wrote: [...] > It seems to be a problem with (unusual) large keyfiles. > Sampe keyfile generation: > > for dat in `seq 1 65`; do head -c "$x" /dev/urandom | \\ > openssl enc -base64 -A ; echo ; done >keyfile > > On my machine, $x greater than 90 results in different internal keys > for 'cat keyfile | cryptsetup ' and 'cryptsetup --key-file keyfile'. If > the key-file is even large, I get at least an error message. Sample > keyfile ( x=91 ) attached or at http://pastebin.com/PeLUZ5a4, if the > mailing list removes attachements. Wups, buffer overflow or cutdown (with the later being a whole lot better, but still a problem)? Arno -- 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