[php-src] Issue #13214: openssl_pkey_new
| From: | Pratik2121 | Date: | Mon, 22 Jan 2024 08:44:30 +0000 |
| Subject: | [php-src] Issue #13214: openssl_pkey_new | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246309@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13214
Author: Pratik2121
### Description
The following code is not working after the 8.2 version
$privkey = openssl_pkey_new(array(
"digest_alg"=>'md5',
"private_key_bits" => 2048,
"private_key_type" => OPENSSL_KEYTYPE_RSA,
));
$key_details = openssl_pkey_get_details($privkey);
print_r($key_details);
### PHP Version
PHP 8.3
### Operating System
Windows 10