Commit Graph

77 Commits (8c56e18e4786a28bedbafb1a73fd1abc8806933f)

Author SHA1 Message Date
Erik Johnston 0aba4a4eaa
Add cache to `get_server_keys_json_for_remote` (#16123) 1 year ago
Patrick Cloke ad3f43be9a
Run pyupgrade for python 3.7 & 3.8. (#16110) 1 year ago
Patrick Cloke 5e024a0645
Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2 years ago
reivilibre edae20f926
Improve robustness when handling a perspective key response by deduplicating received server keys. (#15423) 2 years ago
Patrick Cloke 42aea0d8af
Add final type hint to tests.unittest. (#15072) 2 years ago
Patrick Cloke a4ca770655
Add missing type hints to tests. (#14687) 2 years ago
Richard van der Hoff ecb6fe9d9c
Stop using deprecated `keyIds` param on /key/v2/server (#14525) 2 years ago
David Robertson e1b15f25f3
Fix /key/v2/server calls with URL-unsafe key IDs (#14490) 2 years ago
Jacek Kuśnierz 88193f2125
Remove direct refeferences to PyNaCl (use signedjson instead). (#12902) 3 years ago
David Robertson e0bb268134
Fix typechecker problems exposed by signedjson 1.1.2 (#12326) 3 years ago
Patrick Cloke 02d708568b
Replace assertEquals and friends with non-deprecated versions. (#12092) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
David Robertson 1b1aed38e3 Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714) 3 years ago
David Robertson c43dd4d01b
Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714) 3 years ago
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Richard van der Hoff 9cd13c5f63
Fix perspectives requests for multiple keys for the same server (#11440) 3 years ago
Richard van der Hoff a6f7f84570
Fix verification of objects signed with old local keys (#11379) 3 years ago
Shay e002faee01
Fetch verify key locally rather than trying to do so over federation if origin and host are the same. (#11129) 3 years ago
Erik Johnston fc3d2dc269
Rewrite the KeyRing (#10035) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Patrick Cloke 48d44ab142
Record more information into structured logs. (#9654) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 1c9a850562
Add type hints to the crypto module. (#8999) 4 years ago
Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 4 years ago
Patrick Cloke c9c0ad5e20
Remove the deprecated Handlers object (#8494) 4 years ago
Richard van der Hoff 5e3ca12b15
Create a mechanism for marking tests "logcontext clean" (#8399) 4 years ago
Richard van der Hoff fec6f9ac17
Fix occasional "Re-starting finished log context" from keyring (#8398) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke e00816ad98
Do not yield on awaitables in tests. (#8193) 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
Patrick Cloke 38e1fac886
Fix some spelling mistakes / typos. (#7811) 4 years ago
Richard van der Hoff 39230d2171
Clean up some LoggingContext stuff (#7120) 5 years ago
Richard van der Hoff 799001f2c0
Add a `make_event_from_dict` method (#6858) 5 years ago
Richard van der Hoff 2a81393a4b Pass room_version into add_hashes_and_signatures 5 years ago
Richard van der Hoff 4b36b482e0
Fix exception when fetching notary server's old keys (#6625) 5 years ago
Erik Johnston a8d16f6c00 Review comments 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 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 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston 43badd2cd4 Fix key verification when key stored with null valid_until_ms 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 def5ea4062 Don't bomb out on direct key fetches as soon as one fails 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 fa1b293da2
Simplification to Keyring.wait_for_previous_lookups. (#5250) 6 years ago
Richard van der Hoff 753b1270da Require sig from origin server on perspectives responses 6 years ago