I need help setting up my own authority
I need help setting up my own authority
Hey guys ,
well like the topic name already says , i am having problems settings up my own authority (@pru )
I use the common script(http://bazaar.launchpad.net/~armagetron ... ork/files/).
And I am using a PHPBB3 forum , so I thought this should be no problem , since @forums uses the same script and phpbb3 as well.
But somehow something seems to be wrong with the hashing.
Always when i try to log in I get the following error message:http://bthost.de/bthost/files/25.08.2009/test.png.
You can have a look at the script here
I really have no clue what might cause this error )=
well like the topic name already says , i am having problems settings up my own authority (@pru )
I use the common script(http://bazaar.launchpad.net/~armagetron ... ork/files/).
And I am using a PHPBB3 forum , so I thought this should be no problem , since @forums uses the same script and phpbb3 as well.
But somehow something seems to be wrong with the hashing.
Always when i try to log in I get the following error message:http://bthost.de/bthost/files/25.08.2009/test.png.
You can have a look at the script here
I really have no clue what might cause this error )=
- Attachments
-
- pru_auth.zip
- (7.65 KiB) Downloaded 132 times
Last edited by AI Teâm on Wed Aug 26, 2009 11:35 am, edited 1 time in total.
Re: I need help settings up my own authority
Here is a example containing the facts written into the mysql db:
Username: testuser
Password(unhashed): Testuserpw
Password(md5): $H$9kHMmZ0jI77QEqK5p.L/9Cgiu1pvss.
Salt: dae83002bf70d618
Username: testuser
Password(unhashed): Testuserpw
Password(md5): $H$9kHMmZ0jI77QEqK5p.L/9Cgiu1pvss.
Salt: dae83002bf70d618
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
Re: I need help settings up my own authority
The script is expecting the more generic 32 character hexadecimal only hash as returned by the php md5() function, rather than the shadow style hash you have there.AI Teâm wrote:$H$9kHMmZ0jI77QEqK5p.L/9Cgiu1pvss
Re: I need help setting up my own authority
Yes , but actually this makes no sence , since @forums uses the same script and PHPBB3.0 as well :S
Re: I need help setting up my own authority
At least for phpbb 2, Tank had to modify the way passwords are stored in the database. I suppose that's still the case for 3.
Re: I need help setting up my own authority
Oh , yes that might be it.
Well then I will have to try to do the same
Well then I will have to try to do the same
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
Re: I need help setting up my own authority
The only modification was for the bmd5 method because of the brokenness in Armagetron. I'm still thinking that the problem is with whatever generated that hash, it really should be hexadecimal (0-9,a-f) characters only.Z-Man wrote:At least for phpbb 2, Tank had to modify the way passwords are stored in the database. I suppose that's still the case for 3.
Re: I need help setting up my own authority
Well but my PHPBB3.0 uses md5() , do you think this might cause the problem?
-
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
Re: I need help setting up my own authority
This is a PHPass hash, not an md5() hash. You need to have phpBB hash passwords for armagetron's md5 and bmd5 hash methods.
Re: I need help setting up my own authority
So ill have to integrate phpass into my armaauth?
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
Re: I need help setting up my own authority
I think epsy may be yanking your leg a bit calling it "phpass," it just sounds... (I read it as php-ass, not p-h-pass...)
As for why you have the wrong type of md5 hass, I really have no idea. Maybe ask on some specialized php forums?
As for why you have the wrong type of md5 hass, I really have no idea. Maybe ask on some specialized php forums?
Re: I need help setting up my own authority
Well , this looks like the only way to go.