Kegsay
10f4f11a91
Merge branch 'master' into kegan/dl-inbound
2020-08-05 13:40:18 +01:00
Kegan Dougal
617862e40c
Process inbound device list updates from federation
...
- Persist the keys in the keyserver and produce key changes
- Does not currently fetch keys from the remote server if the prev IDs are missing
2020-08-05 12:55:43 +01:00
Neil Alexander
15dc1f4d03
Use TransactionWriter in SQLite keyserver ( #1239 )
...
* Use TransactionWriter in SQLite keyserver
* Fix keyserver storage tests
2020-08-05 11:01:37 +01:00
Kegsay
fb56bbf0b7
Generate stream IDs for locally uploaded device keys ( #1236 )
...
* Breaking: add stream_id to keyserver_device_keys table
* Add tests for stream ID generation
* Fix whitelist
2020-08-03 17:07:06 +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