Manage (generate/read) Salt within Authorization class
Issue #173
resolved
Originally reported on Google Code with ID 173
The salt is currently generated outside the Authorization class. This means we have
a global assumption (that some salt is generated). We should better put salt-management
inside the class to decouple it (the rest of phpLiteAdmin doesn't use the salt).
(This issue has first been mentioned as a comment in issue #170.)
Reported by crazy4chrissi
on 2013-02-09 21:28:37
Comments (6)
-
-
reporter yes, good idea.
Reported by
crazy4chrissi
on 2013-02-10 15:52:50 -
Here's a patch against r333. It moves the hash generation in Authorization's constructor and replaces SYSTEMPASSWORDENCRYPTED with ->system_password_encrypted.
Reported by
dreadnaut
on 2013-02-10 19:08:14<hr> * Attachment: hash-in-auth-r333.diff
-
reporter Thanks. Looks good. Please commit it to svn.
Reported by
crazy4chrissi
on 2013-02-15 14:41:25 -
This issue was closed by revision r338.
Reported by
dreadnaut
on 2013-02-15 22:57:27 - Status changed:Fixed
-
Thanks, committed as r338.
Reported by
dreadnaut
on 2013-02-15 22:58:35 - Log in to comment
Reported by
dreadnaut
on 2013-02-10 14:12:20 - Status changed:Accepted
- Labels added: Maintainability