SphereServer BugTracker - SphereServer
View Issue Details
0001566SphereServernew feature requestpublic08-01-09 22:4817-08-10 10:12
babidi 
ShiryuX 
normalfeatureN/A
resolvedfixed 
 
0.56c Nightly 
09-09-2008
None
None
0001566: md5passwords
it has been added the
ACCOUNT ADDMD5 name hash
so you can add a user from a db with hashed passwod.

but if you want to edit the password he has?

ie.
user register to website
sphere add account using hashed password.
user changes password on website.
sphere should upgrade the password.

the only way we had now is to have clear password
using account password=-clear_password-

but we have hased new password :|

i tried a little trick but didn't work.
by console set md5password=0
set password=md5_password
set md5passwords=1 console

equal

all other passwords re-hashed XD incuding the interested one :|

it will be nice to add some function to set password to hased one:|

thank you
No tags attached.
Issue History
08-01-09 22:48babidiNew Issue
08-01-09 22:48babidiNightly Version => 09-09-2008
08-01-09 22:48babidiExperimental Flags => None
08-01-09 22:48babidiOption Flags => None
01-03-09 10:58babidiNote Added: 0000176
01-05-09 06:16CorujaNote Added: 0000197
01-05-09 14:12babidiNote Added: 0000198
16-09-09 22:03ZiRKoTIssue Monitored: ZiRKoT
17-08-10 10:12ShiryuXStatusnew => resolved
17-08-10 10:12ShiryuXResolutionopen => fixed
17-08-10 10:12ShiryuXAssigned To => ShiryuX
17-08-10 10:12ShiryuXNote Added: 0000564

Notes
(0000176)
babidi   
01-03-09 10:58   
no consideration?
(0000197)
Coruja   
01-05-09 06:16   
You can use <MD5HASH <ARGS>> to make something be MD5
(0000198)
babidi   
01-05-09 14:12   
yes but i have the hashed password not the real password.
in the site database are stored md5 - sometimes sha1 also, with sphere i have to read the hased password from the database and set it to the sphere.
(0000564)
ShiryuX   
17-08-10 10:12   
- Added 0001566: MD5PASSWORD account function/property to instert or change a MD5 hash as password.
  This way you can call: "SERV.ACCOUNT foobar MD5PASSWORD f4d9ff51c527e8ef67d924d4f0a6db66"

Small delay, uh?