File: null.rb

package info (click to toggle)
libnet-ssh2-ruby 2.0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 812 kB
  • ctags: 1,400
  • sloc: ruby: 8,839; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (4)
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