Setting Up KeePassX with Browser Support

1 minute read

This post is intended for Mac users setting up KeePassX and getting autologin + browser (specifically, Chrome) support to work. At the time of this writing, the official build does not support autologin. However, there are other versions of KeePassX that are available to use, you just need to compile them.

Requirements

  • To make things simple, I recommend installing XCode. If you wish to install only the specific tools needed, you should install make, cmake, and clang
  • Download the KeePassX source from GitHub. There is a “Download Zip” button on the right side of the page.
  • Install ChromeIPass browser extension
  • Download Brew, or type the following in Terminal:
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    and then install:

    brew tap homebrew/dupes

Compiling the Build

  1. Once you download the source, make sure you know where it saved (i.e., your Downloads folder). Unzip it.
  2. Then you need to open Terminal (Applications > Utilities > Terminal.app) and navigate to that folder. In Terminal, type:
    cd Downloads/keepassx-master
  3. Then run:
    brew install qt cmake libgcrypt zlib libmicrohttpd
    cmake -DCMAKE_INSTALL_PREFIX=$HOME/local/apps/keepassxhttp -DCMAKE_VERBOSE_MAKEFILE=ON
    make
    make install
  4. Congrats! You compiled an app from source! You will find the Application installed in your Applications folder. If not, look at the last line in Terminal and see where the install path is:
    -- Installing: /Applications/KeePassX.app/

Setting up the ChromeIPass Browser Extension

  1. Once you open the KeePassX application, ChromeIPass may need to establish a connection to the application. You will get notified by the extension to have KeePassHTTP connected. All you need to do is launch KeePassX, and click on the extension icon to establish the connection.

Keep in mind that you will need to have KeePassX remained open so that ChomeIPass can recognize that Keepasshttp is running.

Resources

Leave a comment