r/koofrnet • u/BarefootMarauder • 14d ago
general question Syncing KeePass between Linux & Android
Hey All: Thinking of cancelling Bitwarden and switching to KeePass for password management. Planning to use KeePassXC on Linux, and KeePassDX on Android. I don't think KeePassDX supports WebDAV from what I can see. However, in KeePassDX if I try to create a new vault or open an existing one, I can see "Koofr (Koofr storage client)" in the list of available storage locations. If I tap on that, I can see my entire Koofr storage and all folders, including the one I'm syncing with my Linux laptop.
Should this work fine for keeping my .kdbx file(s) in sync? Has anyone used KeePassDX with Koofr and stored the vault file this way? Or should I use a different Android app like KeePass2Android that supports WebDAV?
3
u/Lotussteve2342 13d ago
Keepass2Android and KeepasXC (with Koofr client on Fedora and Ubuntu) is exactly my setup and I'm very content with it. Never tried keepassdx because of the missing sync feature.
3
u/BarefootMarauder 13d ago
Cool. So are you syncing Keepass2Android with Koofr via WebDAV then?
3
u/Lotussteve2342 13d ago
Correct!
3
u/BarefootMarauder 13d ago
Awesome, thank you. I'll probably just go that route then. I like the look & feel of KeePassDX a little better which is why I was leaning that way.
2
u/elrata_ 13d ago
Keepassxc on Linux and KeepassDX on Android works great. Using koofr works perfectly fine too!
You can even sync the database to be offline (like to use your frequent flyer number on a flight). In that case, though, don't sync the file to offline. Sync/copy to offline the folder where the file is. Because keepass rewrites the file (like writes to a tmp dir and then renames it), it's not catched by koofr. But if you sync the directory where the db is, it works great.
To open the offline db, you go to the offline files in koofr and click on it and open with Keepassdx. The offline file is stored in private storage and the only way to share it with another app is like that. But you will have to do that every time you want to access the offline db.
Enjoy!
1
u/BarefootMarauder 13d ago edited 13d ago
Thanks for the reply, but I don't follow what you mean about syncing the database to be offline.
EDIT: I think I figured it out. I just never used offline files in Koofr before, but that does seem like a workable solution. Thanks!
2
u/elrata_ 12d ago
Enjoy!
2
u/BarefootMarauder 12d ago
Just wanted to thank you again because I think the offline folder option is going to work the best with KeePassDX. Access to passwords on my phone would always be "read only" anyway, no intention of ever adding/editing on mobile.
1
u/elrata_ 11d ago
You can cross the pen when connecting to the db in KeepassDX and it access it in read-only mode.
I'm not sure if when you access the offline file, and then changes, the changes are reflected to the offline file shared with keeepassdx. For the same reasons you have to sync the folder for it to work, I think the offline file shared with the app might be the old one.
Try it, maybe it works. But if it doesn't, just use the online file, that works fine for sure. I can testify :-)
2
u/billdietrich1 13d ago edited 13d ago
I just sync manually through USB cable every couple of weeks. Laptop has the primary database, all changes made there. Phone has a copy, I never make changes there.
1
u/BarefootMarauder 13d ago
You know what... That would be a perfectly workable solution now that I think of it. I don't make changes to my pw database that often.
1
u/AutoModerator 14d ago
Thank you for your post. This is a copy of your post to ensure proper context for answers if your post is later edited or removed.
Hey All: Thinking of cancelling Bitwarden and switching to KeePass for password management. Planning to use KeePassXC on Linux, and KeePassDX on Android. I don't think KeePassDX supports WebDAV from what I can see. However, in KeePassDX if I try to create a new vault or open an existing one, I can see "Koofr (Koofr storage client)" in the list of available storage locations. If I tap on that, I can see my entire Koofr storage and all folders, including the one I'm syncing with my Linux laptop.
Should this work fine for keeping my .kdbx file(s) in sync? Has anyone used KeePassDX with Koofr and stored the vault file this way? Or should I use a different Android app like KeePass2Android that supports WebDAV?
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
13d ago
[deleted]
2
u/BarefootMarauder 13d ago
Are you talking about specifically on Android? If so, which app do you use?
5
u/Riker1131 13d ago
I use Keepass2Android with Koofr WebDAV and it works fine so far.