KeePassX: About, Installation and how to set up Two-Step Authentication in it.

I often work with elderly people that are nervous when it comes to computers and their data. So I wrote this with that in mind.

KeePassX is a password manager. A password manager is a program that you use to save your most important passwords along with the username, website, and notes associated with said password. KeePassX creates a encrypted (Top-secret/classified/you’re not allowed to see these only I can so bug off) database (Like a filing cabinet) with one password “to rule them all” to unlock said database.

If you’re forgetful and/or lazy, like me, you will want this program.

Still with me?

Now then. Two-Step Authentication is, simply put, a method of security that utilizes two forms of identification in order to gain access to an account and it’s goodies. Typically, you see this in the form of a plain ol’ boring password and a “key”. The “key” is a little file that holds a bunch of garbled, cryptic information that pertains to YOUR specific account. Just like how a house key is specific to ONE lock. You ever watch the old adventure movies where, to unlock and open a door, there needs to be two people to turn a key? Yeah, think of it like that.

Still following me here? 😉

Other forms of TSA are a password and a phone call or text message to a phone that has a specific code that was connected to the account that you wish to log in to. Facebook, Google, PayPal, WordPress, Playstation Network, and many others use this method in order to keep your account more safe.

I was dorking around with KeePassX one day after my curiosity lead me to the thought of, “Can I use a password AND a key?”. Well, yes! You can! Here’s how to do it!

Installing/Setting Up KeePassX

Okay, so it makes sense to get KeePassX actually ON your computer. Otherwise, why are you even here reading this, right? So this process will vary depending on what operating system (Like Windows) you’re using on your computer.


Click on this download link and select the Windows version underneath the “Windows” section on that page. It will be a .zip file (Think of a .zip file as storing some stuff in a cardboard box to make some room.).

Screenshot of KeePassX website’s download page.

Decompress the file by Right Click>Extract Files Here. After the .zip package is unzipped, I usually place the folder in the Program Files directory (C: drive>Program Files (x86)), then send a shortcut of the KeePassX executable to the desktop.


Open up a terminal and enter the following, based on your distribution:


sudo apt-get install keepassx

Fedora/Red Hat

yum install keepassx


pacman -syu keepassx

Mac OSX:

Repeat the same steps as Windows, but select the “Binary Bundle” option instead.

First-Time use

Now that we have KeePass X installed, let’s go ahead and start’er up!

Screenshot from 2017-05-07 04-57-35
Screenshot of Master Key setup

So now that we have KeePassX up and going, it’s time to create a database for our passwords. This is where we set up TSA.

At the top of the KeePassX window, select “Database”>”New Database” and you’ll see the screen above.

Make sure that the “Password” checkbox is checked and then select the “Key File” checkbox as well.

Screenshot from 2017-05-07 05-05-42
Password and Key File options checked

Enter in your password and again for the password confirmation.

Next, as you can see, there is a button labeled “Create” next to the empty Key File field. Click it and select your location for where you wish your key file to be.

Protip: Do NOT save the key file to the main C: directory in Windows or outside of your home directory in GNU+Linux. Save the key to a removable device such as a flash-drive or a SD card and copy your database to a removable device often in case of data loss and for better security.

Once finished, click “OK”.

Screenshot from 2017-05-07 05-06-16
Desired password entered and key created

BLAMO! You’re ready to get started with adding in passwords into KeePassX and have Two-Step Authentication going for extra security!


Screenshot from 2017-05-07 05-14-09

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s