synapse-product/tests/crypto
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
..
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_event_signing.py Make add_hashes_and_signatures operate on dicts 2019-01-29 11:12:38 +00:00
test_keyring.py Fix key verification when key stored with null valid_until_ms 2019-06-10 15:37:10 +01:00