matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.82k stars 2.13k forks source link

Refactor storing of server keys #16261

Closed erikjohnston closed 1 year ago

erikjohnston commented 1 year ago

We have too tables, server_signature_keys and server_keys_json, which stores server key information in different formats. Ideally we'd merge the tables? But in the meantime we can avoid confusion by ensuring that we always write to both tables consistently.

c.f. https://github.com/matrix-org/synapse/issues/15171#issuecomment-1464224490

clokep commented 1 year ago

Related to #15463.