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

keefox-02

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

keefox-03

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

keefox-01

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

keefox-04

– 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

/home/*username*/.mozilla/firefox/*xxxx*.default/extensions/keefox@chris.tomlinson/deps/

Set KeePass installation location

/usr/lib/keepass2

Set Mono location

/usr/bin/mono

keefox-05

– 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/

keefox-06

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

keefox-07

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

keefox-08

keefox-08a

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

keefox-09

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

keefox-10

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

keefox-11

Hope this was easy to follow 🙂

 
comments powered by Disqus