summary refs log tree commit diff
path: root/tests/test_mau.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-06-10 14:31:05 +0100
committerErik Johnston <erik@matrix.org>2019-06-10 15:37:10 +0100
commit43badd2cd4315c3f3ed45b0092c4479a43a3eb52 (patch)
treefb90e173c2da212ef16b763b867337f7cb421558 /tests/test_mau.py
parent1.0.0rc1 (diff)
downloadsynapse-43badd2cd4315c3f3ed45b0092c4479a43a3eb52.tar.xz
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.
Diffstat (limited to 'tests/test_mau.py')
0 files changed, 0 insertions, 0 deletions