Skip to main content

claim_uid

Function claim_uid 

Source
pub(super) fn claim_uid(
    state: &AppState,
    req: &mut InjectionRequest,
    claimed: &str,
)
Expand description

Record source_uid as claimed by this LAN path when the answering peer gave that UID’s key for claimed, the (name, uid) pin matches, and the v2 signature verifies under it. Only once the v1 check passed, so the name pin already matched: the UID pin is set only beside it.