From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1653 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Help-wanted tasks for musl Date: Mon, 20 Aug 2012 03:58:54 +0200 Message-ID: <20120820015854.GH16602@port70.net> References: <20120819042611.GA8731@brightrain.aerifal.cx> <20120819114914.GD16602@port70.net> <20120819165652.GE16602@port70.net> <20120819172921.GF16602@port70.net> <20120820005128.GB27715@brightrain.aerifal.cx> <20120820013502.GG16602@port70.net> <20120820013950.GC27715@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1345427948 25855 80.91.229.3 (20 Aug 2012 01:59:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2012 01:59:08 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1654-gllmg-musl=m.gmane.org@lists.openwall.com Mon Aug 20 03:59:09 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1T3HGm-0007Lx-8S for gllmg-musl@plane.gmane.org; Mon, 20 Aug 2012 03:59:08 +0200 Original-Received: (qmail 30481 invoked by uid 550); 20 Aug 2012 01:59:06 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 30473 invoked from network); 20 Aug 2012 01:59:06 -0000 Content-Disposition: inline In-Reply-To: <20120820013950.GC27715@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1653 Archived-At: * Rich Felker [2012-08-19 21:39:50 -0400]: > On Mon, Aug 20, 2012 at 03:35:02AM +0200, Szabolcs Nagy wrote: > > it's not clear what the acceptable characters are.. > > originally the [a-zA-Z0-9./] is the base64 set used > > In all the other hashes we support, only the used base64 set is > allowed. Anything else is treated as a fatal error. Is this wrong? > old des format accepts any char for salt (except ':', '\n', '\0' and first char cannot be '_') new des format (starting with '_') and blowfish decode the salt so they depend on the base64 set > I agree it would be nicer to just pass the salt through the encryption > algorithm as part of the input, but in practice they all decode it as > a base64 number and use that number... > sha and md5 crypt does not decode the salt it is directly passed to a hash function