[pmwiki-users] Numeric passwords problem

ListAdmin d.blaas at hccnet.nl
Tue Aug 15 15:48:32 CDT 2006

There was a short discussion about a month ago on this subject (see below). However I have not seen a closure.
When I upgraded my site from 2.0.13 to 2.1.11 i got the same problem. Before (in 2.0.13) a numeric password (eg. 1234) was fine, but now it isn't anymore. I narrowed the problem down to the upgrade from 2.1 beta 19 to 2.1 beta 20. In beta 19 numeric password works; in beta 20 not anymore. The changelog for beta 20 says: 'Redesigned/improved handling of session authorization variables.', so I suspect that is where it went wrong.
I have protected lots of page-groups with numeric passwords and I would not like to change all of those because a lot of users are familiar with them.

So pm, would you please, please take a look at this? 
I am now sticking to 2.1 beta 19 but i would like to upgrade to 2.1.11. 

Greatings, Dirk Blaas

Earlier discussion:
Date: Wed, 19 Jul 2006 13:50:10 +0200
From: "Christophe David" <pmwiki at christophedavid.org>
Subject: Re: [pmwiki-users] numeric passwords
To: pmwiki-users at pmichaud.com
	<818fa0240607190450p200224b0k59ac3da6cd89c564 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

>>> >    It seems that (on my system ?) PmWiki passwords cannot be purely
>> numeric :
>>> >    $DefaultPasswords['read'] = crypt('A12345');  works OK
>>> >    while
>>> >    $DefaultPasswords['read'] = crypt('12345');  does not

It's got to be a limitation of the PHP crypt() function; AFAIK PmWiki

>> doesn't impose any restriction on passwords.
>> What version of PHP, and what OS?
>> Pm

I notice the same behaviour on PHP 4.4.0 FreeBSD and Windows.

It happens also when you set the password with action=attr : if it contains
only digits, the password does not work.

Any clue ?


More information about the pmwiki-users mailing list