This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Perspective key server matrix.org returns keys multiple times for some entries #15424
Labels
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
This is an offshoot of #12736.
rei@lithium ~$ curl https://matrix.org/_matrix/key/v2/query -d '{"server_keys": {"matrix.arsenm.dev": {"ed25519:a_TzAM": {}, "ed25519:ads3pX": {}}}}' | jq .
ed25519:a_TzAM
appears multiple times. There are multiple array entries for the same server name.I'm not clear on how this is meant to work, but it seems suspicious and in any case it was causing #12736 (CardinalityViolation errors due to the keys being duplicated).
We should investigate to see whether this is unwanted and whether we should fix the perspective server to not return these duplicates.
The text was updated successfully, but these errors were encountered: