|
|
Re: fud_update_user, fud_add_user patch [message #166643 is a reply to message #166642] |
Sat, 04 February 2012 08:32 |
NeXuS
Messages: 121 Registered: July 2010 Location: South Korea
Karma: 5
|
Senior Member Contributing Core Developer |
|
|
EDIT : FUDforum does not store passwords in plain text.
FUDforum supports 2 authentication models: straight MD5 hashing of password, or SHA1 hashing of (password concatenated with SHA1 hash of salt). If the salt is present, FUD assumes SHA1, otherwise plain MD5.
The fud_update_user and fud_add_user functions (which are intended for integration, and are not directly called by FUDforum) were simply wrongly coded and stored passwords in plaintext (thus login would not work, since it expects an hash). I just made sure that they use the most secure form possible, although it is slightly more expensive (two hashes for every authentication instead of one).
[Updated on: Sat, 04 February 2012 08:41] Report message to a moderator
|
|
|
|
Re: fud_update_user, fud_add_user patch [message #166650 is a reply to message #166649] |
Sun, 05 February 2012 15:24 |
NeXuS
Messages: 121 Registered: July 2010 Location: South Korea
Karma: 5
|
Senior Member Contributing Core Developer |
|
|
DaveQB wrote on Sun, 05 February 2012 15:01Umm so this patch is not needed for systems without funcitonal issues and hashed passwords?
Indeed, it is not needed on a functional forum. It is needed only if you want to manipulate user data via the API.
Quote:
It seems my forum is not using salt, so I would like it to. Do I wait for the next update??
I have not yet a full understanding of the inner workings of FUD, but one of the things I wish to do is have the salt be used by default. Look forward to it in one of the upcoming versions.
|
|
|
|
|