9 Dec 2009 21:17
Better S2K functions for OpenPGP?
Daniel Franke <df <at> dfranke.us>
2009-12-09 20:17:35 GMT
2009-12-09 20:17:35 GMT
The discussion currently going on gnupg-dev about increasing the default iteration count for the S2K prompted me to wonder whether OpenPGP couldn't benefit from some more modern key-derivation algorithms. PBKDF2[1] is the most standard, while bcrypt[2] is also well-tested and popular, and scrypt[3], although new, seems to be superior to both of them. The advantage of scrypt is that it's hard in terms of space complexity as well as time complexity, greatly reducing the advantage given to an attacker who has the ability to build custom cryptographic hardware. [1] http://www.rsa.com/rsalabs/node.asp?id=2127 [2] http://www.openbsd.org/papers/bcrypt-paper.ps [3] http://www.tarsnap.com/scrypt.html -- -- Daniel Franke df <at> dfranke.us http://www.dfranke.us |----| =|\ \\\\ || * | -|-\--------- Man is free at the instant he wants to be. -----| =| \ /// --Voltaire
RSS Feed