How to sync passwords with Ubuntu Touch and Firefox
-
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* -
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.
-
- In the Menu bar at the top of the screen, click Firefox and select Preferences.
- Click Sync from the menu options to open the sync settings panel.
- In the Choose What To Sync box that opens, put a check mark next to Logins and passwords.
- Click Save Changes.
-
@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.