matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
292 stars 42 forks source link

Verification not successful #155

Open ppar opened 1 year ago

ppar commented 1 year ago

I'm not able to verify pantalaimon as a Device in Matrix, so encryption/decryption features are not working.

FWIW, I don't know if these are the right steps to follow. I've opened a separate issue about documenting the correct procedure: https://github.com/matrix-org/pantalaimon/issues/154

This is on version 0.10.5 installed using pip.

After configuring and starting pantalaimon, and connecting to it using https://github.com/quotient-im/Quaternion :

pickinanameainteasy commented 1 year ago

Running into a similar issue. I logged in with curl and got an access token through pantalaimon. I tried to send a message to the room via curl and got this error:

{"errcode": "M_UNKNOWN", "error": "The pantalaimon client did not manage to sync with the server"}

According to documentation all you need to do to sync to the server is log in which i did.

So i opened the user in element, I also see 'pantalaimon' as unverified. I click 'verify'.

In panctl I run accept-verification @user-name:server-name device-id @user-name:server-name that is the only way to not get an error it just gives no output. I then run confirm-verification @user-name:server-name device-id @user-name:server-name again no output to show success, but i assumed that meant it worked. However, in element it still shows unverified.

I attempt to send another message via curl and but it fails.

Checking the logs of pantalaimon shows that the verification was declined because the client did not manage to sync with the server.

I tried doing start-verification @user-name:server-name device-id device-id-of-element and it gives this error: No device found for device-id and device-id-of-element

Better documentation is required as it doesn't really make sense currently

Arnavion commented 8 months ago

I also could not get it to work if I initiate the verification from another client, but initiating the verification from panctl works fine. I documented the whole process in https://github.com/matrix-org/pantalaimon/issues/154#issuecomment-1951591191