On Mon, 14 Mar 2011 23:10:37 +0100 Milan Broz <mbroz@xxxxxxxxxx> wrote: > yes, it is slow but is is generally usable. I tried to implement it Yes, it's fast enough for compatibility access of old disks. People should switch to xts, if they want better speed. > Can you please send me the keyfile (with replaced all keys with > zeroes or so > - I think the problem is just with EOL chars)? 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. mfg, rudi
Attachment:
keyfile
Description: Binary data
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt