summaryrefslogtreecommitdiff
path: root/lib/net/ssh/transport
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2021-08-04 14:15:45 +0200
committerGitHub <noreply@github.com>2021-08-04 14:15:45 +0200
commit52d16fbe353b8eb9669e967d1922cbaa4c904c21 (patch)
treec3913a783501ba2a2247c0747c7916cb7b6b6a92 /lib/net/ssh/transport
parent41634948c4c0d67bcb3563d00d28d781296aff53 (diff)
parenta6b00bb2d054ce821d70180940e2901e8655f2f4 (diff)
downloadnet-ssh-52d16fbe353b8eb9669e967d1922cbaa4c904c21.tar.gz
Merge pull request #806 from net-ssh/mfazekas/gh-actions-int-test
Enable integration tests
Diffstat (limited to 'lib/net/ssh/transport')
-rw-r--r--lib/net/ssh/transport/kex/curve25519_sha256.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/net/ssh/transport/kex/curve25519_sha256.rb b/lib/net/ssh/transport/kex/curve25519_sha256.rb
index 9aeba85..57cc6c5 100644
--- a/lib/net/ssh/transport/kex/curve25519_sha256.rb
+++ b/lib/net/ssh/transport/kex/curve25519_sha256.rb
@@ -1,6 +1,8 @@
gem 'x25519' # raise if the gem x25519 is not installed
require 'x25519'
+
+X25519.provider = X25519::Provider::Ref10 # https://github.com/RubyCrypto/x25519/issues/22
require 'net/ssh/transport/constants'
require 'net/ssh/transport/kex/abstract5656'