OpenSSL 3.x was released a while ago and there is ruby/openssl/pull/399 in the works. Testing this on Fedora, I observe more then 400 test failures testing with net-ssh-6.1.0. So lets start with this one:
1) Error:
Transport::Kex::TestDiffieHellmanGroupExchangeSHA1#test_exchange_keys_should_return_expected_results_when_successful:
OpenSSL::PKey::DHError: OpenSSL::PKey::DH is immutable on OpenSSL 3.0; use OpenSSL::PKey.generate_key instead
/usr/share/ruby/openssl/pkey.rb:85:in `generate_key!'
/builddir/build/BUILD/net-ssh-6.1.0/usr/share/gems/gems/net-ssh-6.1.0/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:72:in `generate_key'
/builddir/build/BUILD/net-ssh-6.1.0/usr/share/gems/gems/net-ssh-6.1.0/lib/net/ssh/transport/kex/abstract.rb:32:in `initialize'
/builddir/build/BUILD/net-ssh-6.1.0/usr/share/gems/gems/net-ssh-6.1.0/test/transport/kex/test_diffie_hellman_group1_sha1.rb:108:in `new'
/builddir/build/BUILD/net-ssh-6.1.0/usr/share/gems/gems/net-ssh-6.1.0/test/transport/kex/test_diffie_hellman_group1_sha1.rb:108:in `dh'
/builddir/build/BUILD/net-ssh-6.1.0/usr/share/gems/gems/net-ssh-6.1.0/test/transport/kex/test_diffie_hellman_group_exchange_sha1.rb:77:in `exchange!'
/builddir/build/BUILD/net-ssh-6.1.0/usr/share/gems/gems/net-ssh-6.1.0/test/transport/kex/test_diffie_hellman_group1_sha1.rb:21:in `test_exchange_keys_should_return_expected_results_when_successful'
Obviously, this is due to https://github.com/ruby/openssl/pull/399/files#diff-eb733a1afb0b7a687c10db7df77cdeaeadde4e1c9212850f116a0c44a90ead85R104
OpenSSL 3.x was released a while ago and there is ruby/openssl/pull/399 in the works. Testing this on Fedora, I observe more then 400 test failures testing with net-ssh-6.1.0. So lets start with this one:
Obviously, this is due to https://github.com/ruby/openssl/pull/399/files#diff-eb733a1afb0b7a687c10db7df77cdeaeadde4e1c9212850f116a0c44a90ead85R104