Subject: Re: crypt in 1.3.2 returning different/bad results vs. 1.2.1
To: None <current-users@NetBSD.ORG>
From: Gerald C. Simmons <email@example.com>
Date: 07/21/1998 08:14:28
Manuel Bouyer wrote:
> From firstname.lastname@example.org Tue Jul 21 02:47:59 1998
> Date: Tue, 21 Jul 1998 11:23:35 +0200
> From: Manuel Bouyer <email@example.com>
> To: "Gerald C. Simmons" <firstname.lastname@example.org>
> Cc: current-users@NetBSD.ORG
> Subject: Re: crypt in 1.3.2 returning different/bad results vs. 1.2.1
> References: <199807202015.NAA00260@dakkon.darykon.cet.com>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> X-Mailer: Mutt 0.76e
> In-Reply-To: <199807202015.NAA00260@dakkon.darykon.cet.com>; from Gerald C. Simmons on Mon, Jul 20, 1998 at 01:15:39PM -0700
> On Jul 20, Gerald C. Simmons wrote
> > Why would a call to crypt for password authentication in an application,
> > return matching results in NetBSD 1.2.1, and mismatching results in 1.3.2,
> > even when the app is re-built under 1.3.2.
> > crypt(pwd)=XQxQcWeBlFZkg doesn't match XQtYIu1Gtv6fY
> > ^ ^
> > | |
> > returned from crypt for password given |
> > |
> > returned from crypt for user simmons -------/
> > Also, XQtYIu1Gtv6fY is what shows for simmons using vipw.
> > Again, this works under NetBSD-1.2.1
> Could'nt this be a difference between domestic and exportable versions of
> crypt ? I guess if crypt would really be different between 1.2 and 1.3, there
> would have been big problems with passwd files at upgrade time.
> How long is you passwd ? did you try with a different passwd ?
> Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
I started out with the exportable version of secr.tgz, then updated to the
domestic version of secr. I got the same results.
I have tried different password and changing the password.