From owner-freebsd-security@FreeBSD.ORG Tue Sep 16 00:05:17 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CAD316A4B3 for ; Tue, 16 Sep 2003 00:05:17 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D5E443FBF for ; Tue, 16 Sep 2003 00:05:16 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.9/8.12.9) with ESMTP id h8G75Fi7005310; Tue, 16 Sep 2003 08:05:15 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h8G75FT3005309; Tue, 16 Sep 2003 08:05:15 +0100 (BST) (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h8G75WCF078889; Tue, 16 Sep 2003 08:05:32 +0100 (BST) (envelope-from mark@grondar.org) Message-Id: <200309160705.h8G75WCF078889@grimreaper.grondar.org> To: Peter Pentchev From: markm@freebsd.org In-Reply-To: Your message of "Tue, 16 Sep 2003 09:36:33 +0300." <20030916063632.GM397@straylight.oblivion.bg> Date: Tue, 16 Sep 2003 08:05:32 +0100 Sender: mark@grondar.org cc: freebsd-security@freebsd.org Subject: Re: md5 salt X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 07:05:17 -0000 Peter Pentchev writes: > The crypt.c and crypt-md5.c files in src/lib/libcrypt/ do not really > pose any restrictions on the salt, short of the obvious one of its > not containing a '$' character :) > > I guess going with the base64 characters would be a good bet. Any character that does not mess up master.passwd. So ":" is also a no-no. M -- Mark Murray iumop ap!sdn w,I idlaH