Sha256: eb78dc2f938c5c9f739637932708938ab648d486de0c442a7e8ead03b9752179

Contents?: true

Size: 677 Bytes

Versions: 6

Compression:

Stored size: 677 Bytes

Contents

require 'net/ssh/transport/kex/diffie_hellman_group1_sha1'
require 'net/ssh/transport/kex/diffie_hellman_group_exchange_sha1'
require 'net/ssh/transport/kex/diffie_hellman_group_exchange_sha256'

module Net::SSH::Transport
  module Kex
    # Maps the supported key-exchange algorithms as named by the SSH protocol
    # to their corresponding implementors.
    MAP = {
      'diffie-hellman-group-exchange-sha1' => DiffieHellmanGroupExchangeSHA1,
      'diffie-hellman-group1-sha1'         => DiffieHellmanGroup1SHA1,
    }
    if defined?(DiffieHellmanGroupExchangeSHA256)
      MAP['diffie-hellman-group-exchange-sha256'] = DiffieHellmanGroupExchangeSHA256
    end
  end
end

Version data entries

6 entries across 6 versions & 5 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/net-ssh-2.4.0/lib/net/ssh/transport/kex.rb
sonixlabs-net-ssh-2.3.0 lib/net/ssh/transport/kex.rb
k-yamada-net-ssh-2.3.0 lib/net/ssh/transport/kex.rb
net-ssh-2.4.0 lib/net/ssh/transport/kex.rb
ftl-0.2.0 vendor/bundle/gems/net-ssh-2.3.0/lib/net/ssh/transport/kex.rb
net-ssh-2.3.0 lib/net/ssh/transport/kex.rb