On Tue, Mar 15, 2011 at 12:45:59AM +0100, Rudolf Deilmann wrote: > On Mon, 14 Mar 2011 23:10:37 +0100 > Milan Broz <mbroz@xxxxxxxxxx> 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@xxxxxxxxxxx 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 _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt