RandomLib - deprecated PHP functions warning
PufferPanel will not work in PHP7.2 and does abort with warnings on PHP7.1 when enabling dev mode. It use third party library RandomLib.
I'd recommend to replace RandomLib with this version maybe: https://github.com/paragonie/RandomLib
It does not use deprecated mcrypt
LordRalex last edited by LordRalex
I will have to determine what code actually uses that library, and see if I can just avoid using one all-together.
I knew mcrypt was deprecated, and removed the dependency on it.
Found it: https://github.com/PufferPanel/PufferPanel/blob/master/src/core/components/authentication.php#L140
That is the only call referencing this lib, so we can just use calls similar to https://github.com/PufferPanel/PufferPanel/blob/master/src/core/components/authentication.php#L194 in order to replace it completely.
Please open an issue on our GitHub so we can track this. https://github.com/PufferPanel/PufferPanel/issues
LordRalex last edited by
I have removed this lib and dependency from our code, so it should function once the next release is live. Thanks.
puffrfish last edited by
PufferPanel and pufferd v1.2 have been released https://community.pufferpanel.com/topic/718/pufferpanel-v1-2-pufferd-v1-2-docker-and-pufferd-packages