Commit Graph

133 Commits (c936a52a9eb18e302fbd5158da7188f674912530)

Author SHA1 Message Date
Will Hunt 2ad3fc36e6 Fixes #3135 - Replace _OpenSSLECCurve with crypto.get_elliptic_curve (#3157) 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 9255a6cb17 Improve exception handling for background processes 7 years ago
Adrian Tschira 1515560f5c Use str(e) instead of e.message 7 years ago
Richard van der Hoff 7303ed65e1 Fix 500 when joining matrix-dev 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Richard van der Hoff 79b3cf3e02 Fix logcontxt leak in keyclient (#2465) 7 years ago
Richard van der Hoff c5c24c239b Fix logcontext handling in verify_json_objects_for_server 7 years ago
Richard van der Hoff c5b0e9f485 Turn _start_key_lookups into an inlineCallbacks function 7 years ago
Richard van der Hoff abdefb8a01 Fix potential race in _start_key_lookups 7 years ago
Richard van der Hoff afbd773dc6 Add some comments to _start_key_lookups 7 years ago
Richard van der Hoff 2a4b9ea233 Consistency for how verify_request.deferred is called 7 years ago
Richard van der Hoff 3b98439eca Factor out _start_key_lookups 7 years ago
Richard van der Hoff fde63b880d Replace `server_and_json` with `verify_requests` 7 years ago
Richard van der Hoff 2d511defd9 pull out handle_key_deferred to top level 7 years ago
Richard van der Hoff dd1ea9763a Fix incorrect key_ids in error message 7 years ago
Richard van der Hoff 9864efa532 Fix concurrent server_key requests (#2458) 7 years ago
Richard van der Hoff 290777b3d9 Clean up and document handling of logcontexts in Keyring (#2452) 7 years ago
Kenny Keslar f18373dc5d Fix iteration of requests_missing_keys; list doesn't have .values() 7 years ago
Richard van der Hoff 4bd597d9fc push federation retry limiter down to matrixfederationclient 8 years ago
Richard van der Hoff 64778693be fix up some key verif docstrings 8 years ago
Richard van der Hoff c36d15d2de Add some debug to help diagnose weird federation issue 8 years ago
Erik Johnston 9219139351 Preserve some logcontexts 8 years ago
Erik Johnston 04fc8bbcb0 Update keyring Measure 8 years ago
Erik Johnston 2426c2f21a Measure keyrings 8 years ago
Erik Johnston fa1ce4d8ad Don't print stack traces when failing to get remote keys 8 years ago
Mark Haines fe1b369946 Clean up verify_json_objects_for_server 8 years ago
Mark Haines a4b06b619c Add a couple more checks to the keyring 8 years ago
Mark Haines 87ffd21b29 Fix a couple of bugs in the transaction and keyring code 8 years ago
Erik Johnston d26b660aa6 Cache getPeer 8 years ago
Erik Johnston cf94a78872 Set host not path 8 years ago
Erik Johnston 081e5d55e6 Send the correct host header when fetching keys 8 years ago
David Baker f28643cea9 Uncommit accidentally commited edit to cipher list 9 years ago
David Baker d46b18a00f Pass through _get_event_txn 9 years ago
Erik Johnston 2e2be463f8 Make key client send a Host header 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Paul "LeoNerd" Evans a6ba41e078 Actually look up required remote server key IDs 9 years ago
Erik Johnston 0eabfa55f6 Fix typo 9 years ago
Erik Johnston 6408541075 Don't limit connections to perspective servers 9 years ago
Erik Johnston ffe8cf7e59 Fix bug where we sometimes didn't fetch all the keys requested for a 9 years ago
Erik Johnston e1eb1f3fb9 Various bug fixes to crypto.keyring 9 years ago
Erik Johnston dd0867f5ba Various bug fixes to crypto.keyring 9 years ago
Daniel Wagner-Hall 81a93ddcc8 Allow configuration to ignore invalid SSL certs 9 years ago
Mark Haines 78323ccdb3 Remove syutil dependency in favour of smaller single-purpose libraries 9 years ago
Matthew Hodgson fb8d2862c1 remove the tls_certificate_chain_path param and simply support tls_certificate_path pointing to a file containing a chain of certificates 10 years ago
Matthew Hodgson f26a3df1bf oops, context.tls_certificate_chain_file() expects a file, not a certificate. 10 years ago
Matthew Hodgson 19fa3731ae typo 10 years ago
Matthew Hodgson 64afbe6ccd add new optional config for tls_certificate_chain_path for folks with intermediary SSL certs 10 years ago
Erik Johnston f0dd568e16 Wait for previous attempts at fetching keys for a given server before trying to fetch more 10 years ago