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.

Stripping empty, optional field device_one_time_keys_count during initial sync breaks Element Android encryption #10456

@anoadragon453

Description

@anoadragon453

#10214 (released in Synapse v1.38.0) removes optional keys from /sync responses if they're an empty value. This can cause the current Element Android release to fail to set up encryption properly after an initial sync, which breaks encryption support. This leads to many unable to decrypt errors, which have started popping up again in reports (i.e element-hq/element-android#1721).

The plan is for Synapse to introduce this field again to fix the current version of Element Android, while allowing some time for a fixed Element Android to be released and for people to update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-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