Skip to main content

get_keys_route

Function get_keys_route 

Source
pub(crate) async fn get_keys_route(
    __arg0: State<State>,
    body: Args<Request>,
) -> Result<Response>
Expand description

ยงPOST /_matrix/client/r0/keys/query

Get end-to-end encryption keys for the given users.

  • Always fetches users from other servers over federation
  • Gets master keys, self-signing keys, user signing keys and device keys.
  • The master and self-signing keys contain signatures that the user is allowed to see