Skip to content

/keys/upload called with device_keys: null #30966

@richvdh

Description

@richvdh

Synapse recently added some validation to /keys/upload (element-hq/synapse#17097). As a result of that, it turned out that Element Web was calling /keys/upload with device_keys: null.

Synapse has worked around this for now (element-hq/synapse#19023) but it remains non-spec-compliant behaviour on the client side which we need to fix.

(Seems this is a problem in the request macro in matrix-sdk-crypto-wasm: https://github.com/matrix-org/matrix-sdk-crypto-wasm/blob/ce212dab039ba5758140e0082f39c5260546d2e3/src/requests.rs#L370)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EEA-Session-MgmtSession / device names, management UI, etc.O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectTeam: CryptoZ-Spec-ComplianceAn area where Element doesn't correctly implement the spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions