fediverse_pasture.server.utils
actor_object_to_public_key(actor, key_id)
As public_key_owner_from_dict, but applies context normalization first, then checks without out.
Source code in fediverse_pasture/server/utils.py
find_with_item(dict_list, key_id)
Given a list of dictionaries, finds the dictionary with id = key_id
public_key_owner_from_dict(actor, key_id)
Given an actor and key_id returns the public_key and the owner. This method directly checks the key publicKey