Integrate KeePass 2 & Firefox using Keefox in Ubuntu 14.04, 13.10

For those of us that uses KeePass either at home or at work, I will be showing you how to integrate Keefox and KeyPass2 using Firefox. Keefox is a simple secured password management tool that allows you to store your web-browser passwords directly into KeyPass without using the built-in Firefox password manager with automatic login to your favorite websites.

Integrate KeePass and Keefox

Step 1: Install Keepass and Mono

– If you haven’t already installed KeePass2, then press Alt+Ctrl+T and run the following commands

sudo apt-add-repository ppa:jtaylor/keepass
sudo apt-get update
sudo apt-get install keepass2 mono-complete

Step 2: Create new KeePass Database

– Open KeePass, click on File → New → Enter name for the new database and location → Click Save


– Enter the Master password which will be used to encrypt the database


Remember to click Save for the database file to be generated

Step 3: Install Keefox Add-on

– Open Firefox → click on Tools → Add-ons → Search for Keefox and install


– Restart Firefox → Click on Keefox → Options → Click Advanced Tab → Browse to the newly created KeePass database file


– Next click on KeePass Tab and set the followings:

Set KeePassRPC location – Click the browse button, press Ctrl+H to show hidden files/folders, navigate to following location


Set KeePass installation location


Set Mono location



– Close Keefox to save changes

Step 4: Copy KeePassRPC.plgx

– Now copy the KeePassRPC.plgx file to a subdirectory called plugins in the directory that contains the KeePass installation. Easy way to do this is via terminal – Note your username will differ from mine

cd /home/*username*/.mozilla/firefox/*xxxx*.default/extensions/keefox@chris.tomlinson/deps
sudo cp KeePassRPC.plgx /usr/lib/keepass2/


– After Firefox restarts, you will get a notification that you are not logged into your KeePass database


– Click on Launch KeePass and you will be prompted to authorise Keefox access to KeePass database. Enter the code provided to complete the access



– From the prompt, you can either create a separate database for Keefox or use the existing one


Step 5: Test Keefox

– Open a website that requires you to login. I am testing this with my hotmail account. After logging in, Keefox will ask if you want to save the password. Click save to save it to the database


– When you open KeePass, you will see the password details for website saved as an entry


Hope this was easy to follow 🙂

comments powered by Disqus