We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51200bc commit 17ca39eCopy full SHA for 17ca39e
src/Library/Core/Util/ECKey.php
@@ -92,6 +92,7 @@ private static function createECKeyUsingOpenSSL(string $curve): array
92
$key = openssl_pkey_new([
93
'curve_name' => self::getOpensslCurveName($curve),
94
'private_key_type' => OPENSSL_KEYTYPE_EC,
95
+ 'private_key_bits' => 2048, // Not used for EC keys. See https://github.com/php/php-src/pull/19103
96
]);
97
if ($key === false) {
98
throw new RuntimeException('Unable to create the key');
0 commit comments