summaryrefslogtreecommitdiff
path: root/addons/auth_crypt/auth_crypt.py
AgeCommit message (Collapse)Author
2015-12-17[REF] auth_crypt: move files in models directoryKinjal Mehta
2015-10-01Revert "[IMP] auth_crypt: update to Passlib 1.6"Olivier Dony
Unfortunately Ubuntu LTS does not have passlib 1.6 yet, even though Debian Stable has it now, so for the sake of making life easier for everybody we'll stick with passlib 1.5 for one more version. This reverts commit c950224ef78dd5c63325d6a194d93601789f3ca6.
2015-09-30[IMP] auth_crypt: update to Passlib 1.6Xavier Morel
Debian Jessie provides Passlib 1.6 so we're not bound to 1.5 anymore. Use 1.6's "deprecated=auto" feature: will automatically mark any hash other than the default as "to update" rather than having to list all of the supported hashes to deprecate (and remember to update in lockstep with the schemes list). When not specified explicitly, the default hash is the first one in the schemes list.
2015-07-30[MERGE] forward port of branch 8.0 up to 030b157Christophe Simonis
2015-07-29[MERGE] Forward-port of latest bugfixes from saas-3 up to ↵Olivier Dony
cc5860fbcf86568f2ca7404cf8c47e41357c0f3d
2015-07-29[FIX] auth_crypt: use system random number generatorOlivier Dony
Switch to system random as number generator instead of the default PRNG, which is not recommended for generating security-related values such as unique tokens. (Complements parent commit) Closes #7761
2015-07-29[FIX] auth_crypt: safer import of base moduleWolfgang Taferner
Commit 856bc6f2b147970245f96e26d882f114c32e035c may cause an issue if the auth_crypt module is loaded before the base module. That should never happen in normal circumstances, but forcing an explicit import does not hurt and makes it safer. Closes #6742
2015-04-13[MERGE] forward port of branch 8.0 up to 8ac8281Christophe Simonis
2015-04-10[FIX] apply same visibility rules as baseOlivier Dony
2015-04-10[FIX] apply same visibility rules as baseOlivier Dony
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-07-06[MERGE] new v8 api by rcoRaphael Collet
A squashed merge is required as the conversion of the apiculture branch from bzr to git was not correctly done. The git history contains irrelevant blobs and commits. This branch brings a lot of changes and fixes, too many to list exhaustively. - New orm api, objects are now used instead of ids - Environements to encapsulates cr uid context while maintaining backward compatibility - Field compute attribute is a new object oriented way to define function fields - Shared browse record cache - New onchange protocol - Optional copy flag on fields - Documentation update - Dead code cleanup - Lots of fixes
2014-06-19[IMP] auth_crypt: port encrypt-at-install from f29ff5eXavier Morel
also move utility methods to class bottom to improve reading experience (hopefully)
2014-06-19[IMP] auth_crypt: variables namingXavier Morel
2014-06-19[IMP] auth_crypt: simplify get_pwXavier Morel
2014-06-19[IMP] auth_crypt: automatically upgrde deprecated hashes on loginXavier Morel
2014-06-19[IMP] auth_crypt: upgrade default kdf to pbkdf2_sha512Xavier Morel
Applies to new and yet-to-be-encrypted users, existing already-encrypted will keep logging in as usual, their password storage will be upgraded on next password *change*.
2014-06-19[IMP] auth_crypt: port to passlib instead of using embedded/hand-rolled md5cryptXavier Morel
2014-06-18[FIX] auth_crypt: encrypt all passwords at installationOlivier Dony
When `base_crypt` was updated for v7, the auto-encryption at installation was dropped, with user passwords only encrypted on-demand whenever the user would connect. It is important to encrypt all passwords immediately to prevent password compromission for user who do not login often or even for deactivated users who are not allowed to login anymore. Fixes https://bugs.launchpad.net/openobject-addons/+bug/1280152 Based on LP merge proposal by Nicolas Bessi (Camptocamp): https://code.launchpad.net/~camptocamp/openobject-addons/improve_auth_crypt_3_please_launchpad_work-nbi/+merge/206476
2013-08-01[FIX]auth_crypt: was storing password when passsing by res.users create, ↵Denis Ledoux
like auth_signup bzr revid: dle@openerp.com-20130801162704-fbvghil7yir8zm8c
2013-08-01[FIX]auth_crypt: check_credentials checking if there is a password stored, ↵Denis Ledoux
if not, not trying to crypt anything and raise bzr revid: dle@openerp.com-20130801151539-z0bes7ylx5qwa8tw
2012-12-19[IMP] auth_crypt add sha256 from enhance_base_crypt_trunk (not enabled by ↵Antony Lesuisse
default) bzr revid: al@openerp.com-20121219113339-vhstwyo51jw0znqw
2012-12-19[IMP] auth_crypt base_crypt cleanupAntony Lesuisse
bzr revid: al@openerp.com-20121219112031-mtogxyq1fxsbopz0