Re: Basic Authentication

From: Date: Wed, 14 Jan 2009 19:03:43 +0000
Subject: Re: Basic Authentication
Groups: php.general 
Request: Send a blank email to php-general+get-286338@lists.php.net to get a copy of this message
What it is depends on what encryption routines you have installed. The algorithm to authenticate detects the algorithm based on the hash. 32-char : MD5 $1$ : SHA-1 $2$ : SHA-2 etc. (Apologies if I got my tokens/algorithms wrong) If you just toss MD5s in there, it should work, I think, if you have MD5 installed and available. It picks the best available when it adds a new entry. So an old file might look like: #your box came with MD5 installed joe:MD5 alice:MD5 #you installed SHA-2 bob:SHA-2 lee:SHA-2 At least, that's been my experience so far...

« previous php.general (#286338) next »