MCPcopy Create free account
hub / github.com/curl/curl / myssh_is_known

Function myssh_is_known

lib/vssh/libssh.c:124–371  ·  view source on GitHub ↗

Multiple options: * 1. data->set.str[STRING_SSH_HOST_PUBLIC_KEY_SHA256] is set with a SHA256 * hash. * 2. data->set.str[STRING_SSH_HOST_PUBLIC_KEY_MD5] is set with an MD5 * hash (90s style auth, not sure we should have it here) * 3. data->set.ssh_keyfunc callback is set. Then we do trust on first * use. We even save on knownhosts if CURLKHSTAT_FINE_ADD_TO_FILE * is returned by i

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

myssh_statemachineFunction · 0.85

Calls 4

curlx_base64_encodeFunction · 0.85
curl_msnprintfFunction · 0.85
curl_strequalFunction · 0.85
Curl_set_in_callbackFunction · 0.85

Tested by

no test coverage detected