forked-synapse/synapse/storage
Erik Johnston 43badd2cd4 Fix key verification when key stored with null valid_until_ms
Some keys are stored in the synapse database with a null valid_until_ms
which caused an exception to be thrown when using that key. We fix this
by treating nulls as zeroes, i.e. they keys will match verification
requests with a minimum_valid_until_ms of zero (i.e. don't validate ts)
but will not match requests with a non-zero minimum_valid_until_ms.

Fixes #5391.
2019-06-10 15:37:10 +01:00
..
engines Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
schema Merge pull request #5320 from matrix-org/hawkowl/full-schema-v1 2019-06-06 18:35:38 +01:00
util Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
__init__.py Move event background updates to a separate file 2019-05-30 11:22:59 +01:00
_base.py Add ability to perform password reset via email without trusting the identity server (#5377) 2019-06-06 17:34:07 +01:00
account_data.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
appservice.py Expose DataStore._get_events as get_events_as_list 2019-05-14 13:37:44 +01:00
background_updates.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
client_ips.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
deviceinbox.py Limit the number of EDUs in transactions to 100 as expected by receiver (#5138) 2019-05-09 11:01:41 +01:00
devices.py Prevent multiple device list updates from breaking a batch send (#5156) 2019-06-06 23:54:00 +01:00
directory.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
e2e_room_keys.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
end_to_end_keys.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
event_federation.py Expose DataStore._get_events as get_events_as_list 2019-05-14 13:37:44 +01:00
event_push_actions.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
events_bg_updates.py Update synapse/storage/events_bg_updates.py 2019-05-30 14:06:42 +01:00
events_worker.py Fix background updates to handle redactions/rejections (#5352) 2019-06-06 00:45:46 +10:00
events.py Move event background updates to a separate file 2019-05-30 11:22:59 +01:00
filtering.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
group_server.py Add functions to delete a group 2019-04-03 16:29:52 +01:00
keys.py Fix key verification when key stored with null valid_until_ms 2019-06-10 15:37:10 +01:00
media_repository.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
monthly_active_users.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
openid.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
prepare_database.py Merge pull request #5320 from matrix-org/hawkowl/full-schema-v1 2019-06-06 18:35:38 +01:00
presence.py Remove presence lists (#4989) 2019-04-03 11:11:15 +01:00
profile.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
push_rule.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
pusher.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
receipts.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
registration.py Add ability to perform password reset via email without trusting the identity server (#5377) 2019-06-06 17:34:07 +01:00
rejections.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
relations.py Merge pull request #5203 from matrix-org/erikj/aggregate_by_sender 2019-05-21 17:10:48 +01:00
room.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
roommember.py Fetch membership counts all at once 2019-05-30 15:25:41 +01:00
search.py Expose DataStore._get_events as get_events_as_list 2019-05-14 13:37:44 +01:00
signatures.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
state_deltas.py Room Statistics (#4338) 2019-05-21 11:36:50 -05:00
state.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
stats.py Fix 2019-06-03 17:42:52 +01:00
stream.py Better words 2019-06-06 11:09:38 +01:00
tags.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
transactions.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
user_directory.py Fix grammar and document get_current_users_in_room (#4998) 2019-04-03 14:32:20 +01:00
user_erasure_store.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00