KeePass and KeePass2Android

464 views
Skip to first unread message

John F. Eldredge

unread,
Oct 2, 2020, 5:53:53 PM10/2/20
to NLUG Mailing List
I am having problems trying to keep one shared version of my password
database between my phone and laptop. I am using KeePass2Android on my
cell phone and KeePass on my Windows laptop (I haven't set KeePass up on
my Linux partition yet). I exported my passwords from the phone as an
XML file, then imported the passwords into the desktop database (stored
on my Google Drive) using KeePass on the laptop. No errors were
reported. However, when I then try to open the password database using
KeePass2Android on the phone, it reports that the database on Google
Drive is "trashed". Has anyone come up with a working solution?
Otherwise, can you recommend a solution that will work on Android,
Windows 10, and Linux, using a database shared between all three?

--
John F. Eldredge -- jo...@jfeldredge.com
"Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that." -- Dr. Martin Luther King, Jr.


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Josh Lefler

unread,
Oct 2, 2020, 6:49:14 PM10/2/20
to nlug...@googlegroups.com
I'm a big fan of pass. 


It is just a small python script that combines git with standard pgp encryption and a file naming convention.  There are good extensions for Firefox and Chrome. I have not tried it on windows, but a quick Google shows that there are windows clients available. I can't speak to their quality.

I use their app as well as OpenKeychain on Android and my chromebook. It integrates as a system password provider so it works in most apps on android, but I have to copy/paste passwords on the chromebook. 

I'm not sure if it will meet your use cases or not, but it's worth a look.

Josh

--
--
You received this message because you are subscribed to the Google Groups "NLUG" group.
To post to this group, send email to nlug...@googlegroups.com
To unsubscribe from this group, send email to nlug-talk+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups "NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nlug-talk+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/5fc49881-82bb-d954-186a-dec4adad46a0%40jfeldredge.com.

Patrick McAfee

unread,
Oct 2, 2020, 6:51:48 PM10/2/20
to nlug...@googlegroups.com
Use a different service altogether. Try Bitwarden. It's cross platform, open source and works great. It's free and you can also do a premium package for $10 a year. 


Adam Hudson

unread,
Oct 2, 2020, 7:20:32 PM10/2/20
to nlug...@googlegroups.com
I have a similar setup as you are intending, but instead of exporting anything as an XML file, I simply copy the Database and store it in Onedrive, and that setup seems to work for me.  Is there some security measure or convenience you are intending to achieve using that export method?



--
Thank you,
Adam Hudson

John Eldredge

unread,
Oct 2, 2020, 10:52:09 PM10/2/20
to nlug...@googlegroups.com
I have tried copying the kdbx file, but KeePass2Android and Keepass seem to prefer incompatible formats, despite the fact they are supposedly compatible.

Howard Coles Jr.

unread,
Oct 5, 2020, 9:31:31 AM10/5/20
to nlug...@googlegroups.com
I use keepass2 on (2) Kubuntu, (2) Fedora, 1 Windoze desktops and my
phone (keepass2android).  I keep the kbdx file on Google Drive, but you
have to pick one location to be the "standard" and sync from there.  I
use rsync / scp in a small script to sync up the other desktops
locally.  I'm not sure what the difference is from keepass and keepass2,
but they don't much like each other.  (I haven't worried enough about it
to find out if one is a fork, or the next gen or what).

I've never had a problem with accessing it on any of the above, but I've
never tried the exporting xml thing either.  I normally just keep it
updated to Drive, and sync the rest from there.  As you know keepass2 on
the phone can open the google drive file directly, so I don't ever
manually copy it to there.

ulfr...@gmail.com

unread,
Oct 10, 2020, 3:27:34 PM10/10/20
to NLUG
I have a similar setup running between all my computers (Linux, Windows) and my phone (Android 8/9) for some years now.

The database is copied to all locations via Syncthing and I can change the DB at any computer and the phone and it will automatically distribute the update to the other devices.

On Linux I currently use KeePassX, on Windows I use KeePass Pro from the PortableApps, and on Android I use Keepass2Android Offline.

Frank

Vincent Brown

unread,
Nov 9, 2020, 10:45:49 AM11/9/20
to NLUG
I used keepass for years and switched to enpass.io. After using it for years now, I'm a big fan. It's free with a premium option. It's cross-platform. You host it yourself so all your credentials aren't on a central website to get potentially hacked. You can use a variety of cloud sync services to keep your database synced between different devices. It has a nice interface too.
Reply all
Reply to author
Forward
0 new messages