Archives For November 30, 1999

KeePassX 2 YubiKey support

KeePassXC 2.3.4, community driven port of the windows application “Keepass Password Safe”, was released a day ago with various bug-fixes and improvements.

Changes in KeePassXC 2.3.4 include:

  • Show all URL schemes in entry view
  • Disable merge when database is locked
  • Fix intermittent crashes with favorite icon downloads
  • Provide potential crash warning to Qt 5.5.x users
  • Disable apply button when creating new entry/group to prevent data loss
  • Allow for 12 hour timeout to lock idle database
  • Multiple SSH Agent fixes
  • Multiple Browser Integration enhancements
  • Fix browser proxy application not closing properly
  • Add real names and Patreon supporters to about dialog
  • Add settings button to toolbar, Donate button, and Report a Bug button to help menu
  • Enhancements to release-tool to appsign intermediate build products

How to Install KeePassXC 2.3.4 in Ubuntu via Snap:

The official snap package (runs in sandbox and auto-updates itself) has been updated to version 2.3.4 for Ubuntu 16.04, Ubuntu 18.04, and higher.

The snap can be easily installed via Ubuntu Software:

Or run command in terminal to install the snap package:

snap install keepassxc

How to Install KeePassXC in Ubuntu via PPA:

The official KeePassXC PPA contains the most recent .deb packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04. With it, you can receive future updates via Software Updater.

1. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:phoerious/keepassxc

Type your password (no asterisks feedback) when it prompts and hit Enter to continue.

2. Then upgrade KeePassXC via Software Updater:

or run commands one by one in terminal to install the latest package:

sudo apt update

sudo apt install keepassxc


To remove the PPA, open Software & Updates and navigate to Other Software tab.

To remove KeePassXC .deb package, run command in terminal:

sudo apt-get remove --autoremove keepassxc

To remove the snap package, simply click uninstall button in Ubuntu Software utility.

KeePassXC, a cross-platform community fork of KeePassX, reached the 2.3.2 release a few hours ago with various bug-fixes.

KeePassXC 2.3.2 release highlights:

  • Enable high entropy ASLR on Windows
  • Enhance favicon fetching
  • Fix crash on Windows due to auto-type
  • Fix dark tray icon changing all icons
  • Fix --pw-stdin not using getPassword function
  • Fix placeholders being resolved in notes
  • Enable auto-type start delay to be configurable
  • Browser: Fix native messaging reply size
  • Browser: Increase maximum buffer size
  • Browser: Enhance usability and functionality
  • SSH Agent: Parse aes-256-cbc/ctr keys
  • SSH Agent: Enhance usability and functionality

How to Install KeePassXC in Ubuntu:

The software team offers appimage (single executable), snap (universal Linux package format), and official KeePassXC PPA for all current Ubuntu releases.

NOTE that the 2.3.2 packages are on the way, please check the link or package version before getting started.

The appimage is available for download at:

Once you get it, right-click and make it executable in file’s Properties -> Permissions, finally run the appimage to launch the software.

The snap package is available in Ubuntu Software:

Also PPA repository is available with the traditional .deb packages. Open terminal (Ctrl+Alt+T) and run following commands one by one to add PPA, and install / upgrade the software:

sudo add-apt-repository ppa:phoerious/keepassxc

sudo apt-get update

sudo apt-get install keepassxc

You can then manage the PPA repository via Software & Updates -> Other Software.

For those prefer KeePass2 password manager to KeePassX, here’s how to install the latest KeePass 2.35 release in Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04, Ubuntu 12.04.

While official Ubuntu repositories only provide an old version, the latest KeePass2 has reached the 2.35 release with a large list of new features and improvements. Here are some of them:

  • New KDBX 4 file format
  • Added Argon2 key derivation function
  • Added ChaCha20 (RFC 7539) encryption algorithm
  • open entry URLs with Firefox or Opera in private mode
  • support for importing mSecure 3.5.5 CSV, Password Saver 4.1.2 XML, and Enpass TXT files.
  • And other more change, see the release note.

How to Install KeePass2 2.35 in Ubuntu:

For all current Ubuntu releases and derivatives, e.g., Linux Mint 17, 18, and Elementary OS Loki, KeePass2 can be easily installed from the Julian Taylor’s PPA.

1. Open terminal by pressing Ctrl+Alt+T or searching for “Terminal” from start menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

Type user password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then you can upgrade KeePass2 from an existing release via Software Updater:

Or just run following commands to check updates and install the latest release:

sudo apt-get update

sudo apt-get install keepass2

For those who don’t want to add the PPA, grab the DEB package from HERE.

How to Restore

For any reason you can easily remove the PPA and downgrade KeePass2 to the stock version in official Ubuntu repositories via ppa-purge tool:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:jtaylor/keepass

Tip: For a list of plugins, e.g., KeeFox, KeeAgent, Keebuntu, and KeePassHttp, go to this PPA.

Enpass is a password management program for Linux, Windows, Mac OS, Web, and Mobile devices. All desktop versions are absolutely free while mobile apps are limited to 20 items unless a life-time license ($9.99) is bought.

Enpass now is at version 5.2, which features TOTP support, autorun on startup, import from 1Password OPVault, Pocket and Password Depot.

An official Linux repository is available for Ubuntu 12.04 and later (Ubuntu 16.04 is supported now), so you can follow the steps below to install it:

1. Add Enpass repository.

Launch Software & Updates from Unity Dash, or System Settings window. When it opens, navigate to Other Software tab, and click Add button to add the line below:

deb stable main

2. Open terminal (Ctrl+Alt+T), paste the command below and hit run to get the keyring, so your system will trust the packages from the repository:

wget -O - | sudo apt-key add -

You’ll be asked to type in password to be able to add the key, and there’s no visual feedback while typing your password.

3. Now if you have Synaptic Package Manager installed, launch it and search for and install enpass after clicked Refresh.

Or you can run the commands below one by one to do the refresh and install things:

sudo apt update

sudo apt install enpass

Once installed, you need to log out and back in to be able to launch the software from Unity Dash.

4. (Optional) To uninstall Enpass password manager, use Synaptic Package Manager or run the command below in terminal:

sudo apt remove enpass

To remove Enpass repository, use Software & Updates -> Other Software.

Install KeePassX 2 with YubiKey Support in Ubuntu

Last updated: December 28, 2015

For those who want the YubiKey support for KeePassX 2.0, a new stable series released a month ago, here’s a PPA built the binaries a few days ago for Ubuntu 15.10, Ubuntu 15.04, and Ubuntu 14.04.

YubiKey (a USB authentication device) support is added by configuring a YubiKey slot to operate in HMAC-SHA1 challenge-response mode. The mechanism works by submitting the database master seed as a challenge to the YubiKey which replies with a HMAC-SHA1 cryptographic hash. The resultant hash is then hashed with the other keys (password, keyfile) to generate the final key used to encrypt the database.

How to Install KeePassX 2.0 with YubiKey support:

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below command one by one and hit run:

1. Add YubiKey stable PPA:

sudo add-apt-repository ppa:yubico/stable

Type in your password when it asks, no visual feedback so just type in mind, and hit Enter to continue.

2. Add the KeePassX 2 PPA built with YubiKey support:

sudo add-apt-repository ppa:hda-me/keepassx2-yubico

3. Finally update package cache and install both keepassx and yubikey-personalization-gui:

sudo apt-get update

sudo apt-get install yubikey-personalization-gui keepassx

4. (Optional) After installation, you may keep the PPAs for receiving future updates, or disable/remove them via Software & Updates -> Other Software.

For more information:

KeePassX, a native Linux port of KeePass password manager, finally reached the 2.0 release after several years of development.

KeePassX 2 has been rewritten from scratch. It uses the new .kdbx (same as KeePass 2) database format. You can import your .kdb database from 0.4 series from menu Database > Import KeePass 1 database.

New features include:

  • Multiple attachments per entry
  • Add custom key/value pairs to entries
  • Open multiple database in one window

For more details, see official release note.

How to Install KeePassX 2 in Ubuntu:

The official KeePassX PPA does not update at the moment, but a third-party PPA has built the KeePassX 2.0 for Ubuntu 16.04 LTS, Ubuntu 15.04, and Ubuntu 14.04 LTS.

1. Add PPA

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below command to add the PPA:

sudo add-apt-repository ppa:eugenesan/ppa

Type in your password when it asks (no visual feedback just type in mind) and hit Enter to continue.

2. After that, upgrade KeePassX by running Software Updater. Or run below commands one by one in terminal:

sudo apt-get update

sudo apt-get install keepassx

For those who don’t want to add PPA, grab the .deb installer directly from HERE.

3. (Optional) As a third-party PPA, it also contains many other applications. You may remove the PPA after installation by either using Software & Updates -> Other Software tab, or running below command in terminal:

sudo add-apt-repository --remove ppa:eugenesan/ppa && sudo apt-get update