FluffyChat Encryption via Pantalaimon
-
I've got the first cut of a click package if anyone would like to take it for a spin. It's still kinda rough so I'll be doing some more work on it before I publish it to the OpenStore. But if anyone wants to live on the edge and try it out...
armhf: https://thrrgilag.net/pantalaimon.thrrgilag_0.1.0_armhf.click
arm64: https://thrrgilag.net/pantalaimon.thrrgilag_0.1.0_arm64.clicksource code, issue tracker, and mailing list:
https://sr.ht/~thrrgilag/pantalaimon-ut/If you find issues, you can toss em to me on the issue tracker, mailing list, via matrix, email, or carrier pidgen.
-
@thrrgilag I've already got ypur previous binary build running
What would be the procedure for replac.clickat with the .click?
I'm guessing:
Reboot phone
Install click
Depete previous binary directory -
@theare27 pretty much. Additionally if you want to carry over the config file you can simply copy it from /home/phablet/pantalaimon/pantalaimon.conf to /home/phablet/.config/pantalaimon/pantalaimon.conf. The UI includes a control that'll allow you to enable and disable the service at startup.
-
I've narrowed the image download issue down to being specific to FluffyChat and in particular the control it uses to fetch the images. I haven't had any time yet to debug further but I'll post when I get to the bottom of it.
-
@thrrgilag great, got the click installed, copied the config over & looks good
Quick question, does the PanUT app need to be kept running or can it be closed once the services are started?
Fab that you've isolated the image issue, let me know if I can help with testing anything
-
@theare27 you can go ahead and close it, the service will keep running.
-
It works fine for me. Great work!
-
@thrrgilag thanks for your work on Pantalaimon UT!
I am trying to get it to work but I keep getting a "No connection..." message in Fluffychat when pointed to the local address and port. I've checked that the service is running, and tried with various homeservers in 2 different devices (both arm64), with no success.
Any clues as to why it's not working?
-
@lgtrombetta Can you check the logs? You can check the logs using the logviewer app?
-
@lgtrombetta try closing the app and loading it back up again and see if it remembers your config. There might be a bug on the initial setup.
-
@thrrgilag here are the logs: https://paste.ubuntu.com/p/cwjJ78VpJd/
First time I closed and reopened the app it didn't remember the config, but since then it does remember and still no luck.
-
@lgtrombetta okay if you could grab the log that would be the next place to look to see what errors might be getting thrown by the daemon
-
@thrrgilag here are the logs: https://paste.ubuntu.com/p/cwjJ78VpJd/
Aren't these the correct ones?
-
@lgtrombetta oh haha sorry guess I need more coffee this morning.
Interesting seems to not find the service either. Try disabling and re-enabling the service now, maybe a reboot after that.
What device are you runnning this on? I'll see if I can re-create this first-time experience and ferret out these bugs.
-
Try disabling and re-enabling the service now, maybe a reboot after that.
Tried it several times, still nothing.
What device are you runnning this on? I'll see if I can re-create this first-time experience and ferret out these bugs.
So.. this is both on the Pinephone and on a Nexus 6p. The logs I sent you are from the latter. I know UT on both these devices is not feature complete yet, so the problem might as well be not specific to this app.
Let me know if you want me to try something else.
-
It works here on my Pinephone. Does the Pantalaimon app display something like
pantalaimon start/running, process 1234
? -
@jonius yes.
I just realized using top via ssh that the process keeps respawning and changing its pid every 5 seconds. Is this behaviour expected? This is on both devices.
-
@lgtrombetta If it keeps respawning it means it's failing to start properly.
-
@thrrgilag worth trying the previous binary (spawned via adb or ssh) rather than the .click?
-
@theare27 good thought.
@lgtrombetta if you could try ssh or adb to the device and run it directly, that should hopefully make more apparent what the failure might be. You can do "stop pantalaimon" to make sure the service is stopped, followed by executing "/opt/click.ubuntu.com/pantalaimon.thrrgilag/current/pantalaimon"