Commit Graph

53 Commits (cf04cedf216a21f36a476703470b7ffe1a727967)

Author SHA1 Message Date
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
Mark Haines d56e389a95 Fix pyflakes warnings 10 years ago
Mark Haines 15be181642 Add log message if we can't enable ECC. Require pyopenssl>=0.14 since 0.13 doesn't seem to have ECC 10 years ago
Mark Haines 3187b5ba2d add log line for checking verifying signatures 10 years ago
Mark Haines 8afbece683 Remove signatures from pdu when computing hashes to use for prev pdus, make sure is_state is a boolean. 10 years ago
Mark Haines c5cec1cc77 Rename 'meta' to 'unsigned' 10 years ago
Mark Haines c8f996e29f Hash the same content covered by the signature when referencing previous PDUs rather than reusing the PDU content hashes 10 years ago
Mark Haines 66104da10c Sign outgoing PDUs. 10 years ago
Mark Haines 1c445f88f6 persist hashes and origin signatures for PDUs 10 years ago
Mark Haines 34034af1c9 Better response message when signature is missing or unsupported 10 years ago
Mark Haines 07639c79d9 Respond with more helpful error messages for unsigned requests 10 years ago
Mark Haines b95a178584 SYN-75 Verify signatures on server to server transactions 10 years ago
Mark Haines e3117a2a23 Add a _matrix/key/v1 resource with the verification keys of the local server 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Mark Haines c6eafdfbaf Add copyright notices and fix pyflakes errors 10 years ago
Mark Haines 79650f795f enable ECDHE ciphers 10 years ago
Mark Haines 6200630904 Add server TLS context factory 10 years ago
Mark Haines d9ebe531ed Add config tree to synapse. Add support for reading config from a file 10 years ago
Matthew Hodgson f98e6380f1 add in whitespace after copyright statements to improve legibility 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago