This will work, but it is not really 2-factor, as the key-file will not be "something you have". In fact, "something stored on disk" is already done by LUKS, in the form of the salts and the key. If you store part of the passphrase on an USB-Key, that may be borderline 2-factor, but I doubt it really increases security. Arno On Sun, Oct 16, 2011 at 11:44:03PM -0400, .. ink .. wrote: > I want to add the ability to create create and access volumes using two > factors, a passphrase and a key file. What is the best way to achieve this? > > The simplest way to do it i can think of is to read the file and then append > the passphrase at the beginning, in the middle or at the end of it. > > Will this be adequate? what is the best way to do this or is it a bad idea? > _______________________________________________ > dm-crypt mailing list > dm-crypt@xxxxxxxx > http://www.saout.de/mailman/listinfo/dm-crypt -- 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