[nSLUG] Crypt in Perl

George N. White III gnwiii at gmail.com
Wed Jan 7 13:32:27 AST 2009


On Wed, Jan 7, 2009 at 11:58 AM, D G Teed <donald.teed at gmail.com> wrote:

> 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?

DIfferent systems use different defaults, perl just
accepts whatever crypt() provides, so you may need
to find a perl library that lets you choose between
DES, md5, blowfish, ...

See: <http://kbase.redhat.com/faq/docs/DOC-6393>

-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia



More information about the nSLUG mailing list