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

    App security (new KeepassRX app)

    Scheduled Pinned Locked Moved App Development
    12 Posts 6 Posters 187 Views 2 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.
      • t12392nT Offline
        t12392n
        last edited by

        This has been on my mind too.

        I wish there was an strict firewall native in Ubuntu Touch so that we would see and control what is allowed to talk. A local Keepass should not talk to the internet.

        Samsung Fold5
        will switch to
        Volla Quintus UT 24.04-1

        arubislanderA klhK 2 Replies Last reply Reply Quote 0
        • arubislanderA Offline
          arubislander @t12392n
          last edited by arubislander

          @t12392n said in App security (new KeepassRX app):

          I wish there was an strict firewall native in Ubuntu Touch so that we would see and control what is allowed to talk. A local Keepass should not talk to the internet.

          If the app is confined (as this one is) you don't need to blindly trust that the package in the open store was compiled by the code that is linked, to be sure it doesn't phone home. If you know what to look for, you can download the .click package and examine the contents. The most important is the .apparmor file, which describes what permissions the packages requests from the system.

          732885a2-8440-475d-8a28-83329bca5c5b-image.png

          Here we see that this app is indeed confined, and it only declares the content_exchange policy group. This means that the app will not be able to access the network at all, because the networking policy group is not included in the apparmor.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          JingPad (24.04-1.x daily)
          OnePlus Nord N10 5G (24.04-2.x daily)
          PinePhone OG (20.04)
          Meizu Pro 5 (16.04 DEV)
          Google Pixel 3a

          R 1 Reply Last reply Reply Quote 5
          • R Offline
            RandomUser @arubislander
            last edited by

            @arubislander Thanks for the information, something like this is what I was looking for.

            Vlad NirkyV 1 Reply Last reply Reply Quote 1
            • Vlad NirkyV Offline
              Vlad Nirky @RandomUser
              last edited by

              @RandomUser
              The guy is super motivated and the app is evolving very quickly. It has already caught up with Focal and promises to evolve even further.
              Really great!

              R 1 Reply Last reply Reply Quote 1
              • K Offline
                kugiigi
                last edited by

                To be fair, this is a valid concern. I wonder if it's a good idea to notify users when an app update changes or adds new apparmor policy in the new version.

                arubislanderA 1 Reply Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @kugiigi
                  last edited by

                  @kugiigi Was not saying the concern is not valid. Was saying it can be assuaged, and showing how. The permissions requested are also listed in the Open Store itself.

                  But you do raise a good point. Maybe like a dialog box listing the new permissions that are requested since the last update, which gives the option to proceed or cancel.

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  JingPad (24.04-1.x daily)
                  OnePlus Nord N10 5G (24.04-2.x daily)
                  PinePhone OG (20.04)
                  Meizu Pro 5 (16.04 DEV)
                  Google Pixel 3a

                  t12392nT 1 Reply Last reply Reply Quote 0
                  • klhK Offline
                    klh @t12392n
                    last edited by

                    @t12392n said in App security (new KeepassRX app):

                    A local Keepass should not talk to the internet.

                    Where did you get the idea that it does?

                    @arubislander said in App security (new KeepassRX app):

                    If the app is confined (as this one is) you don't need to blindly trust that the package in the open store was compiled by the code that is linked, to be sure it doesn't phone home. If you know what to look for, you can download the .click package and examine the contents.

                    All versions of OpenStore also show the permissions list and that should be the first thing people check, can't expect non-technical users to unpack clicks before installation.

                    Kind of related, we should probably update the popup when you install from a local .click file to show more info and definitely show permissions.

                    arubislanderA 1 Reply Last reply Reply Quote 0
                    • arubislanderA Offline
                      arubislander @klh
                      last edited by

                      @klh said in App security (new KeepassRX app):

                      All versions of OpenStore also show the permissions list and that should be the first thing people check, can't expect non-technical users to unpack clicks before installation.

                      Fully agreed. But RandomUser did not strike me as someone who would necessarily trust second hand information. So I showed a way they could check for themselves.

                      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                      Happily running Ubuntu Touch
                      JingPad (24.04-1.x daily)
                      OnePlus Nord N10 5G (24.04-2.x daily)
                      PinePhone OG (20.04)
                      Meizu Pro 5 (16.04 DEV)
                      Google Pixel 3a

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        RandomUser @Vlad Nirky
                        last edited by

                        @Vlad-Nirky said in App security (new KeepassRX app):

                        @RandomUser
                        The guy is super motivated and the app is evolving very quickly. It has already caught up with Focal and promises to evolve even further.
                        Really great!

                        I'm not denying that, I can see the progress and appreciate all the work he's doing, genuinely. But you give the app access to all your passwords, I don't think it's unreasonable to be a bit cautious.

                        Vlad NirkyV 1 Reply Last reply Reply Quote 1
                        • Vlad NirkyV Offline
                          Vlad Nirky @RandomUser
                          last edited by

                          @RandomUser
                          Yes, of course.
                          That's already what I do with KeepassXC on my PC.
                          My choice is to do it locally and not on the Bitwarden or Dashlane web servers.
                          Most of them have MFA.
                          I understand your concern about having a clear view of what the application can use.
                          And Maciek's idea of blocking installation until we accept a change in the permissions granted seems excellent to me.

                          1 Reply Last reply Reply Quote 1
                          • t12392nT Offline
                            t12392n @arubislander
                            last edited by t12392n

                            @arubislander said in App security (new KeepassRX app):

                            @t12392n said in App security (new KeepassRX app):

                            I wish there was an strict firewall native in Ubuntu Touch so that we would see and control what is allowed to talk. A local Keepass should not talk to the internet.

                            If the app is confined (as this one is) you don't need to blindly trust that the package in the open store was compiled by the code that is linked, to be sure it doesn't phone home. If you know what to look for, you can download the .click package and examine the contents. The most important is the .apparmor file, which describes what permissions the packages requests from the system.

                            Admittingly, I am lacking full understanding of how this .click system works nor having deep understanding of how App Armor so I am at an disadvantage.

                            But thanks for the note, I will need to re up on both .click packages!

                            @klh said in App security (new KeepassRX app):

                            @t12392n said in App security (new KeepassRX app):

                            A local Keepass should not talk to the internet.

                            Where did you get the idea that it does?

                            My mistake, I should have been more clear that it was an example case that a password app should never need to talk with the internet, which believe it or not, is common with apps on Google Play store.

                            Samsung Fold5
                            will switch to
                            Volla Quintus UT 24.04-1

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