0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-18 05:23:43 +01:00
dendrite/keyserver/inthttp
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
..
client.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
server.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