KeePassXC, the popular free open-source KeePass and KeePassX based password manager, released version 2.7.9 few days ago.
The new KeePassXC 2.7.9 installed as Snap finally uses new desktop portal for native messaging integration. Meaning without using an external script, it now has out-of-the-box browser integration support. However, KeePassXC seems no longer provides official support for Snap package.
So far, Firefox (native + Snap), Chromium Snap, Google Chrome native, Brave native are tested and work with KeePassXC installed as Snap. Though, user may need to grant permission by running the command below in terminal:
sudo snap connect keepassxc:browser-native-messaging
Since version 2.7.7, the password manager added basic Passkeys/WebAuthn support, and added a context menu option to import passkeys. In the new release, it improved the feature by adding a new “Remove Passkey from Entry” context menu option.
Another change in the release is the logic to copy the password for an entry to the clipboard.
Previously, when a text is selected, copy to clipboard (with tool-bar button or keyboard shortcut) will copy the text instead of the entry username or password to clipboard. Now, the logic only applies when using Ctrl+C shortcut.
Meaning, Ctrl+B and tool-bar buttons will always copy the username (or password depends which button you clicked) to clipboard, no matter if there’s a text selected or not while using KeePassXC.
The new release also improved file import support. It can now import encrypted Bitwarden json, that’s export using account protection instead of password protection. It also improved importing a CSV file (such as from Google Chrome password manager) when title field isn’t specified.
Other changes in KeePassXC 2.7.9 include:
- Improve Entry placeholder resolution.
- Fix password clear timer inconsistency.
- Fix page overflow printing HTML export.
- Fix SSH Agent broken decrypt button.
- Other fixes and improvements.
How to Install KeePassXC 2.7.9
The project website provides download links for MacOS, Windows, Linux, Source Code, and browser extension.
Ubuntu user can visit the link button above, and select download the .AppImage. It’s a non-install package. Simply, right-click on it and go to “Properties”, then enable “Executable as Program” option (under Permissions tab for old Ubuntu), finally click Run the AppImage file will launch the program.
Besides AppImage, KeePassXC can be also installed via following 3 options:
- Ubuntu PPA, contains native .deb package.
- Flatpak, runs in sandbox environment.
- Snap, runs in sandbox environment, but seems no longer supported. See HERE for more.
Option 1: Install KeePassXC from PPA:
For Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04 on amd64
(AMD/Intel), arm64/armhf
(e.g., Raspi), and riscv64
platform, press Ctrl+Alt+T
on keyboard to open up a terminal window, then run commands below one by one to add the PPA and install KeePassXC 2.7.9:
sudo add-apt-repository ppa:phoerious/keepassxc
sudo apt update
sudo apt install keepassxc
Option 2: Install KeePassXC via Flatpak
Linux Mint 21 and Fedora 39+ (with 3rd party repository enabled) can directly search for and install the KeePassXC as flatpak package from either Software Manager or GNOME Software.
While Ubuntu users can open terminal (Ctrl+Alt+T) and run the 2 commands below one by one to install the package:
sudo apt install flatpak
flatpak install https://dl.flathub.org/repo/appstream/org.keepassxc.KeePassXC.flatpakref
Uninstall KeePassXC:
To uninstall the password manager installed as native .deb package, open terminal and run command:
sudo apt remove --autoremove keepassxc
Also, run the commands below one by one for choice to remove the PPA and refresh package cache:
sudo add-apt-repository --remove ppa:phoerious/keepassxc
sudo apt update
For the Flatpak package, you may run the command below instead to unintall:
flatpak uninstall --delete-data org.keepassxc.KeePassXC
Also run flatpak uninstall --unused
will uninstall useless runtime libraries that can free up some disk spaces.
First, thank for the paper.
At 2024/10/07, keepass 2.7.9 is not available as snap app. (only 2.7.8) So i install it by ppa. Still, it is impossible to detect the database from the default xubuntu 22.04 firefox 133 with KeePassXC-Browser(1.9.4) under snap (2.65.3). (I also installed xdg-desktop-portal and xdg-desktop-portal-gtk), My question, what is your configuration software version to make it work under the default firefox’s snap app (or chrominium ) ?
Regards
Julien