0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 12:03:51 +01:00
dendrite/federationapi
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
..
api Change how servers are selected for missing auth/prev events (#1892) 2021-06-30 12:05:58 +01:00
routing 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
federationapi.go Change how servers are selected for missing auth/prev events (#1892) 2021-06-30 12:05:58 +01:00
federationapi_test.go Change how servers are selected for missing auth/prev events (#1892) 2021-06-30 12:05:58 +01:00