Sync your passwords between your phone and computers using Dropbox and KeePass

If you use passwords like 12345 for anything else than maybe your luggage, you probably don’t need to read this post. If you’re smarter than that and you use proper passwords, you might be interested to learn how to store them safely while having them handy at all times.

KeePass is a very popular cross-platform solution that stores your passwords to a local encrypted file. To have a look inside the database you need to provide the master password. Once inside, all your passwords, PINs and credit cards are at your disposal.

Storing passwords exclusively to a local file generally isn’t a very good idea. To keep your passwords mobile and safe from data loss (disk crashes, cell phone drownings, stolen laptops…) I recommend you use a cloud store, like Dropbox.

Dropbox is a neat free service that syncs files between all your devices, portable or otherwise. I use it between my desktop, my workplace desktop and my HTC Desire. Syncing happens automatically in the background, so your password safe will be up to date, wherever you are.

1. To get started, you need to download and install a Dropbox client (Mac, Linux, Windows) and set up an account if you don’t have one already. Once installed, your computer (or mobile device) will feature a new folder, called Dropbox, which is shared between all your devices.

2. Inside your DropBox folder create a new subfolder named MyKeys or something similar, and make sure you keep this folder private.

3. Now install a KeePass client to all your devices:

4. I suggest you use the desktop client to set up your key file** password database file. Just fire up KeePassX, create a new database, set up a master password, and store the database file into your DropBox folder you created in step 2. You can populate the database with your passwords now, or at any time later.

5. Your password database file should now be synced between all your devices. To open it on Android, simply open DropBox and look for the file you created in the previous step. If KeePassDroid is properly installed, it will pop up and ask you for your master password. Once typed in, your secure passwords will happily reveal themselves.

* In Linux just look for KeePassX in your package repository (Software Center in Ubuntu)
**  See Jason’s comment below

This entry was posted in Howtos, Productivity, The Web. Bookmark the permalink.

6 Responses to Sync your passwords between your phone and computers using Dropbox and KeePass

  1. Dusan Vrban says:

    How about using 1 google document? And chaning your google password if you loose mobile phone. :-)

    • drye says:

      That works too if you don’t care about security. I wouldn’t store my passwords and credit card info non encrypted.

      • Dusan Vrban says:

        Non-encrypted? We are talking about google here. If someone can break into my google document, that could be some bad reputation for Google. Or not?

        Of course, I should protect and regularly change my password to access it…

        • drye says:

          Well, there’s browser cache, passwords remembered in browser, accessing your data on public terminals etc. For some passwords, like passwords for less sensitive sites, I guess that’s good enough. For credit card information and similar sensitive data, I don’t think so.

  2. Jason says:

    You are using the word “key file” for what is really the “Password database file”. The key file is part of keypass that acts like a password to gain access to your password database file. The database file is what contains the passwords for you other sites, whereas the key file should just contain a seemingly random set of data, similar to a fingerprint.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>