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
When a URI based on the RFC7512 is used, the private key should be loaded
from the engine instead of using a local file.
Suggested-by: Jakub Zelenka <bukka@php.net>
It would be better to add this to php_openssl_pkey_from_zval so it's available
for other functions and it can also support ENGINE_load_public_key based on
public_key argument. Then the val received from local_pk could be passed to
php_openssl_pkey_from_zval. It will still require to keep
VCWD_REALPATH(private_key, resolved_path_buff_pk) check before that as
php_openssl_pkey_from_zval supports a file:// prefix only for path and
otherwise it thinks that it's a PEM string. Think that this would be useful
as it would add support for pkey objects as well.
0 commit comments