summaryrefslogtreecommitdiff
path: root/test/integration/test_agent.rb
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2023-03-22 10:55:26 +0100
committerGitHub <noreply@github.com>2023-03-22 10:55:26 +0100
commit00c38ab3569dea3177a203af60c1006e18f6915f (patch)
tree1b4b57e5657be27c83bc271b84e5850cdce4629c /test/integration/test_agent.rb
parent03716c1ee450e1a54c55f2c621f75aa9eda0253d (diff)
parentceb7cfd84df62730bd0b8d1d62ed44087c23f9a9 (diff)
downloadnet-ssh-00c38ab3569dea3177a203af60c1006e18f6915f.tar.gz
Merge pull request #904 from net-ssh/mfazekas-try-new-ubuntu
feat: use new ubuntu - jammy in gh actions and vagrant
Diffstat (limited to 'test/integration/test_agent.rb')
-rw-r--r--test/integration/test_agent.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test_agent.rb b/test/integration/test_agent.rb
index 8a789d1..7a987bf 100644
--- a/test/integration/test_agent.rb
+++ b/test/integration/test_agent.rb
@@ -20,7 +20,7 @@ class TestAgent < NetSSHTest
@keys = [
OpenSSL::PKey::RSA.new(1024),
OpenSSL::PKey::DSA.new(1024),
- OpenSSL::PKey::EC.new("prime256v1").generate_key
+ OpenSSL::PKey::EC.generate("prime256v1")
]
@keys << Net::SSH::Authentication::ED25519::PrivKey.read(ED25519, nil) if Net::SSH::Authentication::ED25519Loader::LOADED
@keys += @keys.map do |key|