Commit Graph

148 Commits (87b111f96a244cd212e8fff7f1a0f661fdd8073e)

Author SHA1 Message Date
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