Tryton - Issues

 

Issue4161

Title Replace custom support of bcrypt and sha1 by passlib
Priority feature Status testing
Superseder Nosy List ced, pokoli, reviewbot
Type feature request Components trytond, web_user
Assigned To ced Keywords review
Reviews 51461002
View: 51461002

Created on 2014-09-09.17:22:03 by ced, last changed by ced.

Messages
review51461002 updated at https://codereview.tryton.org/51461002/#ps60001
review51461002 updated at https://codereview.tryton.org/51461002/#ps40001
review51461002 updated at https://codereview.tryton.org/51461002/#ps20001
review51461002 updated at https://codereview.tryton.org/51461002/#ps1
msg42789 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-08-07.22:58:32
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.
msg17992 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2014-09-09.17:22:02
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
History
Date User Action Args
2018-08-10 23:03:24cedsetstatus: in-progress -> testing
2018-08-08 23:36:44reviewbotsetmessages: + msg42810
2018-08-08 20:01:52reviewbotsetmessages: + msg42804
2018-08-08 12:36:22reviewbotsetmessages: + msg42798
2018-08-07 23:01:56reviewbotsetnosy: + reviewbot
messages: + msg42790
2018-08-07 22:58:32cedsetreviews: 51461002
messages: + msg42789
keyword: + review
2018-08-07 22:56:38cedsetstatus: unread -> in-progress
assignedto: ced
component: + trytond, web_user
2014-09-09 17:36:09pokolisetnosy: + pokoli
2014-09-09 17:22:03cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)