[nSLUG] Crypt in Perl

Daniel Morrison draker at gmail.com
Wed Jan 7 13:17:23 AST 2009


2009/1/7 D G Teed <donald.teed at gmail.com>:
> I have an unmaintained open source web app which used crypt
> calls to test for passwords stored in flat files.  I copied it
> from a FreeBSD system with Perl 5.5.3 to a Redhat
> box with 5.8.8 and it can't validate the passwords.
>
> Does anyone happen to know there were changes
> to crypt in this time or it's workings has
> dependence on something?

Redhat uses md5 passwords, does it not?  crypt()ing a password with
DES and comparing it with an md5 hash will not work...

-D.



More information about the nSLUG mailing list