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 c396520 commit 5b999c5Copy full SHA for 5b999c5
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