Sha256: a8de424ccd082848e8615db58343381d9677aa0e37cd532e14e28631ba911bc7

Contents?: true

Size: 419 Bytes

Versions: 36

Compression:

Stored size: 419 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

        def verify_signature(&block)
          true
        end
      end

    end
  end
end

Version data entries

36 entries across 32 versions & 3 rubygems

Version Path
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/net-ssh-6.1.0/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/net-ssh-6.1.0/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/net-ssh-6.1.0/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-6.2.0.rc1/lib/net/ssh/verifiers/never.rb
net-ssh-6.2.0.rc2 lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-6.2.0.rc1/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-6.1.0/lib/net/ssh/verifiers/never.rb
net-ssh-6.2.0.rc1 lib/net/ssh/verifiers/never.rb
net-ssh-6.2.0.beta1 lib/net/ssh/verifiers/never.rb
net-ssh-6.1.0 lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.2.0/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.2.0/lib/net/ssh/verifiers/never.rb
net-ssh-6.1.0.rc1 lib/net/ssh/verifiers/never.rb
net-ssh-6.0.2 lib/net/ssh/verifiers/never.rb
net-ssh-6.0.1 lib/net/ssh/verifiers/never.rb
net-ssh-6.0.0 lib/net/ssh/verifiers/never.rb
net-ssh-6.0.0.rc1 lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/never.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/never.rb
net-ssh-6.0.0.beta2 lib/net/ssh/verifiers/never.rb