summary refs log tree commit diff
path: root/synapse/handlers/e2e_keys.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update license headersPatrick Cloke2023-11-211-12/+16
* Add an Admin API to temporarily grant the ability to update an existing cross...David Robertson2023-11-151-7/+13
* Merge pull request from GHSA-mp92-3jfm-3575Patrick Cloke2023-10-311-0/+6
* Claim local one-time-keys in bulk (#16565)David Robertson2023-10-301-0/+10
* Claim fallback keys in bulk (#16570)David Robertson2023-10-301-0/+14
* Return immutable objects for cachedList decorators (#16350)Patrick Cloke2023-09-191-15/+9
* Add requesting user id parameter to key claim methods in `TransportLayerClien...Shay2023-05-241-1/+2
* Add support for claiming multiple OTKs at once. (#15468)Patrick Cloke2023-04-271-10/+21
* Add unstable /keys/claim endpoint which always returns fallback keys. (#15462)Patrick Cloke2023-04-251-7/+63
* Implement MSC3984 to proxy /keys/query requests to appservices. (#15321)Patrick Cloke2023-03-301-0/+16
* Implement MSC3983 to proxy /keys/claim queries to appservices. (#15314)Patrick Cloke2023-03-281-8/+49
* Implementation of MSC3967: Don't require UIA for initial upload of cross sign...Hugh Nimmo-Smith2023-03-021-0/+14
* Refactor get_user_devices_from_cache to avoid mutating cached values. (#15040)Patrick Cloke2023-02-101-4/+7
* Batch up replication requests to request the resyncing of remote users's devi...reivilibre2023-01-101-38/+55
* Add a type hint for `get_device_handler()` and fix incorrect types. (#14055)Patrick Cloke2022-11-221-29/+32
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-1/+1
* Prevent federation user keys query from returning device names if disallowed ...Andrew Morgan2022-10-281-4/+33
* Remove error spam when users query the keys of departed remote users (#13826)Sean Quah2022-09-161-9/+12
* Fix bug in device list caching when remote users leave rooms (#13749)Sean Quah2022-09-141-0/+26
* Cancel the processing of key query requests when they time out. (#13680)reivilibre2022-09-071-16/+24
* Add missing types to opentracing. (#13345)Patrick Cloke2022-07-211-8/+8
* Add type annotations to `trace` decorator. (#13328)Patrick Cloke2022-07-191-7/+9
* Additional constants for EDU types. (#12884)Patrick Cloke2022-05-271-2/+3
* Another batch of type annotations (#12726)David Robertson2022-05-131-18/+11
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-2/+2
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-2/+2
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-5/+5
* Support unprefixed versions of fallback key property names. (#11541)Hubert Chathi2021-12-091-1/+3
* Send and handle cross-signing messages using the stable prefix. (#10520)Hubert Chathi2021-12-081-2/+6
* Include cross-signing signatures when syncing remote devices for the first ti...Erik Johnston2021-11-091-86/+125
* Require type hints in the handlers module. (#10831)Patrick Cloke2021-09-201-2/+2
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-1/+1
* Use inline type hints in `handlers/` and `rest/`. (#10382)Jonathan de Jong2021-07-161-21/+19
* Limit the number of in-flight /keys/query requests from a single device. (#10...Patrick Cloke2021-06-091-169/+181
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Add type hints to expiring cache. (#9730)Patrick Cloke2021-04-061-12/+0
* Update mypy configuration: `no_implicit_optional = True` (#9742)Jonathan de Jong2021-04-051-1/+1
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-10/+14
* Add type hints to E2E handler. (#9232)Patrick Cloke2021-01-281-94/+129
* e2e: ensure we have both master and self-signing key (#8455)Jonas Jelten2020-10-261-5/+22
* Add support for MSC2732: olm fallback keys (#8312)Hubert Chathi2020-10-061-0/+16
* Use slots in attrs classes where possible (#8296)Patrick Cloke2020-09-141-1/+1
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Rename `get_e2e_device_keys` to better reflect its purpose (#8205)Richard van der Hoff2020-08-291-2/+2
* Be stricter about JSON that is accepted by Synapse (#8106)Patrick Cloke2020-08-191-4/+4
* Fix up types and comments that refer to Deferreds. (#7945)Patrick Cloke2020-07-241-11/+13
* Convert E2E key and room key handlers to async/await. (#7851)Patrick Cloke2020-07-151-82/+65
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-8/+6
* Process cross-signing keys when resyncing device lists (#7594)Brendan Abolivier2020-06-011-17/+5
* Query missing cross-signing keys on local sig upload (#7289)Andrew Morgan2020-04-221-9/+139
* Revert "Query missing cross-signing keys on local sig upload"Richard van der Hoff2020-04-201-129/+9
* Query missing cross-signing keys on local sig uploadAndrew Morgan2020-04-171-9/+129
* Only register devices edu handler on the master process (#7255)Andrew Morgan2020-04-141-7/+11
* Fix bug when querying remote user keys that require a resync. (#6796)Erik Johnston2020-01-291-1/+2
* look up cross-signing keys from the DB in bulk (#6486)Hubert Chathi2019-12-121-8/+27
* Back out perf regression from get_cross_signing_keys_from_cache. (#6494)Neil Johnson2019-12-091-30/+8
* Fix caching devices for remote servers in worker.Erik Johnston2019-11-051-3/+16
* Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-311-13/+24
|\
| * Update black to 19.10b0 (#6304)Amber Brown2019-11-011-13/+24
* | blackHubert Chathi2019-10-301-1/+3
* | apply changes as a result of PR reviewHubert Chathi2019-10-301-12/+10
* | don't error if federation query doesn't have cross-signing keysHubert Chathi2019-10-241-7/+9
* | blackHubert Chathi2019-10-221-1/+2
* | vendor-prefix the EDU name until MSC1756 is merged into the specHubert Chathi2019-10-221-1/+2
* | update to work with newer code, and fix formattingHubert Chathi2019-10-221-4/+5
* | add missing paramHubert Chathi2019-10-221-1/+1
* | make black happyHubert Chathi2019-10-221-5/+7
* | implement federation parts of cross-signingHubert Chathi2019-10-221-2/+114
|/
* Merge branch 'develop' into cross-signing_sig_uploadHubert Chathi2019-10-181-11/+5
|\
| * Merge branch 'develop' into uhoreg/e2e_cross-signing_mergedHubert Chathi2019-10-181-8/+2
| |\
| | * make sure we actually return somethingHubert Chathi2019-10-101-0/+5
| | * make storage layer in charge of interpreting the device key dataHubert Chathi2019-10-101-11/+0
* | | fix doc stringsHubert Chathi2019-10-181-9/+13
* | | make isort happyHubert Chathi2019-09-241-1/+0
* | | add some commentsHubert Chathi2019-09-241-2/+10
* | | drop some logger lines to debugHubert Chathi2019-09-241-3/+3
* | | make changes based on PR feedbackHubert Chathi2019-09-241-107/+159
* | | add function docsHubert Chathi2019-09-071-2/+24
* | | run blackHubert Chathi2019-09-061-24/+10
* | | split out signature processing into separate functionsHubert Chathi2019-09-061-195/+204
* | | avoid modifying input parameterHubert Chathi2019-09-051-7/+7
* | | update with newer coding styleHubert Chathi2019-09-041-1/+1
* | | make black happyHubert Chathi2019-09-041-78/+69
* | | allow uploading signatures of master key signed by devicesHubert Chathi2019-09-041-82/+150
* | | implement device signature uploading/fetchingHubert Chathi2019-09-041-0/+250
|/ /
* | Merge branch 'uhoreg/e2e_cross-signing_merged' into cross-signing_keysHubert Chathi2019-08-281-1/+51
|\|
| * Opentrace e2e keys (#5855)Jorik Schellekens2019-08-221-1/+51
* | blackHubert Chathi2019-08-281-3/+1
* | use stream ID generator instead of timestampHubert Chathi2019-08-281-4/+3
* | make isort happyHubert Chathi2019-08-211-1/+0
* | apply PR review suggestionsHubert Chathi2019-08-211-42/+34
* | make changes from PR reviewHubert Chathi2019-08-011-6/+18
* | Merge branch 'cross-signing_hidden' into cross-signing_keysHubert Chathi2019-08-011-8/+63
|\|
| * Unwrap errorErik Johnston2019-07-301-1/+2
| * Fix error handling when fetching remote device keysErik Johnston2019-07-301-3/+1
| * Update the device list cache when keys/query is called (#5693)Jorik Schellekens2019-07-291-2/+58
| * Replace returnValue with return (#5736)Amber Brown2019-07-231-5/+5
* | allow uploading keys for cross-signingHubert Chathi2019-07-251-5/+193
|/
* remove unused and unnecessary check for FederationDeniedError (#5645)Hubert Chathi2019-07-091-4/+1
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-61/+58
* Replaced all occurences of e.message with str(e)Schnuffle2018-09-271-1/+1
* Port handlers/ to Python 3 (#3803)Amber Brown2018-09-071-2/+3
* run isortAmber Brown2018-07-091-5/+5
* Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-281-3/+2
* typosMatthew Hodgson2018-06-251-1/+1
* replace some iteritems with sixAdrian Tschira2018-05-191-6/+7
* Merge remote-tracking branch 'origin/develop' into rav/use_run_in_backgroundRichard van der Hoff2018-04-271-2/+2
|\
| * Add missing consumeErrorsRichard van der Hoff2018-04-271-2/+2
* | Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-3/+3
|/
* Stringify exceptions for keys/{query,claim}Richard van der Hoff2018-03-271-1/+4
* factor out exception handling for keys/claim and keys/queryRichard van der Hoff2018-03-271-28/+25
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2018-03-191-1/+1
|\
| * Replace ujson with simplejsonErik Johnston2018-03-151-1/+1
* | s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
* | Split replication layer into twoErik Johnston2018-03-131-1/+1
* | Split out edu/query registration to a separate classErik Johnston2018-03-131-1/+1
* | Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-221-1/+7
* | Sanity checking for user idsRichard van der Hoff2018-01-171-5/+8
|/
* Replace some instances of preserve_context_over_deferredRichard van der Hoff2017-05-091-3/+3
* Do some logging when one-time-keys get claimedRichard van der Hoff2017-05-091-0/+10
* Allow clients to upload one-time-keys with new sigsRichard van der Hoff2017-05-091-13/+57
* Merge pull request #2050 from matrix-org/rav/federation_backoffRichard van der Hoff2017-03-231-20/+12
|\
| * push federation retry limiter down to matrixfederationclientRichard van der Hoff2017-03-231-20/+12
* | Add a missing yield in device key uploadRichard van der Hoff2017-03-231-1/+1
|/
* Fix unit testsErik Johnston2017-01-301-1/+1
* Noop device key changes if they're the sameErik Johnston2017-01-301-4/+5
* Add commentsErik Johnston2017-01-261-1/+3
* Implement device key caching over federationErik Johnston2017-01-261-5/+35
* Add basic implementation of local device list changesErik Johnston2017-01-251-0/+1
* Remove unused importRichard van der Hoff2016-12-121-1/+0
* E2E key query: handle federation failsRichard van der Hoff2016-12-091-0/+11
* Limit how often we ask for keys from dead serversMark Haines2016-09-131-11/+30
* Move the E2E key handling into the e2e handlerMark Haines2016-09-131-3/+102
* Add a timeout parameter for end2end key queries.Mark Haines2016-09-121-21/+43
* keys/query: Omit device displayname if nullRichard van der Hoff2016-08-041-3/+4
* Include device name in /keys/query responseRichard van der Hoff2016-08-031-3/+8
* keys/query: return all users which were asked forRichard van der Hoff2016-08-031-3/+6
* E2eKeysHandler: minor tweaksRichard van der Hoff2016-08-031-5/+3
* E2E keys: Make federation query share code with client queryRichard van der Hoff2016-08-021-25/+90
* Move e2e query logic into a handlerRichard van der Hoff2016-08-011-0/+67