Commit Graph

231 Commits (5dd73d029eff32668b3ca69b7fb8529fc7c58745)

Author SHA1 Message Date
Richard van der Hoff de6f892065
Add a comment about SSLv23_METHOD (#8043) 4 years ago
Patrick Cloke 2a89ce8cd4
Convert the crypto module to async/await. (#8003) 4 years ago
Patrick Cloke c978f6c451
Convert federation client to async/await. (#7975) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Richard van der Hoff 39230d2171
Clean up some LoggingContext stuff (#7120) 5 years ago
Richard van der Hoff c37db0211e
Share SSL contexts for non-federation requests (#7094) 5 years ago
Patrick Cloke 06eb5cae08
Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 5 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Richard van der Hoff 7f93eb1903
pass room_version into compute_event_signature (#6807) 5 years ago
Richard van der Hoff 2a81393a4b Pass room_version into add_hashes_and_signatures 5 years ago
Richard van der Hoff ba897a7590
Fix some test failures when frozen_dicts are enabled (#6642) 5 years ago
Richard van der Hoff 4b36b482e0
Fix exception when fetching notary server's old keys (#6625) 5 years ago
Michael Kaye f85b9842f0 Don't encode object as UTF-8 string if not needed. 5 years ago
Amber Brown 850dcfd2d3
Fix well-known lookups with the federation certificate whitelist (#5997) 5 years ago
Andrew Morgan 4548d1f87e
Remove unnecessary parentheses around return statements (#5931) 5 years ago
Erik Johnston 7af5a63063 Fixup review comments 5 years ago
Richard van der Hoff ef1c524bb3
Improve error msg when key-fetch fails (#5896) 5 years ago
Erik Johnston 97cbc96093 Only sign when we respond to remote key requests 5 years ago
Erik Johnston 5906be8589 Add config option for keys to use to sign keys 5 years ago
Erik Johnston a9bcae9f50 Share SSL options for well-known requests 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Richard van der Hoff dcca56baba Add a delay to key lookup lock release to fix stack overflow 5 years ago
Richard van der Hoff c7095be913 Refactor Keyring._start_key_lookups 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Amber Brown be3b901ccd
Update the TLS cipher string and provide configurability for TLS on outgoing federation (#5550) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff 81b8fdedf2 rename gutwrenched attr 6 years ago
Richard van der Hoff efe7b3176e Fix federation connections to literal IP addresses 6 years ago
Richard van der Hoff d11c634ced clean up impl, and import idna directly 6 years ago
Richard van der Hoff 88d7182ada
Improve startup checks for insecure notary configs (#5392) 6 years ago
Richard van der Hoff c2b6e945e1 Share an SSL context object between SSL connections 6 years ago
Richard van der Hoff 9fbb20a531
Stop hardcoding trust of old matrix.org key (#5374) 6 years ago
Richard van der Hoff cea9750d11 Associate a request_name with each verify request, for logging 6 years ago
Richard van der Hoff 2615c6bd9e
Clean up debug logging (#5347) 6 years ago
Richard van der Hoff 016af01598
Rename VerifyKeyRequest.deferred field (#5343) 6 years ago
Richard van der Hoff 4d08b8f30c
Don't do long retries when calling the key notary server. (#5334) 6 years ago
Richard van der Hoff c5d60eadd5 Notary server: make requests to origins in parallel 6 years ago
Richard van der Hoff def5ea4062 Don't bomb out on direct key fetches as soon as one fails 6 years ago
Richard van der Hoff 06a1f3e207 Reduce timeout for outbound /key/v2/server requests. 6 years ago
Richard van der Hoff fec2dcb1a5
Enforce validity period on server_keys for fed requests. (#5321) 6 years ago
Richard van der Hoff 3600f5568b Stop overwriting server keys with other keys 6 years ago
Richard van der Hoff 8ea2f756a9 Remove some pointless exception handling 6 years ago
Richard van der Hoff a82c96b87f Rewrite get_server_verify_keys, again. 6 years ago
Richard van der Hoff 099829d5a9 use attr.s for VerifyKeyRequest 6 years ago
Richard van der Hoff fa1b293da2
Simplification to Keyring.wait_for_previous_lookups. (#5250) 6 years ago
Richard van der Hoff b825d1c800 Improve error handling/logging for perspectives-key fetching. 6 years ago
Richard van der Hoff 753b1270da Require sig from origin server on perspectives responses 6 years ago
Richard van der Hoff 895b79ac2e Factor out KeyFetchers from KeyRing 6 years ago
Richard van der Hoff b75537beaf Store key validity time in the storage layer 6 years ago
Richard van der Hoff 84660d91b2
Simplify process_v2_response (#5236) 6 years ago