pub fn key_owner(key_id: &str) -> &str
The actor a key ID most likely belongs to: the key ID without its fragment, or without GoToSocial’s /main-key path, which is where the key is fetched from and whose owner is then checked.
/main-key