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*