Crypth in Users Password ?

caldas

Joined: 2006-03-09
Posts: 2
Posted: Thu, 2006-03-09 18:19

which crypth algorithm is used in the users password ?

I am creating a script to integrate the phphbb users informations to WordPress and Gallery2 ....

Phpbb and wordpress you use md5 but i cant find what Galllery2 you use.

Thanks !!!

 
jettyrat
jettyrat's picture

Joined: 2005-12-30
Posts: 32
Posted: Thu, 2006-03-09 23:16

Gallery2 uses md5, only salted. I don't think there is any way to 'un'salt it. I had a similar issue with bringing gallery users to phpbb2 before integrating to avoid collision errors.

If you bring users into gallery2 with the embed create user hook, it will take care of the password for you.

 
caldas

Joined: 2006-03-09
Posts: 2
Posted: Fri, 2006-03-10 02:15

I´am cathing the password digited by user in phpbb registration anda making a manual insert in the wordpress and gallery database.

With the password digited by user .. what i have to do to put this password in gallery2 format ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-03-10 08:00

what do you mean with "digited" ?

if you have the cleartext password, you can specify it in
GalleryEmbed::createUser and in ::upgradeUser.

btw: we plan to allow emApps to define the hashing method. but not in the very near future.