Kegsay
a2174d3294
Implement /keys/changes ( #1232 )
...
* Implement /keys/changes
And refactor QueryKeyChanges to accept a `to` offset.
* Unbreak tests
* Sort keys when serialising log tokens
2020-07-30 14:52:21 +01:00
Kegsay
9355fb5ac8
Hook up device list updates to the sync notifier ( #1231 )
...
* WIP hooking up key changes
* Fix import cycle, get tests passing and binary compiling
* Linting and update whitelist
2020-07-30 11:15:46 +01:00
Kegsay
9a5fb489c5
Add QueryKeyChanges ( #1228 )
...
Hook some things up to call it as well.
2020-07-28 18:25:16 +01:00
Kegsay
98f2f09bb4
keyserver: produce key change events ( #1218 )
...
* Produce kafka events when keys are added
* Consume key changes in syncapi with TODO markers for handling them and catching up
* unbreak tests
* Linting
2020-07-23 16:41:36 +01:00
Kegsay
541a23f712
Handle inbound federation E2E key queries/claims ( #1215 )
...
* Handle inbound /keys/claim and /keys/query requests
* Add display names to device key responses
* Linting
2020-07-22 17:04:57 +01:00
Kegsay
470933789b
Perform outbound federation hits for querying/claiming E2E keys ( #1212 )
...
* Perform outbound federation hits for querying/claiming E2E keys
Untested currently because we need the receiving end to work
before sytest will be happy.
* Linting
2020-07-21 17:46:47 +01:00
Kegsay
1d72ce8b7a
Implement claiming one-time keys locally ( #1210 )
...
* Add API shape for claiming keys
* Implement claiming one-time keys locally
Fairly boring, nothing too special going on.
2020-07-21 14:47:53 +01:00
Kegsay
f5e7e7513c
Implement /keys/query locally ( #1204 )
...
* Implement /keys/query locally
* Fix sqlite tests and close rows
2020-07-15 18:40:41 +01:00
Kegsay
9dd2ed7f65
Implement key uploads ( #1202 )
...
* Add storage layer for postgres/sqlite
* Return OTK counts when inserting new keys
* Hook up the key DB and make a test pass
* Convert postgres queries to be sqlite queries
* Blacklist test due to requiring rejected events
* Unbreak tests
* Update blacklist
2020-07-15 12:02:34 +01:00
Kegsay
7daa3bf098
Implement logic for key uploads ( #1197 )
...
* begin work on storing keys
* Finish rough impl of the internal key API
* Linting
2020-07-14 12:59:07 +01:00
Kegsay
396219ef53
Add boilerplate for key server APIs ( #1196 )
...
Also add a README which outilnes how things will work.
2020-07-13 16:02:35 +01:00