认识
官网:https://keepassxc.org/
文档:https://keepassxc.org/docs/
仓库:https://github.com/keepassxreboot/keepassxc
组成
命令程序 and 配置文件
- /usr/bin/keepassxc
- /usr/bin/keepassxc-cli
- /usr/bin/keepassxc-proxy
性质
提供 SSH Agent 集成 SSH Agent Integration
https://superuser.com/questions/1595123/how-do-i-use-keepassxc-as-an-ssh-agent
- Advanced tab: Add the private key as an attachment if you wish to store it in the database (useful for sharing between systems if your database is already shared somehow).
- 针对通过 Flatpak 安装的 KeePassXC 服务,其默认已授予 SSH_AUTH_SOCK 环境变量的访问权限,使用 /run/flatpak/ssh-auth 地址;https://github.com/flathub/org.keepassxc.KeePassXC/issues/117
- Auto-Type tab: Uncheck Enable Auto-Type for this entry.
- SSH Agent tab: Configure when the key is added and removed to your liking. Choose your private key from attachments or the filesystem.
- Browser Integration tab: Check Hide this entry from the browser extension.
提供自动合并更改 Merging Databases
https://keepassxc.org/docs/KeePassXC_UserGuide#_merging_databases
# 04/24/2025 | 两台设备,分别运行 KeePassXC 并打开“同个.kdbx 文件”(通过 Synology Drive 同步)
- 当我们在其中一台设备的 KeePassXC 中修改密码条目信息,等待 Synology Drive 完成同步后,另台设备的 KeePassXC 便会提示 Discard Merge Cancel Ignore 操作。
- 如果修改 Group 信息,则 KeePassXC 会直接更新。
提供基于时间的一次性密码 Timed One-Time Passwords | TOTP
https://keepassxc.org/docs/KeePassXC_UserGuide#_adding_totp_to_an_entry
新增密码条目,右键,进行 TOTP 设置。
提供密码分享功能 | KeeShare and Export
Database Sharing with KeeShare | https://keepassxc.org/docs/KeePassXC_UserGuide#_database_sharing_with_keeshare
Exporting Databases | https://keepassxc.org/docs/KeePassXC_UserGuide#_exporting_databases
https://github.com/keepassxreboot/keepassxc/issues/1940#issuecomment-2025262591
构建
通过 flatpak 安装
https://flathub.org/apps/org.keepassxc.KeePassXC
flatpak install flathub org.keepassxc.KeePassXC
flatpak run org.keepassxc.KeePassXC
# 05/08/2024
应用
场景及方案
Q:合并多个数据库文件?
A:File > Merge with database
R:KeepassXC has built in db file merge support! It’s hidden somewhere in the menus…
改进
右键菜单无法工作
笔记本合闭显示器之后,在项上单击右键无法显示菜单,并且菜单栏也无法使用
# 07/03/2020 KeePassXC Version 2.5.4,GNOME Shell 3.30.2,Qt 5.12.7,笔记本,我们现在可以复现问题:当使用单显示器时,没问题;当使用多显示器时,在接入显示器之后,GNOME 3 会黑屏并重新设置显示器,此时就会出现右键菜单无法工作的问题,将 KeePassXC 窗口拖动到别的显示器可以正常工作,再拖回原显示器将无法工作(无法使用右键菜单)。我们猜测可能是 Qt Bug 吧,显示器重新设置影响到菜单的渲染。
[Sol.] … Writing the database failed: Unknown error …
# 07/17/2024 | Flatpack | KeepassXC 2.7.9 | Ubuntu 24.04 LTS | Wayland
KeePassXC cannot save files correctly to GVFS mount point · Issue #4856 · keepassxreboot/keepassxc
# 07/17/2024 根本原因:
https://launchpad.net/ubuntu/+source/apparmor/4.0.1really4.0.0-beta3-0ubuntu0.1