Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Key distribution v2#129

Merged
erikjohnston merged 26 commits intodevelopfrom
key_distribution
Apr 29, 2015
Merged

Key distribution v2#129
erikjohnston merged 26 commits intodevelopfrom
key_distribution

Conversation

@NegativeMjark
Copy link
Contributor

Start implementing version 2 of the key API.

  • Implement /_matrix/key/v2/server/.* returning a single static JSON response that by default renews once a day.
  • Implement /_matrix/key/v2/query/. which allows a synapse server to act as a perspective server.
  • Query /_matrix/key/v2/query/ from a list of perspective servers when looking up a key before trying to get the key directly.
  • By default only query matrix.org until we have more servers to work with.

Copy link
Member

Choose a reason for hiding this comment

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

Can this for loop be done as a defer.gatherResults ?

Copy link
Member

Choose a reason for hiding this comment

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

Adding consumeErrors=True I think ensures that we don't get any Unhandled Errors

@erikjohnston
Copy link
Member

LGTM

erikjohnston added a commit that referenced this pull request Apr 29, 2015
@erikjohnston erikjohnston merged commit 64991b0 into develop Apr 29, 2015
@erikjohnston erikjohnston deleted the key_distribution branch July 21, 2015 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants