Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Synapse does not tell the clients when it runs out of OTKs #10484

@bmarty

Description

@bmarty

Following discussion in #10479 (and especially #10479 (comment)), I've checked the sync response when Synapse does not have OTK (one time key) anymore. So when the number of OTK is changing from N to 0.

Instead of receiving

"device_one_time_keys_count":{"signed_curve25519":0}

The client receives

"device_one_time_keys_count":{}

and so the client cannot distinguish "no change" and "no OTK left", and do not upload new OTK, which at the end breaks decryption of some messages.

Server version: 1.38.0 commit 12c92ee

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EEEnd-to-end encryption for Matrix clientsS-MajorMajor functionality / product severely impaired, no satisfactory workaround.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions