Commit Graph

128 Commits (084afbb6a06f2661bed503bf49b0291ce999c6c1)

Author SHA1 Message Date
Erik Johnston 5ae4a84211 Don't always hit get_server_verify_key_v1_direct 10 years ago
Erik Johnston d3e09f12d0 SYN-383: Actually, we expect this value to be a dict 10 years ago
Erik Johnston 350b88656a SYN-383: Actually, we expect this value to be a dict 10 years ago
Erik Johnston 2b7120e233 SYN-383: Handle the fact the server might not have signed things 10 years ago
Erik Johnston 8b256a7296 Don't reuse var names 10 years ago
Erik Johnston 62ccc6d95f Don't reuse var names 10 years ago
Erik Johnston 2aeee2a905 SYN-383: Fix parsing of verify_keys and catching of _DefGen_Return 10 years ago
Mark Haines c6a03c46e6 SYN-383: Extract the response list from 'server_keys' in the response JSON as it might work better than iterating over the top level dict 10 years ago
Erik Johnston 476899295f Change the way we do logging contexts so that they survive divergences 10 years ago
Erik Johnston fca28d243e Change the way we create observers to deferreds so that we don't get spammed by 'unhandled errors' 10 years ago
Mark Haines 1319905d7a Use a defer.gatherResults to collect results from the perspective servers 10 years ago
Mark Haines 74874ffda7 Update the query format used by keyring to match current key v2 spec 10 years ago
Mark Haines 46d200a3a1 Implement minimum_valid_until_ts in the remote key resource 10 years ago
Erik Johnston 2c70849dc3 Fix newlines 10 years ago
Erik Johnston 0a016b0525 Pull inner function out. 10 years ago
Erik Johnston e701aec2d1 Implement locks using create_observer for fetching media and server keys 10 years ago
Mark Haines 288702170d Add config for setting the perspective servers 10 years ago
Mark Haines 4bbf7156ef Update to match the specification for key/v2 10 years ago
Mark Haines f30d47c876 Implement remote key lookup api 10 years ago
Mark Haines 2f9157b427 Implement v2 key lookup 10 years ago
Mark Haines 8d761134c2 Fail quicker for 4xx responses in the key client, optional hit a different API path 10 years ago
Erik Johnston 3ce8540484 Don't look for an TLS private key if we have set --no-tls 10 years ago
Erik Johnston 5b5c7a28d6 Log error message when we fail to fetch remote server keys 10 years ago
Erik Johnston 9371019133 Try to only back off if we think we failed to connect to the remote 10 years ago
Erik Johnston 2b8f1a956c Add per server retry limiting. 10 years ago
Erik Johnston 5025305fb2 Rate limit retries when fetching server keys. 10 years ago
Erik Johnston 4ebbaf0d43 Blunty replace json with simplejson 10 years ago
Mark Haines 84a769cdb7 Fix code-style 10 years ago
Erik Johnston 823999716e Fix bug in timeout handling in keyclient 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston 95aa903ffa Try and figure out how and why signatures are being changed. 10 years ago
Erik Johnston 609c31e8df More bug fixes 10 years ago
Erik Johnston c31dba86ec Convert rest and handlers to use new event structure 10 years ago
Erik Johnston 75b4329aaa WIP for new way of managing events. 10 years ago
David Baker e377d33652 Separate out the matrix http client completely because just about all of its code it now separate from the simple case we need for standard HTTP(S) 10 years ago
Mark Haines dfdda2c871 Use module loggers rather than the root logger. Exceptions caused by bad clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' 10 years ago
Mark Haines 32090aee16 Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts 10 years ago
Mark Haines cb4b6c844a Merge PDUs and Events into one object 10 years ago
Mark Haines 8c2b5ea7c4 Fix PDU and event signatures 10 years ago
Mark Haines de1ec90133 Validate signatures on incoming events 10 years ago
Erik Johnston 6cb6cb9e69 Tidy up some of the unused sql tables 10 years ago
Erik Johnston 1c06806f90 Finish redaction algorithm. 10 years ago
Erik Johnston 97a096b507 Add hash of current state to events 10 years ago
Erik Johnston 68698e0ac8 Fix bugs in generating event signatures and hashing 10 years ago
Erik Johnston 82a6b83524 Don't assume event has hashes key already 10 years ago
Erik Johnston ecabff7eb4 Sign evnets 10 years ago
Erik Johnston d30d79b5be Make prev_event signing work again. 10 years ago
Mark Haines 7d709542ca Fix pep8 warnings 10 years ago
Mark Haines b29517bd01 Add a request-id to each log line 10 years ago
Mark Haines 5e2236f9ff fix pyflakes warnings 10 years ago