Password hashing in Django

Posted by Philip Mais on Stack Overflow See other posts from Stack Overflow or by Philip Mais
Published on 2011-01-30T21:47:17Z Indexed on 2011/01/30 23:25 UTC
Read the original article Hit count: 219

Filed under:
|
|

I'm trying to integrate vBulliten and Django's user databases. I know vB uses a md5 algorithm to hash it's passwords, with a salt. I have the salt data and the password for each vB user, and would like to know how to import those accounts onto Django.

I've tried the obvious, changing the Django user's password to;

md5$vb's_salt$vb's_password

This just throws back Django's log-in form, with a message saying "username and password does not match"

Any ideas?

© Stack Overflow or respective owner

Related posts about django

Related posts about passwords