On Wed, Oct 05, 2011 at 09:27:26PM -0400, .. ink .. wrote: [...] > Thats where i got the key file length from. Since my program interfaces with > cryptsetup interactively, i though creating a key file with the maximum size > allowed will be more secured. > > Whats the optimum key file size with the above output? > Whats the optimum key file size in general? There is not really one, as longer is cheap and cannot be worse. My rule of thumb is: Conservative Entropy estimation as basis and then use 2x ... 10x that length. > The above output seem to suggest 32 bytes files but whats the harm in using > 512 bytes?(the maximum allowed) Nothing at all. Go for 512 Bytes. 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