Sha256: d2594698ce7a2bcd7bf2e66179b6140eebcbd0679e80dc677c978accf7b02cbf

Contents?: true

Size: 354 Bytes

Versions: 11

Compression:

Stored size: 354 Bytes

Contents

module Net
  module SSH
    module Verifiers

      # This host key verifier simply allows every key it sees, without
      # any verification. This is simple, but very insecure because it
      # exposes you to MiTM attacks.
      class Never
        # Returns true.
        def verify(arguments)
          true
        end
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/verifiers/never.rb
net-ssh-5.0.2 lib/net/ssh/verifiers/never.rb
net-ssh-5.0.1 lib/net/ssh/verifiers/never.rb
net-ssh-5.0.0 lib/net/ssh/verifiers/never.rb
net-ssh-5.0.0.rc2 lib/net/ssh/verifiers/never.rb
net-ssh-5.0.0.rc1 lib/net/ssh/verifiers/never.rb