You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've deployed a simple function to create a key pair, using spatie/crypto.
When i call the function openssl_pkey_new i get false instead of a OpenSSLAsymmetricKey
How to reproduce:
install bref
install spatie/crypto
call [$privateKey, $publicKey] = (new KeyPair())->generate();
get the error
I'm using docker with this command:
docker run --rm -it --entrypoint= -v $(PWD):/var/task:ro bref/php-82:2 vendor/bin/bref-local index.php
The complete error catched with openssl_error_string() is:
error:FFFFFFFF80000002:system library::No such file or directory
error:10000080:BIO routines::no such file
error:07000072:configuration file routines::no such file
error:FFFFFFFF80000002:system library::No such file or directory
error:10000080:BIO routines::no such file
error:07000072:configuration file routines::no such file
The text was updated successfully, but these errors were encountered:
Description:
I've deployed a simple function to create a key pair, using spatie/crypto.
When i call the function
openssl_pkey_new
i get false instead of aOpenSSLAsymmetricKey
How to reproduce:
[$privateKey, $publicKey] = (new KeyPair())->generate();
I'm using docker with this command:
docker run --rm -it --entrypoint= -v $(PWD):/var/task:ro bref/php-82:2 vendor/bin/bref-local index.php
The complete error catched with
openssl_error_string()
is:The text was updated successfully, but these errors were encountered: