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

Run IE9 in Virtualbox for free

Update, 31. march 2013: this article is now out of date. Microsoft now offers free virtual machines and hosted virtualised solutions for cross browser testing at:  (thanks to Graham Ashton for the update).

Like many, I ditched Windows for other operating systems a long time ago and never looked back. But being a web developer I need to be able to test web sites in Internet Explorer. I had briefly considered buying a licence from Microsoft, just to be able to run a virtual copy of Windows 7 with IE9, but luckily Microsoft doesn’t want my money. What’s that, you say? Let me explain.

Microsoft provides “Windows Virtual PC VHDs for testing websites with different Internet Explorer versions” for free on their download page. I downloaded the Windows7 IE9 version, which is quite handy, since IE9 can emulate IE8 and IE7 too.

Once downloaded, I extracted rar files with Ubuntu’s Archive Manager. Then I fired up VirtualBox, created a new WIN7 machine and skipped creating a hard drive. I added the extracted VHD file afterwards, as an IDE drive. This step is important, because running it as  SATA would cause BSOD headaches.

Once it booted, I had no problems getting inside using the “Password1” password. Windows asked me to activate, but Microsoft advises you skip this step, and extend the testing period by running slmgr –rearm as administrator in the command prompt. This will extend the testing period for 30 days. That’s more than enough: once you’re happy with your virtual image, take a host snapshot and just use it as a starting point if the trial period expires (Microsoft actually encourages that). Don’t forget to install VirtualBox guest additions to enable screen resizing and what not.

References: I found this blog entry very useful (albeit outdated):

Noise reduction

Ever since Google introduced Priority Inbox, the important emails have been more successful than ever in getting my full attention on time (or at all). But that doesn’t mean that emails marked as less important don’t have to be dealt with sooner or later. Over the past couple of weeks I’ve made it my mission to unsubscribe from of all the emails I receive periodically, but don’t really read. Mind you, this isn’t spam, just noise. It’s maybe a weekly digest from a random Web 2.0 app I took for a test drive months ago and haven’t used since. It’s a Google alert or perhaps a mailing list about a topic I’ve lost interest in by now. It’s also a bunch of server status reports, stats I don’t really follow, newsletters I rarely read, coupons I never use and the list goes on and on. Being a fan of the Inbox Zero technique I find the result quite liberating and cathartic and I highly recommend the exercise to anyone dealing with email overload.

Enhanced by Zemanta