Reviewers: , Description: tryton: Migrate from SHA1 to bcrypt
Please review this at http://codereview.tryton.org/849002/ Affected files: M tryton/gui/window/view_form/view/form_gtk/char.py M tryton/gui/window/view_form/view/form_gtk/parser.py Index: tryton/gui/window/view_form/view/form_gtk/char.py =================================================================== --- a/tryton/gui/window/view_form/view/form_gtk/char.py +++ b/tryton/gui/window/view_form/view/form_gtk/char.py @@ -168,3 +168,7 @@ def toggle_visibility(self, button): self.entry.props.visibility = not self.entry.props.visibility + + +class BCrypt(Sha): + pass Index: tryton/gui/window/view_form/view/form_gtk/parser.py =================================================================== --- a/tryton/gui/window/view_form/view/form_gtk/parser.py +++ b/tryton/gui/window/view_form/view/form_gtk/parser.py @@ -519,7 +519,7 @@ from float import Float from integer import Integer from selection import Selection -from char import Char, Sha +from char import Char, Sha, BCrypt from float_time import FloatTime from checkbox import CheckBox from reference import Reference @@ -547,6 +547,7 @@ 'selection': (Selection, 1, False, False), 'char': (Char, 1, False, False), 'sha': (Sha, 1, False, False), + 'bcrypt': (BCrypt, 1, False, False), 'float_time': (FloatTime, 1, False, False), 'boolean': (CheckBox, 1, False, False), 'reference': (Reference, 1, False, False),
