blob: 43ec07258b4bdab2a3669b72a53eb6aaac89689b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
|