mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-13 20:13:14 +01:00
2cb7c91c5d
* Store our own keys in the keydb The DirectKeyFetcher makes the assumption that you can always reach the key/v2/server endpoint of any server, including our own. We previously haven't bothered to store our own keys in the keydb so this would mean we end up making key requests to ourselves. In the libp2p world as an example, self-dialling is not possible, therefore this would render it impossible to get our own keys. This commit adds our own keys into the keydb so that we don't create unnecessarily (and maybe impossible) requests. * Use golang.org/x/crypto/ed25519 instead of crypto/ed25519 for pre-Go 1.13 |
||
---|---|---|
.. | ||
basecomponent | ||
config | ||
http | ||
keydb | ||
test | ||
transactions | ||
consumers.go | ||
eventcontent.go | ||
events.go | ||
httpapi.go | ||
log.go | ||
partition_offset_table.go | ||
routing.go | ||
sql.go | ||
types.go |