UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FluffyChat Encryption via Pantalaimon

    Scheduled Pinned Locked Moved App Development
    99 Posts 14 Posters 30.6k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • joniusJ Offline
        jonius
        last edited by jonius

        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/

        1 Reply Last reply Reply Quote 2
        • PhoenixLandPiratP Offline
          PhoenixLandPirat
          last edited by

          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..

          T 1 Reply Last reply Reply Quote 1
          • KrilleK Offline
            Krille
            last edited by

            Btw. this should also work fine with uMatriks and any other possible Matrix Client on Ubuntu Touch 😊

            1 Reply Last reply Reply Quote 2
            • thrrgilagT Offline
              thrrgilag
              last edited by

              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. 😀

              1 Reply Last reply Reply Quote 3
              • T Offline
                theare27
                last edited by

                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

                thrrgilagT 1 Reply Last reply Reply Quote 0
                • thrrgilagT Offline
                  thrrgilag @theare27
                  last edited by

                  @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.

                  T T 2 Replies Last reply Reply Quote 1
                  • T Offline
                    theare27
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Thatoo @thrrgilag
                      last edited by

                      @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.

                      Nexus 5

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        Thatoo @PhoenixLandPirat
                        last edited by

                        @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?

                        Nexus 5

                        PhoenixLandPiratP 1 Reply Last reply Reply Quote 0
                        • PhoenixLandPiratP Offline
                          PhoenixLandPirat @Thatoo
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 1
                          • T Offline
                            theare27 @thrrgilag
                            last edited by

                            @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?

                            thrrgilagT 1 Reply Last reply Reply Quote 0
                            • thrrgilagT Offline
                              thrrgilag @theare27
                              last edited by

                              @theare27 yes seems to be an issue, I haven't had a chance to dig into it yet but will look into it.

                              T 1 Reply Last reply Reply Quote 1
                              • T Offline
                                theare27 @thrrgilag
                                last edited by

                                @thrrgilag cheers. Obviously not a showstopper, but a nice to have

                                T 1 Reply Last reply Reply Quote 0
                                • thrrgilagT Offline
                                  thrrgilag
                                  last edited by

                                  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.

                                  1 Reply Last reply Reply Quote 2
                                  • T Offline
                                    theare27 @theare27
                                    last edited by

                                    @theare27 Just to add that it's not just profile images, it's images embedded in a chat as well

                                    1 Reply Last reply Reply Quote 0
                                    • thrrgilagT Offline
                                      thrrgilag
                                      last edited by

                                      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.click

                                      source 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.

                                      T lgtrombettaL 2 Replies Last reply Reply Quote 5
                                      • T Offline
                                        theare27 @thrrgilag
                                        last edited by

                                        @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

                                        thrrgilagT 1 Reply Last reply Reply Quote 0
                                        • thrrgilagT Offline
                                          thrrgilag @theare27
                                          last edited by

                                          @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.

                                          T 1 Reply Last reply Reply Quote 0
                                          • thrrgilagT Offline
                                            thrrgilag
                                            last edited by

                                            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.

                                            1 Reply Last reply Reply Quote 1
                                            • T Offline
                                              theare27 @thrrgilag
                                              last edited by

                                              @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

                                              thrrgilagT 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post