summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-04-16 12:36:01 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-04-17 15:47:49 +0100
commit72fe2affb6ac86d433b80b6452da57052365aa26 (patch)
treef3b8bcee12f6672500c8f89c6a963d6890d61b7d /synapse/handlers/sync.py
parentOnly register devices edu handler on the master process (#7255) (diff)
downloadsynapse-72fe2affb6ac86d433b80b6452da57052365aa26.tar.xz
Query missing cross-signing keys on local sig upload
Add changelog

Save retrieved keys to the db

lint

Fix and de-brittle remote result dict processing

Use query_user_devices instead, assume only master, self_signing key types

Make changelog more useful

Remove very specific exception handling

Wrap get_verify_key_from_cross_signing_key in a try/except

Note that _get_e2e_cross_signing_verify_key can raise a SynapseError

lint

Add comment explaining why this is useful

Only fetch master and self_signing key types

Fix log statements, docstrings

Remove extraneous items from remote query try/except

lint

Factor key retrieval out into a separate function

Send device updates, modeled after SigningKeyEduUpdater._handle_signing_key_updates

Update method docstring
Diffstat (limited to 'synapse/handlers/sync.py')
0 files changed, 0 insertions, 0 deletions