RandomLib - deprecated PHP functions warning #706
Replies: 3 comments
-
LordRalex wrote at Oct 19 2017 18:24:58 UTC: 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 |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Oct 19 2017 18:24:58 UTC: I have removed this lib and dependency from our code, so it should function once the next release is live. Thanks. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at Oct 19 2017 18:24:58 UTC: PufferPanel and pufferd v1.2 have been released https://community.pufferpanel.com/topic/718/pufferpanel-v1-2-pufferd-v1-2-docker-and-pufferd-packages |
Beta Was this translation helpful? Give feedback.
-
IceNinjaman wrote at Oct 19 2017 18:24:58 UTC:
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
Beta Was this translation helpful? Give feedback.
All reactions