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.
      • thrrgilagT Offline
        thrrgilag
        last edited by

        I've published another minor update. This release includes additional homeserver settings for http proxy and ssl verification. It also now has a global setting to update the log level to assist with troubleshooting.

        https://git.sr.ht/~thrrgilag/pantalaimon-ut/refs/0.4.0

        I'll be reaching out the OpenStore folks later this week and see about getting it reviewed and published. Then the focus will be on getting the interactive features wired up.

        ? 1 Reply Last reply Reply Quote 2
        • B Offline
          BigB
          last edited by

          @thrrgilag Thanks! Works great on my nexus 7 stable and nexus 5 RC

          The strange thing happens when I test it on another nexus 5 RC and nexus 7 RC (in general I have 4 devices), apps crashes I mean - flfuffy frezzes and logs out from account
          I was searching for the reason and... maybe it happens when device powers off, casued by critically low battery. This is what happened on both mentioned decices and after this situation fluffy stopped working
          (reinstalling both apps and clearing data didn't work, so only OS reflash may work...)

          For everyone interseted in matrix on UT device, with new qt web engine avaliable on RC, you can create simple webapp, there is no notifications and it lookls like desktop version but for now it may be alternative for devices where fluffy/pantalaimon crashes. Video and Pictures work, I'll test calls later.

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @thrrgilag
            last edited by

            @thrrgilag any updates on bringing the Pantalaimon to the OpenStore? This would be awesome!

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

              @jimmypesto no unfortunatly no updates on that front. The possibility I think was brought up briefly in the telegram group but I didn't push it with the gatekeepers yet.

              The last few months I've been focusing on gtk/libhandy related development in the little free time I've had so I'm a bit behind on ubuntu touch work. Not sure when I'll get back to it but I'll keep it on my radar and hopefully at some point put out an update.

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by

                @thrrgilag this would be awesome, thanks.

                Lacking E2E support is really problem with FluffyChat so far...

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by

                  So I finally found time to play with your awesome software. Sadly I can not fully understand the installation instructions and need a little extra help.
                  I downloaded the 0.4.0 release to the downloads folder of the Phone and extracted it.
                  Then I copied the dev-build.sh to the home directory of phablet, made it executable and run it. It finished without errors.
                  Now I can find the directory: ~/pantalaimon-build
                  Inside this directory is one file and one dir: main.patch tmp
                  What do you mean by * pull /home/phablet/pantalaimon-build/dist/pantalaimon?
                  Additionally I wasn't able to find the file pantalaimon that should be renamed.

                  thrrgilagT 2 Replies Last reply Reply Quote 0
                  • thrrgilagT Offline
                    thrrgilag @Guest
                    last edited by

                    @jimmypesto doh! aparently I had either forgot to attach them or the click packages fell off that release entry. I'll dig those up and post them again. You don't have to run a new build unless you want to recompile everything from scratch.

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

                      @jimmypesto the click pacakges for both 32bit and 64bit should be available now on https://git.sr.ht/~thrrgilag/pantalaimon-ut/refs/0.4.0

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @thrrgilag
                        last edited by

                        @thrrgilag nah I just want to get your software up and running.

                        Thanks for your quick support. Awesome!

                        Can you help me to get back into a clean state? I feel like I'm stuck...

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

                          @jimmypesto you can just blow away that build folder on your device. The click package has a UI that you can use to set and update your settings as well as enable or disable the background service.

                          ? 1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User @thrrgilag
                            last edited by

                            @thrrgilag thanks a lot.
                            I was able to install the click package without any errors.

                            1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User
                              last edited by

                              So I was able to activate Pantalaimon, and use it from Fluffy Chat. Its really easy thanks to your work.

                              It seems like encryption is working but within Element Clients I get this red warning sign besides each message from the Pantalaimon + Fluffy combo that says its not encrypted.
                              WarnSign_not_crypted.png
                              I played around a lot. My understanding of everything is still basic but I did not find a way get rid of this. Am I doing sth. wrong?

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

                                @jimmypesto it has to do with verification of the client session (or lack thereof). Unforunatly that isn't exposed through a UI right with this build. You can blindly verify the session through Element but otherwise as it stands there isn't a good way to do it atm.

                                ? 1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @thrrgilag
                                  last edited by

                                  @thrrgilag Today Fluffy crashed and I had to login again. Afterwards the warning sign was gone.

                                  Hmn but in the Fluffy encryption options I can see the keys used for verification and I can enable/disable these.

                                  Is there a recommended way to set up E2EE between two ppl with lets say 2 devices each (and one of these is UB Fluffy + Pantalaimon)?

                                  Im just getting started, sry for all these questions and thanks for your support.

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

                                    @jimmypesto said in FluffyChat Encryption via Pantalaimon:

                                    @thrrgilag Today Fluffy crashed and I had to login again. Afterwards the warning sign was gone.

                                    Don't forget if you have to sign in again, that fluffy is pointing to pantalaimon

                                    Is there a recommended way to set up E2EE between two ppl with lets say 2 devices each (and one of these is UB Fluffy + Pantalaimon)?

                                    Because there isn't any controls available from the UB Fluffy+Pantalaimon side you'll have to start the encrypted chat using another client that supports encryption such as Element. Once you've done that it should work in UB Fluffy. Keep in mind that if you have previously encrypted messages those won't be decryptable since you can't easily import the keys from another session. But new messages should decrypt just fine.

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

                                      For those who aren't already aware, the latest FluffyChat update fixes the broken image issue when used with Pantalaimon.

                                      joniusJ 1 Reply Last reply Reply Quote 0
                                      • joniusJ Offline
                                        jonius @thrrgilag
                                        last edited by

                                        @thrrgilag nice!

                                        May I ask what keeps you from uploading the app to the OpenStore? I think it is useful the way it is right now.

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

                                          @jonius said in FluffyChat Encryption via Pantalaimon:

                                          @thrrgilag nice!

                                          May I ask what keeps you from uploading the app to the OpenStore? I think it is useful the way it is right now.

                                          At this point I think it's mostly a matter of me not having the time to chase it down. I'll see if I can dig up that information and figure out what that process is to get it approved and submitted in the next week or so.

                                          H 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            slowcyclist
                                            last edited by

                                            I have downloaded the latest click package, but struggled a bit finding how one is supposed to manually install such a click package. I did

                                            pkcon install-local --allow-untrusted pantalaimon.thrrgilag_0.5.0_arm64.click
                                            

                                            Then I could open launch the app, configure it, start the service. All seemed fine. However, Fluffychat does not connect through pantalaimon (":confused_face: no connection "). And Fluffychat can connect directly to my homeserver.

                                            Looking in the logs, it seems pantalaimon has a problem

                                            Traceback (most recent call last):
                                              File "peewee.py", line 3035, in connect
                                              File "peewee.py", line 3371, in _connect
                                            sqlite3.OperationalError: unable to open database file
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "pantalaimon", line 10, in <module>
                                              File "click/core.py", line 829, in __call__
                                             [...]
                                              File "peewee.py", line 3371, in _connect
                                            peewee.OperationalError: unable to open database file
                                            [11864] Failed to execute script pantalaimon
                                            
                                            

                                            I suspect the way I installed the app might not give it the proper rights to operate correctly. If so can anyone tell me how one is supposed to properly install a click package manually? Otherwise, any idea how I can debug the issue?

                                            KenedaK 1 Reply Last reply Reply Quote 0
                                            • KenedaK Offline
                                              Keneda @slowcyclist
                                              last edited by

                                              @slowcyclist
                                              Ubuntu Touch Tweak Tool have a built in feature to install click packages. 🙂

                                              2015-2023 : Meizu MX4 ☠️⚰️✝️
                                              2023-2024 : Nexus 5 ☠️⚰️✝️
                                              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                                              🇲🇫🇬🇧

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