Date: Sat, 14 Feb 2015 11:33:10 -0600 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: "Derek (freebsd lists)" <482254ac@razorfever.net> Cc: freebsd-security@FreeBSD.org, John-Mark Gurney <jmg@funkthat.com>, "A.J. Kehoe IV \(Nanoman\)" <nanoman@nanoman.ca>, delphij@FreeBSD.org Subject: Re: [patch] libcrypt & friends - modular crypt format support in /etc/login.conf Message-ID: <20150214173310.GD37668@over-yonder.net> In-Reply-To: <54D9F8DF.7070904@razorfever.net> References: <54D9F8DF.7070904@razorfever.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 10, 2015 at 07:26:07AM -0500 I heard the voice of Derek (freebsd lists), and lo! it spake thus: > > 2. introduces a new api, crypt_makesalt which will generate an > appropriate salt for any algorithm selected It has been an endlessly-repeated source of pain to me that there isn't a standard API for this, and it's just been into the wound[0] that there isn't even a NON-standard one, and so I have to guess and re-implement any time I want to use crypt(3) for anything except /etc/passwd. Of course, I want it in non-C, but one problem at a time... If you accomplish nothing else with this, I'll happily fall at your feet just for this 8-} [0] By a hydraulic press, I think. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150214173310.GD37668>