I've been using KeePass for about a year now to manage my most of my passwords and it's great. KeePass has been around for awhile and has plenty of plugins that integrate with multiple browsers and mobile OSes. Recently I stopped using Keepass's browser plugins in favor of it's OOTB Auto-Type functionality. For most browsers the process is simple and well documented, but for some reason I couldn't find a simple solution for Internet Explorer. Thus, I hacked one up.
The main component of this whole thing is Trixie. Trixie is basicly greasemonkey for Internet Explorer. I have put together a script that Trixie runs on every page to take the current page's url and put it in the title. From there you can use the CTRL + ALT+ A shortcut to enable KeePass's Auto-Type. Alright enough talk. Below are the instructions.
- Download Trixie here : http://www.bhelpuri.net/Trixie/TrixieDownload.htm
Update [8/12/2012]: The official site seems to be down. Use this link: http://web.archive.org/web/20100917214025/http://bhelpuri.net/Trixie/TrixieDownload.htm
- Close Internet Explorer and install Trixie.
- Copy or download the script attached to this blog post and save it in (C:\Program Files\Bhelpuri\Trixie\Scripts)[32 bit] or (C:\Program Files (x86)\Bhelpuri\Trixie\Scripts)[64 bit] as whatever.user.js
- Open KeePass and log into your database. Go to --> Tools --> Options --> Advanced Tab --> Check the option under Auto-Type that says "An entry matches if the host component of its URL is contained in the target window title". Click OK. Version 2.18 or higher required for this step. [Edit: This step was recommended by Dominik Reichl (KeePass Creator)]
- Open IE --> ALT + T --> Trixie Options.. --> Uncheck everybox except the one for "IE URL in TITLE" --> Click OK. You should now be able to use CTRL+ALT+A to Auto-Type in IE.
- If you use the file attached to this blog post change the extension from .txt to .js
- If you did not do step 4 above KeePass's Auto-Type requires that the Title (not the URL) of the password entry be a substring of the window's title. Thus if you want to use auto-type for a gmail account the title of your password entry in KeePass should be google.com.
- This has been tested on Internet Explorer 8 & 9. Please let me know if you have success with earlier versions.
- Update [4/13/2012]: I am using the Windows 8 consumer preview and currently this solution works with IE 10 (non-metro) as well. Unfortunately this does not seem to work with the touch version of IE 10