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

Store device ID alongside key backup, so we know who is uploading bad key backups. #17014

Open
andybalaam opened this issue Mar 20, 2024 · 0 comments

Comments

@andybalaam
Copy link
Member

andybalaam commented Mar 20, 2024

This issue was created by the Crypto team because we believe it will help us to identify the source of broken key backups. We expect to work on it and hope the Synapse team will assist us in deciding what exactly to do, and helping us with review and merge assuming we can agree on a sensible approach.

We'd like to store in the Synapse DB which device uploaded a key backup, so we know which clients are uploading bad key backups.

Recently the Crypto team has identified broken key backups as a common source of "unable to decrypt" errors (UTDs). Some clients appear to be uploading invalid data, and other clients have sometimes been more strict than the spec in validating key backups.

Both of these problems result in UTDs, and it can be difficult when debugging to identify which client uploaded the key.

Outcome of this task

  • Synapse populates its DB with the uploading device ID alongside each key backup, so that someone with access to the DB can identify the device linked to a rageshake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant