Enforce 7 day validity requirement everywhere

also misc formatting fixes
This commit is contained in:
Travis Ralston 2019-06-10 13:21:24 -06:00
parent a6314df44c
commit cf19f52576
2 changed files with 8 additions and 3 deletions

View file

@ -98,7 +98,7 @@ properties:
be ignored in room versions 1, 2, 3, and 4. Keys used beyond this timestamp MUST
be considered invalid, depending on the `room version specification`_.
Servers SHOULD use the lesser of this field and 7 days into the future when
Servers MUST use the lesser of this field and 7 days into the future when
determining if a key is valid. This is to avoid a situation where an attacker
publishes a key which is valid for a significant amount of time without a way
for the homeserver owner to revoke it.