Skip to main content

on_mismatch

Function on_mismatch 

Source
pub(super) async fn on_mismatch(
    state: &AppState,
    claimed: &str,
    observed_key: &[u8],
) -> bool
Expand description

The pin and the key just shown disagree: move the pin if the hosting install vouches for the key, else record why it stays refused. true means carry on verifying under the (moved) pin.