FluffyChat Encryption via Pantalaimon
-
Fluffy Chat Flutter is the cross-platform version of Fluffy Chat, providing full E2E support and being actively developed. The QML version of Fluffy Chat will only be maintained on a low level until Fluffy Chat Flutter works on Ubuntu Touch as well (requiring Wayland support afaik), which will make the QML version completely obsolete.
Unfortunately the QML version we have at the moment does not support E2E. As the airport in Berlin is coming close to be opened, we want to provide you with a temporary solution: Pantalaimon.
Pantalaimon is provided by the Matrix Foundation and described as:
Pantalaimon is an end-to-end encryption aware Matrix reverse proxy daemon. Pantalaimon acts as a good man in the middle that handles the encryption for you.
Messages are transparently encrypted and decrypted for clients inside of pantalaimon.
You can find instructions as well as possible next steps in my repository. Feel free to test, provide feedback and jump in to improve it.Update: Source code and releases: https://sr.ht/~thrrgilag/pantalaimon-ut/
-
wayland is running by default on the pinephone, so if apps work on wayland but not mir, I think they'd still be good in the store, because it'll be there for people when wayland support come to there phone, and it will already work on the pinephone.
I believe we'll get flutter support in the update to 20.04 but I dont think it'll be backported to the current version of Ubuntu that we're using, so unfortunately that might take a while..
-
Btw. this should also work fine with uMatriks and any other possible Matrix Client on Ubuntu Touch
-
Yes indeed, which I think makes Pantalaimon a good thing to have as as standalone package regardless of the future state of FluffyChat. As mentioned in the matrix room I'll help cook up scripts, packaging, UI, whatever to make it happen.
-
I end up with dependencies errors and rootfs being filled up when I try running this setup script.
Would it work in a Libertine container rather than using UT system itself? Or would FluffyChat not be able to see it then?
Glad to see it's being worked on though
-
@theare27 what device did you try it on? I know I had space issues with the Nexus 5 and someone else had space problems with the FP2. I have a pre-compiled tar for armhf you can try, just unpack in the homedir and edit the config file for your homeserver. thrrgilag.net/pantalaimon.tar.gz
I want to get this into a proper click package, maybe this weekend if I can get a couple of tweaks cooked up.
-
OnePlus One - Stable Branch
Ok, cool - I'll wait on the click package then I think - probably be a better experience anyway
Many thanks for your work on this - it's a much needed feature for UT
-
@thrrgilag said in FluffyChat Encryption via Pantalaimon:
I want to get this into a proper click package, maybe this weekend if I can get a couple of tweaks cooked up.
You rock!
Thanck you. -
@PhoenixLandPirat said in FluffyChat Encryption via Pantalaimon:
so if apps work on wayland but not mir, I think they'd still be good in the store, because it'll be there for people when wayland support come to there phone, and it will already work on the pinephone.
Would it be possible to have Fluffychat flutter on PinePhone? Really?
-
@Thatoo Not until Flutter support is added, but the pinephone already uses wayland so we dont need to worry to much about changing things to make it support mir.
-
@thrrgilag I've deployed your binary - works fine thank you
One small thing I've noticed, not sure if it's a general pantalaimon thing or UT specific but I can't see profile images in FC now, and neither can I upload new profile images - it says upload failed.
Is this a known issue?
-
@theare27 yes seems to be an issue, I haven't had a chance to dig into it yet but will look into it.
-
@thrrgilag cheers. Obviously not a showstopper, but a nice to have
-
I've been making progress on the packaging. I've got the whole thing down to under 50MB now (versus more than 200MB). Just sorting out the click package and figuring out a basic UI to start with.
-
@theare27 Just to add that it's not just profile images, it's images embedded in a chat as well
-
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