Description
Hello,
try run following code in 2 docker images
-
php:8.3.11-alpine3.20
-
php:8.3.11-alpine3.19
and check results.
openssl_private_decrypt not getting error.
In old Alpine version results is expected
https://3v4l.org/vrTcG#v8.3.11
Resulted (for alpine 3.20) in this output:
But I expected this output instead (alpine 3.19):
bool(false)
string(48) "error:0200009F:rsa routines::pkcs decoding error"
Please help understand. It is some problem with OpenSSL in Alpine or it is problem somewhere in PHP source??
PHP Version
PHP 8.3.11
Operating System
Alpine 3.20