This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Query missing cross-signing keys on local sig upload #7289
Merged
anoadragon453
merged 33 commits into
release-v1.12.4
from
anoa/query_cross_signing_keys_key_upload
Apr 22, 2020
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
8348481
Query missing cross-signing keys on local sig upload
anoadragon453 1063495
Add changelog
anoadragon453 cc86457
Save retrieved keys to the db
anoadragon453 c265bc7
lint
anoadragon453 39ed9f6
Fix and de-brittle remote result dict processing
anoadragon453 fd8d154
Use query_user_devices instead, assume only master, self_signing key …
anoadragon453 759b6b0
Make changelog more useful
anoadragon453 03d2c8c
Remove very specific exception handling
anoadragon453 b386658
Wrap get_verify_key_from_cross_signing_key in a try/except
anoadragon453 bd9a671
Note that _get_e2e_cross_signing_verify_key can raise a SynapseError
anoadragon453 745e653
lint
anoadragon453 f8b6f14
Add comment explaining why this is useful
anoadragon453 37ae643
Only fetch master and self_signing key types
anoadragon453 83861c3
Fix log statements, docstrings
anoadragon453 671178b
Remove extraneous items from remote query try/except
anoadragon453 2d88b5d
lint
anoadragon453 f417300
Factor key retrieval out into a separate function
anoadragon453 2f87051
Send device updates, modeled after SigningKeyEduUpdater._handle_signi…
anoadragon453 5990d1c
Update method docstring
anoadragon453 4f8ba5c
Remove extraneous key_id and verify_key
anoadragon453 9240abc
Update changelog
anoadragon453 3282423
Update changelog
anoadragon453 95dd9d5
Resolve review comments
anoadragon453 4f41f37
lint
anoadragon453 6d559ba
Update changelog.d/7289.bugfix
anoadragon453 1b4dda5
Refactor _get_e2e_cross_signing_verify_key
anoadragon453 7cb1e48
Refactor and add validation to _retrieve_cross_signing_keys_for_remot…
anoadragon453 74eaac0
Improve details of query_client_keys and query_user_devices docstrings
anoadragon453 b08b7c7
lint
anoadragon453 de29d1f
Merge branch 'anoa/query_cross_signing_keys_key_upload' of github.com…
anoadragon453 8484a72
Address review comments
anoadragon453 2932b9b
JSON brace endings on separate lines
anoadragon453 ebea2ee
Spaces and braces
anoadragon453 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix a bug with cross-signing devices belonging to remote users who did not share a room with any user on the local homeserver. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.