Skip to main content

master_key_matches

Function master_key_matches 

Source
async fn master_key_matches(
    services: &Services,
    user_id: &UserId,
    new_master: &Raw<CrossSigningKey>,
) -> Result<bool>
Expand description

Returns true if the user already has a master key matching new_master, false if they have no master key. Returns Err on mismatch or any other error.