• 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.
    • J Offline
      jonius
      last edited by 27 Jul 2020, 11:11

      It works here on my Pinephone. Does the Pantalaimon app display something like pantalaimon start/running, process 1234?

      L 1 Reply Last reply 27 Jul 2020, 14:42 Reply Quote 0
      • L Offline
        lgtrombetta @jonius
        last edited by 27 Jul 2020, 14:42

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

        T 1 Reply Last reply 27 Jul 2020, 14:47 Reply Quote 0
        • T Offline
          thrrgilag @lgtrombetta
          last edited by 27 Jul 2020, 14:47

          @lgtrombetta If it keeps respawning it means it's failing to start properly. 😕

          T 1 Reply Last reply 27 Jul 2020, 18:34 Reply Quote 0
          • T Offline
            theare27 @thrrgilag
            last edited by 27 Jul 2020, 18:34

            @thrrgilag worth trying the previous binary (spawned via adb or ssh) rather than the .click?

            T 1 Reply Last reply 27 Jul 2020, 18:39 Reply Quote 0
            • T Offline
              thrrgilag @theare27
              last edited by 27 Jul 2020, 18:39

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

              L 1 Reply Last reply 27 Jul 2020, 22:04 Reply Quote 0
              • L Offline
                lgtrombetta @thrrgilag
                last edited by 27 Jul 2020, 22:04

                @thrrgilag so it finally works. What I found running it as you suggested is that the homeserver address in the config must have the "http(s)://" prefix. While I had added it at some point during my testing, it turns out it must be there for all homeservers in the config in order for the service to start properly, and in my case it wasn't.

                So, I feel a bit stupid, but I hope all of this can help to make the UX smoother 😛

                T 1 Reply Last reply 27 Jul 2020, 22:09 Reply Quote 0
                • T Offline
                  thrrgilag @lgtrombetta
                  last edited by 27 Jul 2020, 22:09

                  @lgtrombetta said in FluffyChat Encryption via Pantalaimon:

                  @thrrgilag so it finally works. What I found running it as you suggested is that the homeserver address in the config must have the "http(s)://" prefix. While I had added it at some point during my testing, it turns out it must be there for all homeservers in the config in order for the service to start properly, and in my case it wasn't.

                  Awesome, glad you were able to get it sorted.

                  So, I feel a bit stupid, but I hope all of this can help to make the UX smoother 😛

                  I very much appreciate your testing it out. This is the kind of feedback I was hoping for to make it better. Adding to my list of things to fix. 😁

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    theare27
                    last edited by 28 Jul 2020, 17:57

                    Out of interest, did you get anywhere with the issue with images?

                    T 1 Reply Last reply 28 Jul 2020, 18:07 Reply Quote 0
                    • T Offline
                      thrrgilag @theare27
                      last edited by 28 Jul 2020, 18:07

                      @theare27 not really, it seemed to be something to do with how fluffy was sourcing the image url, I found this bit in the logs..

                      QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not de-queue request, failed to report HostNotFoundError
                      file:///opt/click.ubuntu.com/fluffychat.christianpauly/13.2/qml/components/Avatar.qml:30:13: QML QQuickImage: Host http not found
                      

                      Haven't gone any deeper than that. Whatever the issue is though it seems specific to FluffyChat, other clients I've tested through pantalaimon (uMatriks on UT and Fractal on others) don't have that issue.

                      T 1 Reply Last reply 28 Jul 2020, 19:07 Reply Quote 0
                      • T Offline
                        theare27 @thrrgilag
                        last edited by 28 Jul 2020, 19:07

                        @thrrgilag Hmm, so I might be better off with uMatrix? I know it's unmaintained, but FluffyChat seems to be focusing more and more exclusively on the flutter version these days

                        T 1 Reply Last reply 28 Jul 2020, 19:17 Reply Quote 0
                        • T Offline
                          thrrgilag @theare27
                          last edited by 28 Jul 2020, 19:17

                          @theare27 I hope that once I get to the root of the problem I can submit a patch to FC to resolve it fully. That is once I get the time to, the day job has me pretty busy right now. If nothing else maybe bouncing between the two clients will suffice unitl a fix can be found.

                          T 1 Reply Last reply 28 Jul 2020, 19:37 Reply Quote 1
                          • T Offline
                            theare27 @thrrgilag
                            last edited by 28 Jul 2020, 19:37

                            @thrrgilag cheers, yeah I can bounce around when I need to see media until Fluffy Chat gets patched. Thanks for all your work

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Aristid
                              last edited by 3 Aug 2020, 11:04

                              Hello, i've been struggling to install pantalaimon on my oneplus one, but now it's properly installed (thanks to your click image, great job btw).

                              Now i think i've found an issue : my homeserver has a .noho.st domain name (Yunohost free domains), and i think pantalaimon does not agree with it : it keeps deleting the stat the end so it fails to connect to it...

                              T 1 Reply Last reply 3 Aug 2020, 13:17 Reply Quote 0
                              • T Offline
                                thrrgilag @Aristid
                                last edited by 3 Aug 2020, 13:17

                                @Aristid can you share the log for it?

                                A 1 Reply Last reply 3 Aug 2020, 13:25 Reply Quote 0
                                • A Offline
                                  Aristid @thrrgilag
                                  last edited by 3 Aug 2020, 13:25

                                  @thrrgilag http://paste.ubuntu.com/p/3BkPFqBmD5/

                                  notre sure if those are the right ones...

                                  T 1 Reply Last reply 3 Aug 2020, 13:31 Reply Quote 0
                                  • T Offline
                                    thrrgilag @Aristid
                                    last edited by 3 Aug 2020, 13:31

                                    @Aristid Yeah that looks like the right log, it's just now giving much to go on unforunatly. When you close and re-open the app it does it still remember your configuration?

                                    A 1 Reply Last reply 3 Aug 2020, 13:37 Reply Quote 0
                                    • A Offline
                                      Aristid @thrrgilag
                                      last edited by 3 Aug 2020, 13:37

                                      @thrrgilag Well the first time i configure my home server, quit the app and relaunch it the url is truncated (st from .noho.st is removed as mentionned earlier). I complete it again, save and quit and then it appears correctly. But i doubt the app really remembers it as fluffychat behaves as if pantalaimon is not installed.

                                      T 1 Reply Last reply 3 Aug 2020, 13:52 Reply Quote 0
                                      • T Offline
                                        thrrgilag @Aristid
                                        last edited by 3 Aug 2020, 13:52

                                        @Aristid the actual config file can be found in /home/phablet/.config/pantalaimon/pantalaimon.conf, you can manually verify it's precence there. A couple of other shots in the dark to try is manually look a the config file and make sure your homeserver entry is a full URL, (e.g. https://<whatever>.noho.st). If your SSL cert isn't verifiable you could also try adding "SSL = False" to disable verification of the certificate. You can restart the service by toggling it off & on in the app or but running "stop pantalaimon" and "start pantalaimon" in the terminal.

                                        I'll add some additional configuration items to the next release to help with troubleshooting.

                                        A 1 Reply Last reply 3 Aug 2020, 14:26 Reply Quote 0
                                        • A Offline
                                          Aristid @thrrgilag
                                          last edited by 3 Aug 2020, 14:26

                                          @thrrgilag Well config file seems ok, but still cannot read my encrypted chatrooms... When i want to activate the encryption in Fluffychat nothing happens.

                                          T 1 Reply Last reply 3 Aug 2020, 14:29 Reply Quote 0
                                          • T Offline
                                            thrrgilag @Aristid
                                            last edited by 3 Aug 2020, 14:29

                                            @Aristid is it old messages that you can't read? Do new messages in those encrypted chat rooms work?

                                            One of the limitations currently is that encryption keys aren't imported/sync'd so you won't be able to decrypt anything that was previously sent. New messages should be fine though.

                                            A 1 Reply Last reply 3 Aug 2020, 14:37 Reply Quote 0
                                            40 out of 99
                                            • First post
                                              40/99
                                              Last post