Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

obscure federation authentication failure #2034

Closed
richvdh opened this issue Mar 20, 2017 · 6 comments
Closed

obscure federation authentication failure #2034

richvdh opened this issue Mar 20, 2017 · 6 comments

Comments

@richvdh
Copy link
Member

richvdh commented Mar 20, 2017

matrix.org shows:

2017-03-20 14:50:08,108 - synapse.federation.transport.server - 174 - ERROR - GET-474391 - authenticate_request failed
Traceback (most recent call last):
  File "synapse/federation/transport/server.py", line 167, in new_func
SynapseError: 401: Invalid signature for server lowpolydev.de with key ed25519:a_Ftqq

for any request received over federation from lowpolydev.de.

lowpolydev.de is no longer using ed25519:a_Ftqq; inspecting requests received at sw1v.org suggest that it is using its current key (ed25519:a_pzkY) to sign things.

@ara4n
Copy link
Member

ara4n commented Mar 20, 2017

is this not just that they changed their signing key, but the perspectives server is still emitting the old one for the next 24h until it times out and starts believing the new one?

@richvdh
Copy link
Member Author

richvdh commented Mar 20, 2017

Don't think so. "Invalid signature for server lowpolydev.de with key ed25519:a_Ftqq" means "it was signed by a_Ftqq, but the signature didn't match". Nothing to do with where the key came from.

@ara4n
Copy link
Member

ara4n commented Mar 20, 2017

hm. what if they lost their signing key, and created a new one, deliberately naming it with the same label as before? (hence the name being the same, but the wrong signature from the pov of the notary?)

@richvdh
Copy link
Member Author

richvdh commented Mar 20, 2017

that wouldn't explain why matrix.org is complaining about an invalid signature with a_Ftqq, but everywhere else sees the signature as claiming to be by a_pzkY.

either lowpolydev.de is doing something different on matrix.org, or matrix.org is lying about the signature being by a_Ftqq.

@richvdh
Copy link
Member Author

richvdh commented Mar 22, 2017

I hope this will be fixed by #2042, at least once that lands on matrix.org.

@emdete
Copy link

emdete commented Jun 13, 2018

I have that error for contacting matrix.org (that's why i could not ask in the room first) since yesterday:

SynapseError: 401: Invalid signature for server matrix.org with key ed25519:auto

i upgraded and retried.

this only happens for room messages, not for p2p ones.

is there a way to manually clean the cache if its an cache problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants