Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec v5 rooms: Key validity #2080

Merged
merged 2 commits into from
Jun 11, 2019
Merged

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Jun 5, 2019

This cannot be merged until BOTH proposals have passed FCP. Asking for early review in preparation for that.

Proposals:

Implementation references:

Fixes #2075

No known differences from the proposals are included here - alterations are accidental.

Proposals:
* [MSC2076](#2076)
* [MSC2077](#2077)

Implementation references:
* matrix-org/synapse@00bf99f
* matrix-org/synapse#5354
* matrix-org/synapse#5321

No known differences from the proposals are included here - alterations are accidental.
@turt2live turt2live requested a review from a team June 5, 2019 23:05
@turt2live turt2live added the Matrix 1.0 Spec PRs that need review for 1.0 label Jun 5, 2019
When validating event signatures, servers MUST enforce the ``valid_until_ts`` property
from a key request is at least as large as the ``origin_server_ts`` for the event being
validated. Servers missing a copy of the signing key MUST try to obtain one via the
`GET /_matrix/key/v2/server <../server_server/r0.1.1.html#get-matrix-key-v2-server-keyid>`_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be /latest rather than /r0.1.1?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

latest is only a thing on matrix.org's hosted copy, so for development it's actually easier to s/r0.1.0/r0.1.1 at release time.

@ara4n
Copy link
Member

ara4n commented Jun 10, 2019

looks plausible other than review

@ara4n
Copy link
Member

ara4n commented Jun 10, 2019

@richvdh needs to review this one, though, i think

@turt2live turt2live requested a review from richvdh June 10, 2019 19:21
Copy link
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think?

@turt2live
Copy link
Member Author

I'm going to count two people as being uncertain as 1 being completely certain. We can always clarify this later.

@turt2live turt2live merged commit 6d60258 into master Jun 11, 2019
@turt2live turt2live deleted the travis/1.0/msc2076-msc2077-v5-rooms branch June 11, 2019 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Matrix 1.0 Spec PRs that need review for 1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

we should recommend that servers discard /key/v2 responses with stupid valid_until_ts values
3 participants