summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2021-08-05 09:47:20 +0200
committerGitHub <noreply@github.com>2021-08-05 09:47:20 +0200
commit296090382230a1b4a269f68c3cdd520c2733bd72 (patch)
treee96db3e04c6d9a066e567f2d4647c8fb1ef5a110
parent52d16fbe353b8eb9669e967d1922cbaa4c904c21 (diff)
parent40527660620fd401035779a395b930d64ea3a5e5 (diff)
downloadnet-ssh-296090382230a1b4a269f68c3cdd520c2733bd72.tar.gz
Merge pull request #832 from net-ssh/mfazekas/fix-x25519
Mfazekas/fix x25519
-rw-r--r--Gemfile1
-rw-r--r--lib/net/ssh/transport/kex/curve25519_sha256.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index f3450cd..a328e11 100644
--- a/Gemfile
+++ b/Gemfile
@@ -8,7 +8,6 @@ gem 'byebug', group: %i[development test] if !Gem.win_platform? && RUBY_ENGINE =
if ENV["CI"]
gem 'codecov', require: false, group: :test
gem 'simplecov', require: false, group: :test
- gem 'x25519', github: 'RubyCrypto/x25519', ref: '60c0f2913460c7b13b516e4e887a5517a2bd9edd'
end
gem 'webrick', group: %i[development test] if RUBY_VERSION.split(".")[0].to_i >= 3
diff --git a/lib/net/ssh/transport/kex/curve25519_sha256.rb b/lib/net/ssh/transport/kex/curve25519_sha256.rb
index 57cc6c5..a9ce16c 100644
--- a/lib/net/ssh/transport/kex/curve25519_sha256.rb
+++ b/lib/net/ssh/transport/kex/curve25519_sha256.rb
@@ -2,7 +2,6 @@ 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'