Skip to main content

upload_signing_keys_route

Function upload_signing_keys_route 

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

ยงPOST /_matrix/client/r0/keys/device_signing/upload

Uploads end-to-end key information for the sender user.

  • Requires UIAA to verify password
  • For OIDC devices, requires OAuth re-authentication via SSO (MSC4312)
  • For appservices with device_management enabled, UIAA is skipped even when cross-signing keys already exist (MSC4190)