r/KeePassium • • Oct 12 '26

iOS Sync Performance of WebDav

Hello,

I am currently setting app my vault. I currently have in my main Linux machine KeePassXC and the .kdbx is in a folder which is being served though WebDav (running docker container).

File watcher is working fine, as soon as I make a change the WebDav file .kdbx changes it timestamps.

I have added my .kdbx using the direct WebDav in the KeePassium

My problem, when I make a change from the KeePassXC hardly ever syncs in the KeePassium without needing and manual reload. I have tried with 'notify' and 'reload automatically' modes, the first seems a bit more reliable than the other, but still is not that 'seamless' sync.

note: if i make a change in KeePassium, the KeePassXC reflects immediately the changes, this is what I would expect in the ios app.

Is this the standar behavior (limitation perhaps from iOS) or is there a goal to improve this? or is it just me xd?

2 Upvotes

13 comments sorted by

4

u/keepassium Team KeePassium Oct 12 '26

As a mobile app, KeePassium has to be careful about network traffic and battery life. Constant monitoring (polling the server) is not an option. So KeePassium checks whether the remote database has changed only in two cases:

  • When you switch to KeePassium from another app, and there is already a database loaded.
  • When you are saving changes made in KeePassium, the app checks if it's safe to overwrite the remote file (i.e. whether it was changed by another app since it was loaded in KeePassium).

Plus, when you select a database on the "Databases" screen or tap "Reload Database" — the app fetches the remote file unconditionally, whether it changed or not. (This also applies if KeePassium got terminated by iOS while in background.)

But as long as the app is on the screen and shows a loaded database — it won't check for remote changes automatically. For such cases, there's the manual "Reload Database" button at the bottom of the screen.

1

u/Particular-File-4565 Oct 12 '26

Thank you for the info, in this way I can be aware when I would expect a check.

1

u/BritBloke35 Oct 13 '26

would be sweet if you could just pull down to refresh rather than tryna reach to the top and tap the small reload database button

1

u/keepassium Team KeePassium Oct 14 '26

It would be. The button is at the bottom, though.

1

u/BritBloke35 Oct 14 '26

i meant the 'reload database' button. x

0

u/HLASM-S370 Oct 13 '26

Switch to Strongbox vs KeePassium

3

u/keepassium Team KeePassium Oct 13 '26

Switch to Strongbox vs KeePassium

As of today, Strongbox does not watch already-loaded WebDAV databases, either. Both apps feature a manual reload and a check on save. On top of that, KeePassium checks when you switch to the app; Strongbox does not.

Strongbox has its, ahem, strong sides — but this is not one of them.

1

u/HLASM-S370 Oct 13 '26

Yet strangely, switching from KeePassium to StrongBox fixed this and other sync issues for me. StrongBox does not keep the DB open between every use. After a couple minutes of idle time the DB is closed and a quick FaceId unlock reopens the DB allowing it to “see” updates made on other systems with no need for a manual reload. Oh, and using iCloud as the storage location has proven to be more reliable

1

u/keepassium Team KeePassium Oct 13 '26

After a couple minutes of idle time the DB is closed and a quick FaceId unlock reopens the DB allowing it to “see” updates made on other systems with no need for a manual reload.

Well, if locking and re-loading the database every couple of minutes is your cup of tea, this is also an option.

Regarding iCloud sync. Strongbox Sync relies on CloudKit, a specialized online database where apps can store their data. (Despite the similar name, it is different from iCloud Drive, where users can store their files. CloudKit records are accessible only to apps.) Conveniently, CloudKit notifies the app whenever the online data changes — so the app can automatically refresh the displayed data.

Sounds great, but we won't be implementing this in KeePassium. Not like Strongbox did, anyway. You see, that convenience comes with a couple of asterisks:

  • CloudKit container can be accessed only by that one app. No third-party apps.
  • By extension, backup is possible only via that one app. No third-party backup.

KeePassium is for those who likes their "no vendor lock" and "own your data" without footnotes.

1

u/HLASM-S370 Oct 13 '26 edited Oct 13 '26

Seriously, who is in their password manager every couple minutes. And even when they access it it’s typically via autofill which is using faceid/touchid anyway.

Oddly, I’m able to access that Cloudkit data from iCloud on Windows with original KeePass while also accessing it from iPhone, iPad & Mac via Strongbox.

Both Strongbox on the Apple systems and the Windows based KeePass can create backups.

I’m not seeing the vendor lock in mentioned by the Apple only KeePass client.

Any discussion of a competitor appears to strike a nerve at KeePassium.

To each their own which is the beauty of using the KeePass DB and having a multitude of client choices.

1

u/keepassium Team KeePassium Oct 14 '26

Oddly, I’m able to access that Cloudkit data from iCloud on Windows with original KeePass while also accessing it from iPhone, iPad & Mac via Strongbox.

Oddly, this defies CloudKit documentation, documentation of the very app you are promoting, and the objective reality anyone can test personally.

Any discussion of a competitor appears to strike a nerve at KeePassium.

Discussing competition is ok. Promoting them using verifiably false statements is not.

I hope this clarified it; the off-topic thread ends here.

1

u/HLASM-S370 Oct 14 '26

This is not off-target when discussing how to address the OP’s multi-platform sync issue.

My statements are completely verifiable for anyone that takes the time to actually try verifying.

If you had ever used the iCloud client for Windows you’d have been able to confirm that the StrongBox folder in the root directory of the iCloud drive where Strongbox KDBX files are stored is accessible through Windows File Explorer and any other program on that Windows system.

From my perspective YOU are the one gaslighting people about the functionality and interoperability of competitors.

If you don’t like hearing the truth about implementable solutions using competing products don’t crosspost KeePassium questions in r/KeePass

1

u/HLASM-S370 Oct 14 '26

Try these Linux options for accessing iCloud Drive