Commit Graph

256 Commits (7bf2d6c268bb9fb6a1b22cff4287ce5f8224ac7b)

Author SHA1 Message Date
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 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
Patrick Cloke 0f9adc99ad
Add missing type hints to synapse.crypto. (#11146) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Patrick Cloke 8c7a531e27
Use direct references for some configuration variables (part 2) (#10812) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 4 years ago
Erik Johnston c842c581ed
When joining a remote room limit the number of events we concurrently check signatures/hashes for (#10117) 4 years ago
Erik Johnston fc3d2dc269
Rewrite the KeyRing (#10035) 4 years ago
Erik Johnston 1c6a19002c
Add `Keyring.verify_events_for_server` and reduce memory usage (#10018) 4 years ago
Richard van der Hoff 5a153772c1
remove `HomeServer.get_config` (#9815) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Jonathan de Jong 4c3827f2c1
Enable addtional flake8-bugbear linting checks. (#9659) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Jonathan de Jong 27d2820c33
Enable flake8-bugbear, but disable most checks. (#9499) 4 years ago
Erik Johnston 54a6afeee3
Cache config options in SSL verification (#9255) 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 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Richard van der Hoff fec6f9ac17
Fix occasional "Re-starting finished log context" from keyring (#8398) 4 years ago
Richard van der Hoff 4f3096d866 Add a comment re #1691 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 5 years ago
Patrick Cloke 76c43f086a
Do not assume calls to runInteraction return Deferreds. (#8133) 5 years ago
Richard van der Hoff de6f892065
Add a comment about SSLv23_METHOD (#8043) 5 years ago
Patrick Cloke 2a89ce8cd4
Convert the crypto module to async/await. (#8003) 5 years ago
Patrick Cloke c978f6c451
Convert federation client to async/await. (#7975) 5 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) 6 years ago
Andrew Morgan 4548d1f87e
Remove unnecessary parentheses around return statements (#5931) 6 years ago
Erik Johnston 7af5a63063 Fixup review comments 6 years ago
Richard van der Hoff ef1c524bb3
Improve error msg when key-fetch fails (#5896) 6 years ago
Erik Johnston 97cbc96093 Only sign when we respond to remote key requests 6 years ago
Erik Johnston 5906be8589 Add config option for keys to use to sign keys 6 years ago
Erik Johnston a9bcae9f50 Share SSL options for well-known requests 6 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 6 years ago
Richard van der Hoff dcca56baba Add a delay to key lookup lock release to fix stack overflow 6 years ago
Richard van der Hoff c7095be913 Refactor Keyring._start_key_lookups 6 years ago