async fn handle_new_master_key(
transaction: &mut TransactedDb<'_>,
session: &SessionInfo,
user_devices: &[Device],
key: &mut CrossSigningKey,
) -> Result<(), CrossSigningKeysError>Expand description
Handles a new Master Key upload by:
- Checking its correctness using
check_cross_signing_key - Verify its optional device key signature
- Store it in the database