Skip to main content

agent_adopt

Function agent_adopt 

Source
async fn agent_adopt(
    state: &AppState,
    ctx: &RpcContext,
    req: &CommandPinsChangeData,
) -> Result<(), String>
Expand description

An agent’s adopt of a refused LAN key: done only if the install that hosts the agent vouches for it and this machine trusts that install, found by srv now. The exception is a name with no pin yet: its first key can be accepted without a vouch (there is no pin to move), and the acceptance is logged as the agent that made it.