[pkg-php-pear] Bug#854592: dokuwiki: Unable to login, missing usr/share/php/Crypt/AES.php

Joost van den Berg jevdberg at gmx.net
Mon Feb 13 15:21:50 UTC 2017


Hi,

unfortunately the patch does not solve the problem.
I believe that the patch generates the wrong
links to phpseclib/Crypt/AES.php instead of
../phpseclib/Crypt/AES.php . Please find my modified
patch attached which results in:

ls /usr/share/php/Crypt/ -l
totaal 0
lrwxrwxrwx 1 root root 26 feb 13 06:25 AES.php -> ../phpseclib/Crypt/AES.php
lrwxrwxrwx 1 root root 27 feb 13 06:25 Base.php -> 
../phpseclib/Crypt/Base.php
lrwxrwxrwx 1 root root 31 feb 13 06:25 Blowfish.php -> 
../phpseclib/Crypt/Blowfish.php
lrwxrwxrwx 1 root root 26 feb 13 06:25 DES.php -> ../phpseclib/Crypt/DES.php
lrwxrwxrwx 1 root root 27 feb 13 06:25 Hash.php -> 
../phpseclib/Crypt/Hash.php
lrwxrwxrwx 1 root root 29 feb 13 06:25 Random.php -> 
../phpseclib/Crypt/Random.php
lrwxrwxrwx 1 root root 26 feb 13 06:25 RC2.php -> ../phpseclib/Crypt/RC2.php
lrwxrwxrwx 1 root root 26 feb 13 06:25 RC4.php -> ../phpseclib/Crypt/RC4.php
lrwxrwxrwx 1 root root 31 feb 13 06:25 Rijndael.php -> 
../phpseclib/Crypt/Rijndael.php
lrwxrwxrwx 1 root root 26 feb 13 06:25 RSA.php -> ../phpseclib/Crypt/RSA.php
lrwxrwxrwx 1 root root 32 feb 13 06:25 TripleDES.php -> 
../phpseclib/Crypt/TripleDES.php
lrwxrwxrwx 1 root root 30 feb 13 06:25 Twofish.php -> 
../phpseclib/Crypt/Twofish.php

After applying the modified patch,
apaches error_log now complains:

[Mon Feb 13 15:38:31.195635 2017] [:error] [pid 11065]
[client 127.0.0.1:36936] PHP Fatal error:
Class 'phpseclib\\Crypt\\Rijndael' not found in
/usr/share/php/phpseclib/Crypt/AES.php on line 59,
referer: 
http://localhost/dokuwiki/doku.php?id=start&do=login&sectok=0ed612230c760db559e

So although the file Crypt/AES.php is now found, it
cannot import other classes from there any further.

Joost


-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-phpseclib-path.patch
Type: text/x-patch
Size: 2006 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20170213/1df7e30d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3277 bytes
Desc: S/MIME-cryptografische ondertekening
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20170213/1df7e30d/attachment-0001.bin>


More information about the pkg-php-pear mailing list