When openssh is built against OpenSSL 3.0, we get an error importing encrypted PKCS#8 files: openssl genrsa -aes128 -out my-test-private.key -passout pass:RedHatEnterpriseLinux9.0 2048 ssh-keygen -y -f my-test-private.key > public.key.pub Instead of requesting the passphrase, we get an error `Load key "my-test-private.key": error in libcrypto`
I can't reproduce the test case building against the 3.0.0 dev branch as of right now: $ ./ssh -V OpenSSH_8.6p1, OpenSSL 3.0.0-beta2-dev $ openssl genrsa -aes128 -out my-test-private.key -passout pass:RedHatEnterpriseLinux9.0 2048 Generating RSA private key, 2048 bit long modulus (2 primes) .+++++ ...........................................+++++ e is 65537 (0x010001) $ ssh-keygen -y -f my-test-private.key > public.key.pub Enter passphrase: Have OpenSSL rolled back the API change?
I will recheck it against the current master, it may be fixed since the last alpha. Many thanks!
Closing for lack of followup
closing bugs resolved before openssh-8.9