Archives For password

This tutorial shows how to install the latest version of KeePassXC password manager (v2.7 so far) and keep it up-to-date via the official PPA in Ubuntu 22.04 LTS.

The popular KeePassXC password manager released version 2.7.0 few days ago with many exciting new features. Here’s are some of them according to the release note:

  • Entry tagging
  • Unlock via Windows Hello and macOS Touch ID
  • Auto-Type overhaul.
  • Improvements to Secret Service integration (Linux)
  • Change the crypto backend from libgcrypt to Botan

KeePass 2.7 Entry tags

How to Install KeePassXC 2.7 in Ubuntu:

For those OK with the Snap package, the package is available to install directly from Ubuntu Software.

For native .deb package, the official PPA has made the package for Ubuntu 22.04, Ubuntu 20.04, Ubuntu 18.04, and Ubuntu 21.10.

1. Add the PPA:

Firstly, press Ctrl+Alt+T on keyboard to open terminal window. When it opens, paste the command below and hit Enter to add PPA:

sudo add-apt-repository ppa:phoerious/keepassxc

Type user password (no asterisk feedback) and hit Enter to continue.

2. Update package cache.

Ubuntu 18.04 user has to run the command below manually to update the system package cache, though it’s done automatically in Ubuntu 20.04 & higher.

sudo apt update

3. Install / upgrade KeePassXC

Finally, install the password manager by running command in terminal:

sudo apt install keepassxc

If an old version was already installed, just run regular updates (via Software Updater) will bring you the latest KeePassXC package.

Uninstall KeePassXC:

For any reason, you may remove the password manager by running command in terminal:

sudo apt remove --autoremove keepassxc

And remove the Ubuntu PPA using command:

sudo add-apt-repository --remove ppa:phoerious/keepassxc

Or, use ‘Software & Updates’ utility by removing the sources under ‘Other Software’ tab.

Using KeePassXC to store your passwords? By releasing v2.7.0 (Beta at the moment), the popular password manager introduced many exciting new features!

KDBX 4.1. The new release finally implements the KDBX 4.1 which was introduced 10 months ago via KeePass 2.48. The new version of the KDBX file format features

  • assign tags to groups;
  • optional password quality estimation;
  • remember previous parent group;
  • custom icons with names and last modification/deletion times;
  • custom data items with last modification times.

Replace all crypto libraries with Botan. Due to feature list and maintainer support, the release now replaces Argon2 library with Botan on all platforms. And, the minimum requirement is Botan 2.11.0.

Quick unlock database via Windows Hello / Apple Watch. If you’re using the software in Windows 10+, then you’re able to unlock KeePassXC database easily via a PIN, facial recognition, or fingerprint. And, macOS Catalina (10.15)+ may use TouchID or Apple Watch to get access.

Security improvements. Also in Windows and macOS, the new release now make KeePassXC (main & child windows) invisible for screen recording and screen shooting. It prevents malware from looking at your screen by recording your desktop or taking screenshots.

Other changes in KeePassXC 2.7.0 (Beta) include:

  • Direct write save option, which my solve problems for cloud storage and GVFS
  • Allow to specify custom backup location & filename.
  • Add group clone action.
  • Add tag functionality.
  • Implement support for hardware keys via wireless NFC
  • Add support for OpenSSH 8.2 FIDO/U2F keys
  • Add Microsoft Edge support for Linux
  • Bulk-delete and purge unused custom icons
  • Support adding custom passphrase wordlists
  • Improve attachment handling and security
  • Add option to double-click copying some entry columns.

Download / Install KeePassXC:

As the release is in beta stage, it’s not available in the official download page so far.

However, you may download the packages for Linux, Windows, and macOS from ‘Assets‘ section via the release page:

For Linux user, grab the ‘.AppImage‘ package. Add executable permission by right-clicking and going to ‘Properties -> Permissions’. And finally run it to launch the password manager.

Looking for an app to store your passwords? Secrets is a good choice for those using GNOME desktop.

“Secrets” is a free open-source password manager that integrates perfectly with GNOME desktop and provides a modern and easy to use user interface. It’s formerly Password Safe (nothing to do with pwsafe). Since v6.0, it’s called Secrets.


Secrets is a GTK4 app using libadwaita library to provide an adaptive UI. With it, user may create or open KeePass v4 format database in “.kdbx” files. And, it supports AES, Twofish, and ChaCha20 256-bit encryption algorithms.

Secrets add new or open database

The “.kdbx” file is used to store your passwords. While creating it, user may choose to secure it via password, key file, or password and key combination.

Secure database with password, key, or their combination

Then, each time you open the database or back from inactive, it asks for unlock the database before accessing your passwords.

Need to unlock when back from inactive

After creating / opening a database, user may add as many password entries or groups as possible. It allows to assign a color, icon, and add attachments for each entry. As well, it supports OTP tokens and expiration dates.

Assign color, icon, add attachments, & support one-time password, expiration date

All password entries are listed in the home of the database, with buttons to quickly copy username or password into clipboard. And, the data will be cleared from clipboard 30 seconds later.

Password Entries

Install Secrets:

Actually I don’t use a password manager app, because I use similar accounts and passwords in different websites. And, I wrote them down in plain text 😓. The Gnome Secrets looks really good. Maybe I’ll store passwords with it. The only downside however is that it’s only available via Flatpak package.

1. Open terminal by searching from ‘Activities’ overview. When it opens, run command to install the flatpak daemon:

sudo apt install flatpak

2. Next, install the app via command:

flatpak install

There will be hundreds of MB more install, if you’re first time installing GTK apps via Flatpak.

Once installed, search for and open it from ‘Activities’ overview and enjoy!

Uninstall Secrets:

To remove the app, simply open terminal and run command:

flatpak uninstall --delete-data org.gnome.World.Secrets

And run flatpak uninstall --unused to remove useless runtime libraries.

KeePass Password Safe 2.49 released with user interface improvements and minor new features. Here’s how to install it in Ubuntu via PPA.

According to the release note, the new release added new dedicated context menus for custom string fields and auto-type associations in the entry dialog. Allows to copy names, values, target windows and sequences, copy and paste items, and do select all and move to actions. The button “More” is present to the right of the custom string fields and auto-type associations list to show the context menu.

The release also added optional “Auto-Type – Enabled” and “Auto-Type – Sequences” main entry list column. They are disabled by default and can be turned on via menu “View -> Configure Columns”.

KeePass 2.49 added support for importing Keeper 16.0.0 JSON files, and automatic screen reader detection based on the operating system’s screen reader parameter. Other changes include:

  • New ‘Show confirmation dialog when opening a database file whose minor format version is unknown’ option.
  • Dialog banners can now be read by screen readers
  • Added accessibility names for some controls
  • Controls in the accessibility/automation control tree are now ordered by their visual locations
  • Various accessibility enhancements and other improvements.

How to Install KeePass 2.49 in Ubuntu:

KeePass 2.x runs on Linux through Mono, the open-source .NET Framework-compatible software framework. The UI looks old. If you don’t like it, try KeePassX the native Linux password manager.

The software does not provide Linux binary package so far. Besides building from the source, you can use the unofficial Ubuntu PPA.

NOTE: I offer no warranty for any package in the PPA. Build rules and patches borrowed from the Julian Taylor’s PPA. Use it at your own risk.

1.) Firstly, open terminal from start menu and run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

Type user password when it asks since sudo command need user authentication and hit Enter to continue

2.) Then run command to update package cache, though it’s done automatically in Ubuntu 20.04 & higher while adding PPA:

sudo apt update

3.) Finally install this mono based password manager package by running command:

sudo apt install keepass2

By keeping the Ubuntu PPA, next time a new release is published you’ll be able to upgrade it using system’s Software Updater (Update Manager) utility.

Uninstall KeePass2:

To remove the software package, run command in terminal:

sudo apt remove --autoremove keepass2

And remove the Ubuntu PPA either via command in temrinal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/keepass2

or by launching “Software & Updates” utility and removing the relevant line under “Other Software” tab.