• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • ? Offline
      A Former User @thrrgilag
      last edited by 12 Jan 2021, 23:38

      @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 13 Jan 2021, 23:42

        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?

        T 1 Reply Last reply 13 Jan 2021, 23:57 Reply Quote 0
        • T Offline
          thrrgilag @Guest
          last edited by 13 Jan 2021, 23:57

          @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 14 Jan 2021, 15:25 Reply Quote 0
          • ? Offline
            A Former User @thrrgilag
            last edited by 14 Jan 2021, 15:25

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

            T 1 Reply Last reply 15 Jan 2021, 04:40 Reply Quote 0
            • T Offline
              thrrgilag @Guest
              last edited by 15 Jan 2021, 04:40

              @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
              • T Offline
                thrrgilag
                last edited by 16 Feb 2021, 19:52

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

                J 1 Reply Last reply 22 Feb 2021, 18:43 Reply Quote 0
                • J Offline
                  jonius @thrrgilag
                  last edited by 22 Feb 2021, 18:43

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

                  T 1 Reply Last reply 22 Feb 2021, 19:09 Reply Quote 0
                  • T Offline
                    thrrgilag @jonius
                    last edited by 22 Feb 2021, 19:09

                    @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 15 Jun 2021, 12:48 Reply Quote 0
                    • S Offline
                      slowcyclist
                      last edited by 11 Apr 2021, 21:13

                      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?

                      K 1 Reply Last reply 11 Apr 2021, 21:22 Reply Quote 0
                      • K Offline
                        Keneda @slowcyclist
                        last edited by 11 Apr 2021, 21:22

                        @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 11 Apr 2021, 21:32 Reply Quote 0
                        • S Offline
                          slowcyclist @Keneda
                          last edited by slowcyclist 4 Nov 2021, 21:40 11 Apr 2021, 21:32

                          Hey thanks @keneda, problem solved! I wish that piece of information were more obvious...

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jonius
                            last edited by 29 May 2021, 21:32

                            @thrrgilag would it be easy to include panctl into the click so that people could verify the device on command line at least? I see that it gets built with pantalaimon already, but not packaged.

                            T 1 Reply Last reply 30 May 2021, 14:07 Reply Quote 0
                            • T Offline
                              thrrgilag @jonius
                              last edited by 30 May 2021, 14:07

                              @jonius as I recall it builds but doesn't necessarily run. But it's been a while so I don't recall exactly what the issue was. I'll take a look again when I get a moment and see what I can get working.

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                Hugehead @thrrgilag
                                last edited by 15 Jun 2021, 12:48

                                @thrrgilag hello, i am using fluffychat with pantalaimon. I have the issue with pictures are not shown in the preview (or aactually at all) on my device . could you please let me know what to do?

                                T 1 Reply Last reply 30 Jun 2021, 21:23 Reply Quote 0
                                • T Offline
                                  thrrgilag @Hugehead
                                  last edited by 30 Jun 2021, 21:23

                                  @hugehead The image loading issue should have been resolved with the last update to FluffyChat. Can you share some specifics about your setup?

                                  1. Device
                                  2. Ubuntu Touch version
                                  3. FluffyChat version
                                  4. Pantalaimon-UT version
                                  1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User
                                    last edited by 28 Jul 2021, 12:48

                                    Hey,
                                    after successfully using this nice application for a longer time without any big problems I switched my home server and now I have problems to login correctly.

                                    I was able to login two times after resetting everything. But after a reboot I am always back to the Fluffy login screen. When I then login, Fluffy says sth. like "no connection" and there is an empty account opened with no chats or data. This always creates a new Fluffy Chat login session on my Matrix account but there is just a single Pantalaimon session visible.

                                    When I was loged in successfully futhermore I wasn't able to activate encryption. Messeges send from the Phone were always taged to be unencrypted.

                                    Do you have any Idea what could cause this problems? Maybe its also related to my homeserver configuration as it was working perfectly before.

                                    Thanks for your help,
                                    JimmyPesto

                                    T 1 Reply Last reply 28 Jul 2021, 13:33 Reply Quote 0
                                    • T Offline
                                      thrrgilag @Guest
                                      last edited by 28 Jul 2021, 13:33

                                      @jimmypesto could be something left over from the old connection confusing things. Try doing the following.

                                      1. stop and disable pantalaimon
                                      2. delete or rename /home/phablet/.local/share/pantalaimon
                                      3. enable and start pantalaimon
                                      4. login through fluffychat

                                      And if that's all good try another reboot to ensure it comes remains logged in.

                                      ? 1 Reply Last reply 28 Jul 2021, 13:56 Reply Quote 0
                                      • ? Offline
                                        A Former User @thrrgilag
                                        last edited by 28 Jul 2021, 13:56

                                        @thrrgilag thanks for that super quick answer!

                                        Steps i followed:

                                        1. disabled pantalaimon
                                        2. Opened adb shell to
                                        3. sudo rm -r /home/phablet/.local/share/pantalaimon
                                        4. added my homeserver again to pantalaimon
                                        5. enable and start pantalaimon
                                        6. login with fluffy (successful login, but still no encrypted messages send to other element clients)
                                        7. reboot
                                        8. open Fluffy which is still online, nice, I hope it will last now

                                        But still all encrypted conversations receive unencrypted messages from my phone. At least Element says so.
                                        I set the pantalaimon session to be trusted from Element and I enabled all other devices in Fluffys encrypton settings of different rooms.
                                        Even though I can read messeges inside encrypted rooms, I can not find a way to get rid of that "not encrypted" warning sign. I am confused.

                                        T 1 Reply Last reply 28 Jul 2021, 23:19 Reply Quote 0
                                        • T Offline
                                          thrrgilag @Guest
                                          last edited by 28 Jul 2021, 23:19

                                          @jimmypesto okay I'll see if I can reproduce and report back if I have an answer of any sort. If you could see if there is anything useful in the logs, I'm guessing not but worth a shot.

                                          ? 1 Reply Last reply 29 Aug 2021, 13:30 Reply Quote 0
                                          • ? Offline
                                            A Former User @thrrgilag
                                            last edited by 29 Aug 2021, 13:30

                                            @thrrgilag what log files should I check exactly? What log level should I select inside Pantalaimon?

                                            I have another issue of chats with peoples devices that are verified but still I get a grey icon and I can restart the verification over and over again. Seems like a big mess going on. I dont know if thats because of Pantalaimon or sth is messed up on my homeserver side.

                                            Greetings

                                            T 2 Replies Last reply 29 Aug 2021, 13:49 Reply Quote 0
                                            • First post
                                              Last post