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.

One time key counts differ between /sync and /keys/upload #10766

Open
@deepbluev7

Description

@deepbluev7

Description

I noticed that after sending an encrypted in a large E2EE room (#e2ee-test:grin.hu) my key count responses got out of sync (might have happened earlier). On sync I got a count of 55, while when doing an empty key upload request returned a count of 33. Does synapse cache the key count for /sync somehow and that got out of sync?

After uploading some keys, the counts synchronized themselves to 50, so I am assuming the ones in /sync were wrong.

Steps to reproduce

  • after sending some e2ee messages, check what an empty key upload response returns vs the count in /sync.

Version information

  • Homeserver: neko.dev

If not matrix.org:

  • Version: 1.42.0rc1

  • Install method: ebuild

  • Platform: Gentoo

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.z-cross-signing(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions