Replace custom support of bcrypt and sha1 by passlib
We could probably safe some lines of code by re-using passlib.
Fo bcrypt, the migration should not be to difficult and neither for sha1 (aka sha1_crypt)
https://pypi.python.org/pypi/passlib
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Cédric Krier added type::feature + 1 deleted label
added type::feature + 1 deleted label
- Cédric Krier assigned to @ced
assigned to @ced
- Cédric Krier added trytond web-user + 1 deleted label and removed 1 deleted label
- Author Owner
Here is review51461002 which keep the old methods but update the hash on the first login. This should progressively migrate the password hashes and allow to remove the code on the next major release.
I still have to update web_user with the same design if we agree on this one. review51461002 updated at https://codereview.tryton.org/51461002/#ps1
review51461002 updated at https://codereview.tryton.org/51461002/#ps20001
review51461002 updated at https://codereview.tryton.org/51461002/#ps40001
review51461002 updated at https://codereview.tryton.org/51461002/#ps60001
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
New changeset 182ba1d53b16 by Cédric Krier in branch 'default':
Use passlib
https://hg.tryton.org/modules/web_user/rev/182ba1d53b16- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset cc5aba3b12c7 by Cédric Krier in branch 'default':
Use passlib
https://hg.tryton.org/trytond/rev/cc5aba3b12c7New changeset bbe233019d27 by Cédric Krier in branch 'default':
Use passlib
https://hg.tryton.org/tryton-env/rev/bbe233019d27- Ningú mentioned in issue #12936 (closed)
mentioned in issue #12936 (closed)