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

Upload only new device signature of master key #1268

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Mar 18, 2020

This changes bootstrap to only upload the new device signature of the master
key. We were previously adding the new signature, but then uploading both old
and new device key signatures of the master key.

This was particularly bad when re-uploading signatures from deleted devices, as
that would cause the homeserver to reject the entire upload.

Fixes element-hq/element-web#12752

This changes bootstrap to only upload the new device signature of the master
key. We were previously _adding_ the new signature, but then uploading both old
and new device key signatures of the master key.

This was particularly bad when re-uploading signatures from deleted devices, as
that would cause the homeserver to reject the entire upload.

Fixes element-hq/element-web#12752
@jryans jryans requested a review from a team March 18, 2020 18:39
@dbkr dbkr requested review from dbkr and removed request for a team March 19, 2020 10:42
@jryans jryans merged commit 0f28a89 into develop Mar 19, 2020
@t3chguy t3chguy deleted the jryans/send-only-new-key-sigs branch May 10, 2022 14:30
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

Successfully merging this pull request may close these issues.

Bootstrap uploads both new and old master key sigs
2 participants