Skip to main content

agent_says_hosted_by

Function agent_says_hosted_by 

Source
fn agent_says_hosted_by(
    state: &AppState,
    agent: &str,
    key_b64: &str,
    cert: &WanKeyRecord,
) -> bool
Expand description

Whether the agent itself, under the key key_b64, says the install behind cert hosts it: the statement the host adds to its lookup answer. A certificate alone proves only that some trusted install wrapped the key in one, which any of the account’s installs can do for a public key it merely saw.