dendrite/keyserver/storage
Neil Alexander e95b1fd238
Cross-signing validation for self-sigs, expose signatures over /user/keys/query and /user/devices/{userId} (#1962)
* Enable unstable feature again

* Try to verify when a device signs a key

* Try to verify when a key signs a device

* It's the self-signing key, not the master key

* Fix error

* Try to verify master key uploads

* Actually we can't guarantee we can do that so nevermind

* Add signatures into /devices/list request

* Fix nil pointer

* Reprioritise map creation

* Don't skip devices that don't have signatures

* Add some debug logging

* Fix logic error in QuerySignatures

* Fix bugs

* Expose master and self-signing keys on /devices/list hopefully

* maps are tedious

* Expose signatures via /keys/query

* Upload signatures when uploading keys

* Fixes

* Disable the feature again
2021-08-06 10:13:35 +01:00
..
postgres Cross-signing storage code (#1959) 2021-08-04 17:31:18 +01:00
shared Cross-signing validation for self-sigs, expose signatures over /user/keys/query and /user/devices/{userId} (#1962) 2021-08-06 10:13:35 +01:00
sqlite3 Cross-signing storage code (#1959) 2021-08-04 17:31:18 +01:00
tables Cross-signing storage code (#1959) 2021-08-04 17:31:18 +01:00
interface.go Cross-signing validation for self-sigs, expose signatures over /user/keys/query and /user/devices/{userId} (#1962) 2021-08-06 10:13:35 +01:00
storage_test.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
storage.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00