not enable SHA-1 signatures anywhere.
SshKnownHosts.hashedHostMatches
private
bool hashedHostMatches(string field,
string candidate) static @trustedChecks a hashed host field of the form |1|salt|hash against one candidate using HMAC-SHA1 with the stored salt.
Parameters
field | The hashed pattern field. |
candidate | Lowercased candidate string. |
Returns
True when the hash matches. This is a lookup MAC only; it does