Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matrixbot opened this issue Dec 19, 2023 · 0 comments
Open

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

matrixbot opened this issue Dec 19, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 19, 2023

This issue has been migrated from #10766.


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
@matrixbot matrixbot changed the title Dummy issue One time key counts differ between /sync and /keys/upload Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant