Commit Graph
557 Commits
Author SHA1 Message Date
egglessness e0e3b844e9 Add support for configuration overrides via GPOs in Windows
This is a Windows only feature that uses policies set in the registry to control settings in KeePassXC. Overrides are set in HKLM\Software\Policies\KeePassXC and uses the same structure as the ini settings file. Overridden settings are disabled in the user interface and their values are not written to the user's own settings file.
2026-10-21 00:03:57 -04:00
Jonathan White b0454704e4 Remove legacy qt.conf deployment
* Fixes #13702
2026-10-20 11:06:53 +02:00
Jonathan White 9daea646d7 Fix deploying qtbase translations with Qt6 2026-10-20 11:06:53 +02:00
Janek Bevendorff 9e0f57a4a4 Update translations 2026-09-22 22:24:04 +02:00
Janek Bevendorff 013b2614e9 Update changelog date 2026-09-22 22:11:04 +02:00
Janek Bevendorff 1b2b04989e Update translations 2026-09-20 21:46:58 -04:00
Janek Bevendorff 8bbf3732fa Add changelog 2026-09-20 21:46:58 -04:00
2b58033398 Add native Windows Arm64 support on Qt-vcpkg builds (#13678)
* Add minimal native Windows Arm64 support

Extend the Qt-via-vcpkg work from #13473 with only the source changes required for Windows Arm64 triplet selection, deployqt resolution, ordered runtime dependency deployment, and architecture-correct MSI metadata.

Co-authored-by: Janek Bevendorff <[email protected]>
Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Gordon Lam (SH) (from Dev Box) <[email protected]>
Co-authored-by: Janek Bevendorff <[email protected]>
Co-authored-by: Copilot <[email protected]>
2026-09-20 23:59:34 +02:00
SimonandCopilot Autofix powered by AI 126f508e6a Add list storing key of all custom attributes in database
Add completer when adding/renaming custom attribute

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
2026-09-19 19:26:55 -04:00
Brais Couce 089cf9a916 Add the number of passkeys and TOTP entries to the statistics of the database report (#13632) 2026-09-14 19:44:49 -04:00
Janek Bevendorff 84f5e58c29 Add -DWITH_BUILD_QT CMake option and --build-qt release-tool flags to build Qt6 via vcpkg instead of using binaries from the system
Also advance vcpkg baseline to pull in Qt 6.11 and to fix compilation
with macOS SDK 26.
2026-09-14 14:31:24 -04:00
Jonathan White d80cc6286b Translations 2026-09-13 17:12:25 +02:00
Sami Vänttinenandvarjolintu 0e1510d71a Browser: Do not allow using references when creating or updating credentials (#13580)
* Introduces EntryPlaceholders class and moves static code away from Entry class.

---------

Co-authored-by: varjolintu <[email protected]>
2026-08-12 15:03:33 -04:00
Adrien Ollier 0b0b2938eb refactor(configure_file): change extension of configure_file input files
Input files of configure_file are traditionnally suffixed with .in.
.cmake extension is preferably reserved to scripts.
2026-08-02 13:29:36 -04:00
Toni Spets f58d5fee82 Update desktop database when updating desktop file 2026-06-29 14:24:39 +03:00
luo jiyin 003e7af49c Fix multiple spelling typos across codebase (#13424)
* fix(changelog,appdata,test): correct typos (ambigious→ambiguous, verticle→vertical, Localtion→Location, Bottons→Buttons, rectange→rectangle)

* fix(dbus,nixutils,keeshare,cr-recovery): correct typos (definiton→definition, executeable→executable, Certicate→Certificate, padd→pad)
2026-06-28 23:54:42 -04:00
Toni Spets 6bb009d12e Install desktop file for AppImage
On first launch, we'll install a desktop file for the current user that
points to the specific AppImage that was used to start. We'll also
update it on every launch if any changes are made to it to ensure it
always points at the latest release.

We'll also use systemd-run if possible to ensure our DBus identity is
consistent on Wayland for Auto-Type to work in all possible scenarios.
2026-06-26 18:40:08 +03:00
Toni Spets feb8c245e1 Wayland Auto-Type with XDG Desktop Portals (#13359)
Needs an implementation of global shortcuts to bind the global trigger
and an implementation of remote desktop to type entries.
2026-06-20 14:16:21 +03:00
Sami Vänttinen 7c7ca4575e WIP: Qt6 transition (#11651)
Update KeePassXC to use Qt 6.
2026-05-04 15:16:51 +03:00
Jonathan Whiteandvarjolintu aa0cac5c03 Refactor: move to simple default builds (#11003)
* Remove individual feature flags in favor of a single `KPXC_MINIMAL` flag that removes advanced features from the build. Basic features are no longer guarded by feature flags.
* Basic features: Auto-Type, Yubikey, KeeShare
* Advanced features include: Browser (and passkeys), SSH Agent, and Secret Service
* Networking, Documentation, and Update Checking remain as feature flags to accommodate various distro requirements.

This change also cleans up the main CMakeLists.txt by re-arranging some content and placing macros into a dedicated include file. The minimum CMake version was bumped to 3.16.0 to conform to our minimum Ubuntu support of Focal (20.04). This also allows us to default to C++20, we fall back to C++17 for Qt versions less than 5.15.0 due to lack of support.

Lastly this change removes the KEEPASSXC_BUILD_TYPE="PreRelease" which is never used. We only support "Snapshot" and "Release" now.

Additional cleanup of CMakeLists:

1. Removed always-true CMake version guard  if(CMAKE_VERSION >= 3.14.0)

2. Removed dead GCC 4.8 stack protector fallback; C++20 requires GCC 10+, and -fstack-protector-strong has been available since GCC 4.9.

3. Removed dead ASan LSan version guard for the same reason.

4. Converted set_target_properties( COMPILE_DEFINITIONS) to target_compile_definitions() on both keepassxc_core and keepassxc_gui. Both are now PRIVATE since the symbol is an internal build detail.

5. Scoped Qt5Gui_PRIVATE_INCLUDE_DIRS to keepassxc_gui preventing Qt-internal headers from leaking into every target in the build.

6. Use cmake_parse_arguments to cleanup test case definition macros. Remove test output formats as they are never used and can be controlled when tests are run.

* moved /fsanitize=address to compile options instead of definitions for MSVC builds

---------

Co-authored-by: varjolintu <[email protected]>
2026-04-18 22:37:30 -04:00
Janek Bevendorff 5b5ab5334a Update changelog 2026-03-10 02:35:42 +01:00
Jonathan White adba5095c3 Fix AppImage not finding Auto-Type library
* Fixes #12719 and Fixes #12721
* Also fixes missing <ul> in the appdata xml
2025-11-25 01:48:22 +01:00
Janek Bevendorff 87c63ff9ee Update changelog 2025-11-24 11:52:18 +01:00
Jonathan White 72308a1706 Prevent launch on installer finish when run as SYSTEM
* This condition will only happen when KeePassXC is installed by MECM or similar deployment tool. This prevents accidental launch on exit if the packager forgot to set LAUNCHAPPONEXIT=0 in the msiexec call. Allowing launch on exit in these conditions would potentially allow a non-privileged user to assume the role of SYSTEM through the KeePassXC application.

* Fixes weakness reported by HackAndPwn, thank you!
2025-11-23 13:31:40 +01:00
Janek Bevendorff 2900f919c8 Fix AppRun path issue, fixes #12612 2025-11-22 19:23:12 -05:00
Janek Bevendorff eefee1f092 Install macOS bundle icons on build
Installs bundle icons to the Resources folder during the build stage and not during the install stage. This ensures that the app has an icon when run directly from the .app folder inside the IDE. Previously, the icon would be installed only when running make install or cpack.
2025-11-15 00:57:30 +01:00
Jonathan White 5acfcc6a1f Prevent interface lockups during startup with multiple tabs
Fixes #11998

Avoids UI lockups by removing several unnecessary mutex blocks  and avoiding redundant key detection calls.

Detect Yubikeys dynamically when challenging:

Prevents issue where correct key cannot be found if the internal state was reset prior to saving

This can occur if a user has multiple tabs open and multiple keys connected. Then switches to a locked tab without their DB key inserted which resets detection state.

Side Benefit - ensures proper cascade between USB and PC/SC interfaces so users can switch between the two modes seamlessly.
2025-11-09 16:11:38 -05:00
d87554e6d2 Implement Group sync for KeeShare (#11593)
---------

Co-authored-by: ever <[email protected]>
Co-authored-by: Ben Kluwe <[email protected]>
2025-11-09 16:10:45 -05:00
Janek Bevendorff 77746846da Add Liquid Glass icon 2025-11-09 15:53:11 +01:00
592d553ff8 Add URL double-click action option to Settings (#12322)
* Closes #4717

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: juzu-o <[email protected]>
Co-authored-by: Jonathan White <[email protected]>
2025-11-02 12:32:11 -05:00
Sebastian Livoni 6130a64be5 Add Window menu for macOS and specify Help menu to AppKit (#12357)
* Add Window menu for macOS and specify Help menu to AppKit
* Fix potential NSString dangling pointers of temporary QStrings
2025-11-02 10:16:22 -05:00
renner 9814037fd3 feat: refresh appdata.xml
* Adds donation, contact and up-to-date transifex URL
* Add features to appdata.xml for FlatHub
* Remove old releases to reduce file size
* Improve summary and description text
2025-11-02 09:08:07 -05:00
renner 8c8ae49240 chore: reformat xml with GUI tool 2025-11-02 09:08:07 -05:00
Chris Bednarski 1e370b8ab8 Change StartupNotify to false
StartupNotify causes KeepassXC to hang on startup until the notification timeout is reached, making the KeepassXC window unavailable in the application switcher (i.e. alt-tab) on various Linux distros.

Fixes https://github.com/keepassxreboot/keepassxc/issues/6423
Fixes https://github.com/keepassxreboot/keepassxc/issues/11664
2025-11-02 08:58:02 -05:00
Janek Bevendorff f927c4c41a Pull translations from Transifex 2025-10-29 14:49:49 +01:00
Janek Bevendorff 092879bcee Fix AppImage launcher error, fixes #12608 2025-10-28 15:54:08 -04:00
Jonathan White 298d401649 Fix out-of-memory crash with malformed ssh keys
* Reported by Oblivionsage - thank you!
2025-10-28 15:53:06 -04:00
Jonathan White 32b0f4ee9f Remove Last Accessed from GUI
* Closes #2005
2025-10-27 06:03:33 -04:00
Edward ArthurandJonathan White 20c7d35216 Add option to auto-generate a password for new entries (#12593)
* Closes #626

---------

Co-authored-by: Jonathan White <[email protected]>
2025-10-26 08:12:26 -04:00
Janek Bevendorff 33a747d5bc Migrate release-tool to Python 2025-10-25 21:07:58 +02:00
Siddhant Shekhar 6f59444439 cmake: Add POST_BUILD to custom commands for CMP0175 (#12548) 2025-10-11 09:33:42 -04:00
Tamino BauknechtandJonathan White c0ea6f65f9 Database merge confirmation dialog (#10173)
* Add Entry::calculateDifference()

This new function contains the logic that was previously in
EntryHistoryModel::calculateHistoryModifications().
It allows the re-use to display the differences in case of a merge.

* Introduce Database Merge Confirmation Dialog

Adds a dialog allowing a user to review the changes of a merge operation.
This dialog displays the changes and allows the user to abort the merge
without modifying the database.

Fixes #1152

* Added dry run option to Merger
* Changed behavior when actual merge differs from dry run to just output a warning to console
* Fixed KeeShare conflicting with merge operations in the middle of a merge

---------

Co-authored-by: Jonathan White <[email protected]>
2025-09-14 12:02:22 -04:00
A2vaandJonathan White 9a40182a62 Add an option to add KeePassXC to PATH during installation (#12171)
---------

Co-authored-by: Jonathan White <[email protected]>
2025-09-09 20:27:09 -04:00
CopilotandJonathan White dd023ca157 Fix pre-release issues with attachment viewer (#12244)
* Fix translation issues for "FIT" and "New Attachment" in attachment editor

* Fix markdown preview persistence and enable external links in attachment editor

* Update preview panel if manually moved from collapsed position

* Match edit view scroll position (by percentage) when changed. This ensures the preview remains in relative sync with the edited document, for example when a large amount of HTML reduces down to a short preview document.

* Fix default preview size to be half the width of the edit widget.

* Set tab stop to 10 and remove base ui file

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Jonathan White <[email protected]>
2025-09-08 06:22:20 -04:00
Jonathan White 7ea141652e Update base translations and improve consistency (#12432)
* Improve confirmation prompts and tooltips for delete actions in the GUI

* Fixes #10543
2025-09-07 20:16:36 -04:00
Luz Paz 41da5b2127 Fix various typos 2025-08-24 10:25:48 -04:00
9e8a966c23 Add URL auto-type and copy options to auto-type selection popup and menus (#12341)
* Added "Type {URL}" option to the auto-type selection popup right-click context menu
* Added "Copy {URL}" option to the auto-type selection popup right-click context menu
* Added keyboard shortcuts: CTRL+4 for "Type {URL}" and CTRL+SHIFT+4 for "Copy {URL}"
* Updated "Use Virtual Keyboard" shortcut from CTRL+4 to CTRL+5 to avoid inconsistency with order of shortcuts
* Added URL auto-type options "{URL}" and "{URL}{ENTER}" to main window entry view right-click menu
* Added URL auto-type options "{URL}" and "{URL}{ENTER}" to toolbar auto-type button dropdown menu
* Added translation strings for "Type {URL}" and "Copy {URL}" to support internationalization

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: juzu-o <[email protected]>
Co-authored-by: Jonathan White <[email protected]>
2025-08-09 23:10:04 -04:00
Juzu-OandJonathan White 448165613d Add more granular Auto-Type confirmation settings (#12370)
This new setting gives users more control and safety:

* When Auto-Type is invoked globally (e.g., via a system-wide hotkey), the confirmation popup will always appear, letting the user confirm which credentials will be auto-typed.
* When Auto-Type is invoked from within KeePassXC's main window, the confirmation step can be skipped, since the user already can visually confirm which entry is being auto-typed.

This balances usability and security, reducing friction for intended actions while providing an extra safeguard for potentially ambiguous global Auto-Type triggers.

---------

Co-authored-by: Jonathan White <[email protected]>
2025-08-09 22:36:51 -04:00
Jessy LANGEandJonathan White 7ec0f1f5a8 Add "press enter to search" option (#12263)
* Also increase auto-search timeout to 500 ms to improve user experience, especially with large databases. The previous value of 100ms guaranteed a search was performed after every character entered, even when typing relatively fast. 

---------

Co-authored-by: Jonathan White <[email protected]>
2025-07-06 14:16:25 -04:00
Jonathan White e5fbab38d8 Remove start menu shortcuts on uninstall 2025-06-19 16:22:17 -04:00