I need help setting up my own authority

For all the help you need with Armagetron!
Post Reply
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

I need help setting up my own authority

Post by AI Teâm »

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 )=
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.
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Re: I need help settings up my own authority

Post by AI Teâm »

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
User avatar
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

Post by Tank Program »

AI Teâm wrote:$H$9kHMmZ0jI77QEqK5p.L/9Cgiu1pvss
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.
Image
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Re: I need help setting up my own authority

Post by AI Teâm »

Yes , but actually this makes no sence , since @forums uses the same script and PHPBB3.0 as well :S
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: I need help setting up my own authority

Post by Z-Man »

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.
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Re: I need help setting up my own authority

Post by AI Teâm »

Oh , yes that might be it.
Well then I will have to try to do the same :)
User avatar
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

Post by Tank Program »

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.
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.
Image
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Re: I need help setting up my own authority

Post by AI Teâm »

Well but my PHPBB3.0 uses md5() , do you think this might cause the problem?
epsy
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

Post by epsy »

This is a PHPass hash, not an md5() hash. You need to have phpBB hash passwords for armagetron's md5 and bmd5 hash methods.
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Re: I need help setting up my own authority

Post by AI Teâm »

So ill have to integrate phpass into my armaauth?
User avatar
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

Post by Tank Program »

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?
Image
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Re: I need help setting up my own authority

Post by AI Teâm »

Well , this looks like the only way to go.
Post Reply