[pmwiki-users] DBAuth addition to AuthUser.php . . .

Patrick R. Michaud pmichaud at pobox.com
Wed Jul 20 19:14:55 CDT 2005


On Wed, Jul 20, 2005 at 07:08:00PM -0500, Benjamin Wilson wrote:
> Patrick R. Michaud wrote:
> >Are the encrypted passwords in the database 
> >not stored with a '{SHA}' prefix...?  
> 
> Database stores as char (32, I think). The only reason I realized they 
> were using sha1() is when I tried md5() and got an odd response then 
> went snooping through their code. The encryption is otherwise raw.

I think I'll probably code it such that the admin can provide 
a list of prefixes to add or encryptions to try.  Thanks.

Pm




More information about the pmwiki-users mailing list