KeePassXC: Secure and open source password manager for Linux

Introduction to KeePassXC

KeePassXC is a community branch of the popular KeePass, specifically designed to offer a modern and multi-platform experience, with a special focus on Linux users. Its interface is built with Qt, which gives it a native look in desktop environments such as GNOME, KDE or XFCE, and its code is available under GPL license, allowing for security audits and community contributions.

Installation in main distributions

In most official repositories of the most used Linux distributions, KeePassXC can be installed with the usual package manager. Here are some examples:

  • Ubuntu and derivatives:sudo apt install keepassxc
  • Fedora:sudo dnf install keepassxc
  • Arch Linux:sudo pacman -S keepassxc
  • openSUSE:sudo zypper install keepassxc

For those who prefer to always have the latest version, it is also available as Snap or Flatpak package, which guarantees independent updates of the distribution release cycle.

Main characteristics

KeePassXC combines the robustness of the KDBX database format with a set of features that make it very practical for daily use:

  • Password generator with length options, special characters and customizable patterns.
  • Storage of secure notes, attachments and identity data.
  • Integration with browsers through official extensions for Firefox, Chrome and Chromium, which allow you to automatically fill out forms.
  • Support for authentication of two factors (2FA) using YubiKey, challenge-response devices or TOTP applications like Google Authenticator.
  • Automatic blocking of the database after a period of inactivity or when the system is suspended.
  • Verification of database integrity by Hash SHA-256.

Basic use: create and open a database

When you start KeePassXC for the first time, the assistant will guide you to create a new database. You must choose a secure location on your disk, set a strong master password and, optionally, add a key file or hardware device as a second factor. Once created, the database is opened by introducing the master password (and the second factor if it was configured). Within the interface, you can organize your input into groups, add custom icons and use the search bar to quickly locate any record.

Good security practices

Although KeePassXC is very safe, its effectiveness depends on the user's behavior. Some recommendations include:

  • Use a master password of at least 20 characters, combining capital, small capital, numbers and symbols.
  • Backup the database in an encrypted external environment or in a reliable cloud storage service, but never store it without encryption.
  • Keep the Qt operating system and libraries up to date to benefit from the latest security patches.
  • Review the browser extension regularly and make sure it comes from the official repository.
  • Consider using a key file stored in a separate device (e.g. a USB drive) to increase resistance to brute force attacks.

Integration with the Linux desktop

KeePassXC is native to the most popular desktop environments. In KDE Plasma, you can appear as an input into the system tray and offer quick access by customizable keyboard shortcuts. In GNOME, the shell extension allows you to block the database when you close the session and re-unlock it when you start. In addition, thanks to DBus support, other applications can safely request credentials without exposing the master password.

Conclusion

KeePassXC represents one of the best options to manage Linux passwords, combining open source, proven security and a polished user experience. Its simple installation, its wide set of features and its active community make it an essential tool for both domestic users and professionals who need to protect their credentials in working environments.

This work is under aCreative Commons License Attribution 4.0 International for Francesc Roig francesc @ vivaldi.net.

EnglishenEnglishEnglish