2012-06-29 00:18:28 -05:00
|
|
|
# -*- coding: binary -*-
|
2010-02-16 19:18:19 +00:00
|
|
|
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
|
|
|
|
|
|
2012-04-15 23:35:38 -05:00
|
|
|
end; end; end
|