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
{{ message }}
Repository navigation
OpenSSL 3.0.18 private key export not working when passphrase is defined #1590
Tested on PHP 8.4.14 w/ OpenSSL mod 3.0.13 and bug not present, but on PHP 8.4.14 with OpenSSL mod 3.0.18 I am unable to export password encrypted private keys.
the private key exports without issue when the password is null/left out. tested with simple strings and complicated strings and got the same result both times.
Steps to reproduce
generate private key (tested using sha256 digest alg and 4196 key bits)
export private key using openssl_pkey_export with the password defined.
Activity
Phatkone commentedon Nov 5, 2025
it appears to be do to with FIPS mode, closing ticket.