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

    How to sync passwords with Ubuntu Touch and Firefox

    Scheduled Pinned Locked Moved General
    4 Posts 3 Posters 978 Views 1 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.
      • A Offline
        Alaraajavamma
        last edited by Alaraajavamma

        Hello Ubuntu Touch users!

        I am not an expert on this and I don't know if this is necessary post but when I struggled with this I could not find necessary help from the forum.
        So I am trying to give something back to this community (more than a small donation, I guess you are also all ready a patreon?)

        And just to clarify this is only one example how I did this - there must be some other ways also. And as you can see when you continue reading I am not an expert - so if there is some huge security issue I would like to know also xD

        IMO our best option is Keepweb app and WebDav. So you have to install Keepweb from the Openstore.
        Keepweb works with .kdbx - I installed KeepassXC to my Ubuntu PC and imported my login details from Bitwarden to KeepassXC. KeepassXC creates .kdbx file and you can choose the login details (to access that file) as you like.

        Then you need some kind of cloud storage - Google Drive, Dropbox or Onecloud might work also but I was curious about Nextcloud.
        First I tried to set Nextcloud by myself but I had to admit that I am not that expert on this 🙂
        I choosed to rent Nextcloud from tab.digital
        Then I upload my .kdbx file to the server but it did not work
        But tab.digital set everything up (cors or something) for me and after that webdav works.

        Then I just filled login details etc. to Keepweb app and it syncs with my Ubuntu Touch OPO.

        THEN you need to install Keepass Tusk add on to your Firefox and follow the advice from the add on. Unfortunately Keepass Tusk is kind of abandoned but at least it is still working.

        Most likely this is not risk free solution so please be aware of that.

        Ps. tab.digital published the solution but this is above my knowledge. I will leave it below if there is someone who is interested (or is this even new solution I do not know)

        *Sure we can publish, here is the solution you need to do:

        https://enable-cors.org/server_nginx.html
        or
        https://github.com/keeweb/keeweb/wiki/WebDAV Config
        or
        https://stackoverflow.com/questions/45986631/how-to-enable-cors-in-nginx-proxy-server/45994114*

        1 Reply Last reply Reply Quote 0
        • G Offline
          gwengui
          last edited by

          Hi,

          My solution is quite close to yours. Here are the differences :

          1/ I have a webdav server on a Synology NAS. I had quite a few issues with CORS. Here is the solution.

          2/ My Firefox extension is Keeweb Connect which works great. You just have to open a tab with keeweb to make that extension work.

          3/ My kdbx database is synchronised with my phones through Syncthing. Doing so allows me to have my passwords anytime anywhere even if I lose my internet connection or my NAS.

          Why do you say that it is not risk free? I have a secured connection with a Let's Encrypt certificate. To me it is safer than a Post-It under the keyboard 😉 Keepass is certainly the most convenient and safe password solution available.

          Nexus 5 as daily driver (used as desktop) / BQ E4.5 for work / BQ M10 HD for home

          Nexus 5 + Nexus 7 for my old mum / OnePlus One for my brother

          1 Reply Last reply Reply Quote 0
          • L Offline
            L-00655
            last edited by

            1. In the Menu bar at the top of the screen, click Firefox and select Preferences.
            2. Click Sync from the menu options to open the sync settings panel.
            3. In the Choose What To Sync box that opens, put a check mark next to Logins and passwords.
            4. Click Save Changes.
            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Alaraajavamma @L-00655
              last edited by

              @kameshbhai32 hello and welcome to the forum 🙂

              Basicly it is that simple if you use Firefox trough libertine - but you have to try only once to understand why it is not reasonable idea (on Ubuntu Touch with mobile device). User experience with UT with desktop Firefox is absolutely torture.

              That is the reason why login sync is not that easy to achieve. On Ubuntu Touch you have to have mobile optimized (or convergence) software.
              And my post idea was to tell how you can do it with current working software solutions.

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