[pmwiki-users] "PHP Deprecated: crypt()..."

pce at accesswave.ca pce at accesswave.ca
Thu Jul 5 08:59:43 PDT 2018


Hello, Petko-

I haven't tried updating to 2.2.108 yet, but I will be doing that shortly.

To answer your questions:

1. Yes, I can log in.
2. I don't know the users' passwords, but I doubt that very short ones 
exist.
3. It's quite likely that some of them were created by very old PHP 
versions, but none was migrated from a different operating system.

I notice that some of the encrypted passwords are much shorter than 
others, e.g.

$1$4TkD8gnQ$rojTv9bGI/lel/e38yvra/
$6$CIYQpx50ggMe$EHe4EtLNxo6L40SUQ2ge8ohZ83NXvljErVjGDuwqU2vV.FFdzWuGIEojsnsoVriTWj8GpuCSCNrQKqgOl0gza/

Am I going to have to write to all of my users to ask them to test 
whether they can log in or not? Does the encrypted password length offer 
any clue as to whom I should be writing?

Thanks!

--- Peter



On 2018-07-05 12:40 PM, Petko Yotov wrote:
> I've released 2.2.108 which should handle correctly old PmWiki 
> password attributes * or @ which are not valid crypto salts and cause 
> the warning. Please try it and report if this solves your problem or not.
>
> Can you login at all? If not, are these passwords very short (< 4 
> characters) or created by very old PHP versions, or was the wiki 
> migrated from a different operating system than your current one (eg. 
> Windows->Linux)? If so, you may have to re-type or re-generate your 
> passwords on the current server.
>
> Petko
>
> On 05/07/2018 15:24, pce at accesswave.ca wrote:
>> I'm getting the following error in my Apache error log:
>>
>> mod_fcgid: stderr: PHP Deprecated:  crypt(): Supplied salt is not
>> valid for DES. Possible bug in provided salt format. in
>> /home/www/vdgsa.org/wiki/pmwiki.php on line 519
>>
>> There is a reference to this on the PMWiki website's "Troubleshooting"
>> page <https://www.pmwiki.org/wiki/PmWiki/Troubleshooting>,
>> recommending that all occurrences of crypt() be replaced with
>> pmcrypt(). Unfortunately, the above error message refers to a line in
>> pmcrypt itself, so that's not going to work, surely.
>>
>> I'm running version 2.2.107 of pmwiki, and PHP 7.0.27.
>>
>> Any suggestions?
>>
>> --- Peter Payzant
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list