[pmwiki-devel] crypt problem on WAMP
Petko Yotov
5ko at 5ko.fr
Fri Jun 4 09:50:22 CDT 2010
On Friday 04 June 2010 14:23:28, Peter Bowers wrote :
> I am having difficulty with some authorization code on a WAMP server
> and wondering if anybody can shed light...
>
> Here's what I've got in my config.php right now (minus comments):
>
> $hash0 = crypt('abc'); // as (:encrypt abc:) would output
Hello. I discovered that PHP 5.3 builds for Windows have buggy crypt()
function, notably, passwords needed to be at least 4 characters. See
http://www.pmwiki.org/wiki/PITS/01141
If you use a longer password, does it work correctly?
I am open to ideas on how PmWiki should deal with this, while maintaining
backward compatibility with existing wiki pages and already encrypted existing
passwords.
Thanks,
Petko
More information about the pmwiki-devel
mailing list