summaryrefslogtreecommitdiff
path: root/lib/net/ssh/verifiers/null.rb
blob: c2bda3a0dfbef6dbc8d7d7851a6dc164d4ffa430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Net; module SSH; module Verifiers

  # The Null host key verifier simply allows every key it sees, without
  # bothering to verify. This is simple, but is not particularly secure.
  class Null
    # Returns true.
    def verify(arguments)
      true
    end
  end

end; end; end