-
Committer:
Julien Thewys
-
Date:
2011-02-24 17:20:47 UTC
-
Revision ID:
jth@openerp.com-20110224172047-1lu68lzfsanfg0st
[ADD] base_crypt: added new password crypting schema based on PBKDF2.
See http://en.wikipedia.org/wiki/PBKDF2 .
The schema is 5 times slower than the MD5 based one and takes 30ms on my laptop.
So it is not ready to use as long as we don't have authentication sessions
and/or as we don't batch XMLRPC together (since every XMLRPC request will
trigger the encryption and add 30ms to the latency).
When authentication sessions are ready, just update the value of
password_crypter.default_crypter .