How to sync a KeePass database across multiple devices and platforms

3 mins read Updated on Sep 29, 2019

I was looking for a way to sync my own KeePass database with all my other devices and share a second database with my partner.

Since I am not using Cloud services like Dropbox, Google Drive or iCloud, I set up an open source file-hosting software system on my server. I chose Seafile, because it is open source, provides client-side end-to-end data encryption, is easily deployed via docker and offers clients for iOS and Android, as well as macOS, Linux and Windows. Nextcloud is another popular alternative to Seafile.

Regarding security: when creating your keepass database, make sure you set a strong password and increase the number of key transformation rounds to protect your database against dictionary attacks (more information here). Also, if you are considering using KeePassHTTP or KeePassHTTP-Connector for browser integration keep in mind that this is a security risk if your system is compromised, as an attacker could intercept communictaions between the KeePass HTTP server and the browser extension!

If you want to use services like Google Drive or Dropbox you can skip the first step and use the respective clients on your devices to sync your database.

1. On the server: Setup of self-hosted file-hosting service (optional)…

2. On the Desktop/Laptop…

3. On the iPhone…

On the Android Phone…


Previous
dockerbunker: deploy & manage dockerized web-applications
Next
'Save the Ocean' Game