"be consistent" | |
PerlMonks |
comparing md5 hashed passwordsby hesco (Deacon) |
on Feb 16, 2006 at 10:59 UTC ( [id://530633]=perlquestion: print w/replies, xml ) | Need Help?? |
hesco has asked for the wisdom of the Perl Monks concerning the following question:
I'm finally meeting with some limited success in my tests with CGI::Application. I'm using the Plugin::Authentication module to control access, reading a user-group-acl database created and maintained by code which wraps DBIx::UserDB. It all works just fine when I'm using plain text passwords. But when I try to encrypt the passwords with md5, the whole thing breaks down pretty quick. Relevant code from my CGI::App module:
and my latest experiment with the code which creates the user who's password is tested:
I seem to have more options for how to encrypt it at the time of creation. I have found fewer models for how to encrypt the login password which gets checked against the database. But as these two tools are not quite written to interface with one another, I'd appreciate some guiance on how to make them play nice. Any ideas? -- Hugh
Back to
Seekers of Perl Wisdom
|
|