Date: Mon, 25 Jun 2012 20:22:49 +0200 From: "Christopher J. Ruwe" <cjr@cruwe.de> To: freebsd-questions@freebsd.org Subject: Re: changing md5 hashed for sha Message-ID: <20120625202249.1d872edf@dijkstra.cruwe.de> In-Reply-To: <444nq0mjjd.fsf@be-well.ilk.org> References: <20120623153710.36e7446f@dijkstra.cruwe.de> <444nq0mjjd.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/J2tPh7=N=DJvf7xeUd+anJL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 24 Jun 2012 18:28:38 -0400 Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> wrote: > "Christopher J. Ruwe" <cjr@cruwe.de> writes: >=20 > > For setting the dafault hash used to hash /etc/master.passwd, it has > > been recommended changing md5 for something more secure in the > > sense of being more expensive to crack. > > > > The handbook describes the procedure used in > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. > > Allegedly, hashes which were hashed with one of the sha-functions > > begin with the character $6$. > > > > Afer having changed my /etc/login.conf accordingly and having reset > > the passwords, the given there is not md5 anymore (I have tried > > with md5), but does not begin with the character $6$, but, as md5, > > with $1$, which is supposed to be md5-hashed. >=20 > I'm not following. Are you saying that you are resetting the passwords > after setting login.conf, but new passwords aren't being created with > the new hash type?=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Yes, you are following correctly that the hash mechanism did not appear to have changed. It was OSI-8 error on my part, as Mike Tancsa (one message later) helped me to understand. Cheers, --=20 Christopher J. Ruwe TZ: GMT + 2h --Sig_/J2tPh7=N=DJvf7xeUd+anJL Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJP6KyCAAoJEJTIKW/o3iwUefcQAM6ZBjgmgXpoGCQww3dToFmb ZEdCDQ2jtmhdzPozR/pH5f5aGMJslVcXW3dT9oE2qxtqXdL57sLbmo1Dfj6DxIM1 6Ef3ZPXPK7lROmO10sGOsGHUrJK5vmkp++/AvkTD7Hv9zUUmWSopIQAgT4yqzF2p Kt6RmaO8i7ueJdV3v7hGdIE4l9ZI6HEJ3F8gEzFHzj9hCfoSpquZ4QxdWOnT5HmN oVeOx8DCr/MH5gElvtfiGqVPcZE7tQBblj/gWwrTXaYpmRKJfSggl1EpUnXEbUFK mOdNvCthYlz/6adnWDP0k4MVWy+kpNz0WClXJ4+I04amXooOb6PHGci7l0OkBXeC Wof5tf6T4A+BSz+cPxuLkFuGv2ylOpFtfuNMqwlnDHzEjUUsfmE8bOLFeigMPWhg HK73yYQ1NKtyX5m1+8vqrSOJ4Dyg2Ytr1u0ys8Y5H1k9Ylvf5ZzS2KgBjRJsm+Uo +bU4JJAbkaKZ6kxDlii6LolEHw45eh3wbNIx+bQpHhiy5xYK3tPddFlCi9g2TwZJ J6XQKR4rbF5f8ZOF/GyBWipq2InZ533s+MV99aW5fVG+dFjG/S74Ctr+Zgz7dNiq 80rmy2SKp9BdEvrR0thDcsQCU+yzepjx76bDyIHfcwFHEOaRIR8CHawzgpSyNvzZ I80oxVnvXA/HeFOkWi3Y =/MuW -----END PGP SIGNATURE----- --Sig_/J2tPh7=N=DJvf7xeUd+anJL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120625202249.1d872edf>