mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 04:34:28 +03:00
43badd2cd4
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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_event_signing.py | ||
test_keyring.py |