Browserpass for Firefox

Published on Permalink

Two weeks ago I announced Browserpass, a simple Chrome extension to access the pass' passwordstore directly from your browser.

Browserpass in action

After sharing my work on /r/linux and being generally well received, people started asking whether this could be ported to Firefox.

After doing some searching, this turned out to be much easier than expected due to the Firefox WebExtensions API which landed in Firefox 50 (released last week).

WebExtensions are a cross-browser system for developing browser add-ons. To a large extent the system is compatible with the extension API supported by Google Chrome and Opera. Extensions written for these browsers will in most cases run in Firefox or Microsoft Edge with just a few changes.

So, on my next "Google day" (days where I have to work with tech that is new for me) I set out to make it happen. The result is that Browserpass is now available for both Chrome & Firefox.

Installing Browserpass

Please note that both extensions still rely on the Browserpass binary to be installed on your system, otherwise the extension will be unable to talk to your password store.

Browserpass installation

Instructions for installing the binary can be found on the Browserpass GitHub page.

Directory structure of your password store

In the initial version of Browserpass a simple but rather limiting directory structure was assumed. I've changed this so that you can now simply search for the name of your password file, regardless of the directory structure.

If the password file contains a line prefixed with either login: or username:, the extension will use that as the login name. Otherwise, the name of the password file will be used.