MatrixSynapse/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
schema
util
__init__.py
_base.py
account_data.py
appservice.py
background_updates.py
client_ips.py
deviceinbox.py
devices.py
directory.py
e2e_room_keys.py
end_to_end_keys.py
event_federation.py
event_push_actions.py
events.py
events_bg_updates.py
events_worker.py
filtering.py
group_server.py
keys.py Fix key verification when key stored with null valid_until_ms 2019-06-10 15:37:10 +01:00
media_repository.py
monthly_active_users.py
openid.py
prepare_database.py
presence.py
profile.py
push_rule.py
pusher.py
receipts.py
registration.py
rejections.py
relations.py
room.py
roommember.py
search.py
signatures.py
state.py
state_deltas.py
stats.py
stream.py
tags.py
transactions.py
user_directory.py
user_erasure_store.py