|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re: comparing md5 hashed passwordsby hesco (Deacon) |
| on Feb 16, 2006 at 15:03 UTC ( [id://530765]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
This works like a charm, authenticating plain text tokens. But I haven't been able to figure out how to get it to work against digested passwords. I must be missing something here:
I'm using some code that wraps around DBIx::UserDB to build and manipulate a database of authentication keys. I want to access those tables with the CGI::Application::Plugin::Authentication to guard the entrance to applications built behind that front door. The four users above all have the password "password", encoded, to the best of my knowledge using the method indicated by their username. I changed this line of code in the CreateUser subroutine to make the changes.
I changed this line of code in the DRIVER definition to test my ability to connect. Is there some other way I should be doing this? -- Hugh
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||