matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
279 stars 41 forks source link

Pantalaimon does not show under `list-devices` #159

Closed StrictlyMonad closed 12 months ago

StrictlyMonad commented 12 months ago

As the title mentions, I cannot seem to get Pantalaimon to appear under the known devices through the list-devices @username @username command, whereas other verified sessions appear just fine.

Steps which I have tried, but failed to get working:

  1. Removing the ~/.config/pantalaimon and the ~/.local/share/pantalaimon.
  2. Restarted the Pantalaimon systemd (NixOS) service.
  3. Restarted the ement session with the intentions of setting up pantalaimon properly.
System Information
Distribution: NixOS
Pantalaimon version: 0.10.5
Pantalaimon.conf
[Default]
LogLevel=Debug
SSL=true

[local-matrix]
Homeserver=https://matrix.org
IgnoreVerification=true
ListenAddress=localhost
ListenPort=8009
UseKeyring=false
Systemd Logs of Service

journalctl --user-unit=pantalaimon.service

 homeserver local-matrix on http://127.0.0.1:8009 ========

 WARNING: pantalaimon: User @username:matrix.org doesn't have a matching pan client.
 INFO: pantalaimon: New user logging in: @username:matrix.org
 INFO: pantalaimon: User: @username:matrix.org successfully logged in, starting a background sync client.
 INFO: pantalaimon: Indexing disabled.
 INFO: pantalaimon: Successfully started new background sync client for @username:matrix.org
 DEBUG: pantalaimon: UI loop received message UpdateUsersMessage(server='local-matrix', user_id='@username:matrix.org', device_id='FYQHIJJXFP')
 INFO: pantalaimon: Starting sync loop for @username:matrix.org
StrictlyMonad commented 12 months ago

I had misunderstood how Pantalaimon worked. Apparently you are not supposed to see it listed under list-devices, but instead use the listed devices for sending verification requests to. I.e. use the device which you are sending the verification request to, to verify pantalaimon!