From owner-freebsd-questions Wed May 17 21:50:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 6734A37B995 for ; Wed, 17 May 2000 21:50:11 -0700 (PDT) (envelope-from hacker@bolingbroke.com) Received: from fremont.bolingbroke.com (fremont.bolingbroke.com [216.102.90.210]) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id VAA54223; Wed, 17 May 2000 21:50:10 -0700 (PDT) Date: Wed, 17 May 2000 21:50:10 -0700 (PDT) From: Ken Bolingbroke To: freebsd-questions@FreeBSD.ORG Cc: Omachonu Ogali Subject: Re: MD5 --> DES ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 May 2000, Omachonu Ogali wrote: > On Wed, 17 May 2000, Ken Bolingbroke wrote: > > > So my question is, how do I create DES encrypted passwords from Perl? I > > tried compiling a new perl binary pointing at libdescrypt, but somehow > > crypt() still uses MD5. > > Your problem maybe that libcrypt was statically linked to the Perl binary, > in that case you will have to recompile and link to the new libcrypt > (libdescrypt) library. Well yes, I already tried doing that, as I noted in my first message. I downloaded the latest Perl source from CPAN, configured it, then went into config.sh and changed all the crypt references to descrypt. And yes, /usr/lib/libdescrypt* exists, after I built them from sources. Then I compile and test the new binary and it still makes MD5 passwords... Ken Bolingbroke hacker@bolingbroke.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message