summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-23Store key validity time in the storage layerRichard van der Hoff6-46/+122
This is a first step to checking that the key is valid at the required moment. The idea here is that, rather than passing VerifyKey objects in and out of the storage layer, we instead pass FetchKeyResult objects, which simply wrap the VerifyKey and add a valid_until_ts field.
2019-05-23Simplify process_v2_response (#5236)Richard van der Hoff2-21/+30
* Pass time_added_ms into process_v2_response * Simplify process_v2_response We can merge old_verify_keys into verify_keys, and reduce the number of dicts flying around.
2019-05-23Remove unused VerifyKey.expired and .time_added fields (#5235)Richard van der Hoff2-3/+1
These were never used, and poking arbitary data into objects from other packages seems confusing at best.
2019-05-23Rewrite store_server_verify_key to store several keys at once (#5234)Richard van der Hoff5-87/+96
Storing server keys hammered the database a bit. This replaces the implementation which stored a single key, with one which can do many updates at once.
2019-05-23Simplifications and comments in do_auth (#5227)Richard van der Hoff3-121/+183
I was staring at this function trying to figure out wtf it was actually doing. This is (hopefully) a non-functional refactor which makes it a bit clearer.
2019-05-22Run black on synapse.crypto.keyring (#5232)Richard van der Hoff2-149/+138
2019-05-220.99.5.1 v0.99.5.1Neil Johnson3-3/+11
2019-05-22Revert "0.99.5"Neil Johnson3-11/+3
This reverts commit c31e375ade1b59a7fe38628337e9e1aa3de91feb.
2019-05-220.99.5Neil Johnson3-3/