MatrixSynapse/synapse
Richard van der Hoff 95f21c7a66 Fix caching of remote servers' signature keys
The `@cached` decorator on `KeyStore._get_server_verify_key` was missing
its `num_args` parameter, which meant that it was returning the wrong key for
any server which had more than one recorded key.

By way of a fix, change the default for `num_args` to be *all* arguments. To
implement that, factor out a common base class for `CacheDescriptor` and `CacheListDescriptor`.
2017-03-22 15:11:30 +00:00
..
api Comment 2017-03-15 16:01:01 +00:00
app Merge pull request #2033 from matrix-org/erikj/repl_speed 2017-03-21 13:11:15 +00:00
appservice Rename network_id to instance_id on client side 2016-12-12 16:05:45 +00:00
config Add helpful texts to logger config options 2017-03-13 12:33:35 +00:00
crypto Add some debug to help diagnose weird federation issue 2017-03-20 15:36:14 +00:00
events Refactoring and cleanups 2017-03-17 15:06:07 +00:00
federation Fix assertion to stop transaction queue getting wedged 2017-03-15 12:16:55 +00:00
handlers Merge pull request #2027 from matrix-org/rav/logcontext_leaks 2017-03-20 11:53:36 +00:00
http Merge pull request #1994 from matrix-org/dbkr/msisdn_signin_2 2017-03-15 09:59:54 +00:00
metrics Rename the python-specific metrics now the docs claim that we have done 2016-11-03 17:03:52 +00:00
push Don't recreate so many sets 2017-03-16 11:54:26 +00:00
replication PEP8 2017-03-20 13:47:56 +00:00
rest Don't recreate so many sets 2017-03-16 11:54:26 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Merge pull request #2033 from matrix-org/erikj/repl_speed 2017-03-21 13:11:15 +00:00
streams Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
util Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
__init__.py Bump version and changelog 2017-02-21 13:43:36 +00:00
event_auth.py Use better variable name 2017-01-17 14:32:53 +00:00
notifier.py Don't recreate so many sets 2017-03-16 11:54:26 +00:00
python_dependencies.py Support registration / login with phone number 2017-03-13 17:27:51 +00:00
server.py Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Refactoring and cleanups 2017-03-17 15:06:07 +00:00
types.py Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
visibility.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00