Commit Graph

4837 Commits

Author SHA1 Message Date
Jonathan White
18973351de Fix AppImage not finding Auto-Type library
* Fixes #12719 and Fixes #12721
* Also fixes missing <ul> in the appdata xml
2025-11-25 01:52:44 +01:00
Jonathan White
815bba3d78 Add explicit encoding when reading text from files 2025-11-25 01:52:44 +01:00
Janek Bevendorff
faaf5e97de Fix release-tool merge cmd and rename to "tag" 2025-11-25 01:52:44 +01:00
Jonathan White
9ac9440845 Fix setting entitlements on KeePassXC executable
* Fixes #12713
* Also fixes motorization to use the built packages instead of glob discovery
2025-11-25 01:52:44 +01:00
Janek Bevendorff
01e5b6ee1d Update translations. latest 2.7.11 2025-11-23 23:15:03 +01:00
Janek Bevendorff
d90c2ae731 Fix release-tool merge cmd and rename to "tag" 2025-11-23 23:13:32 +01:00
Janek Bevendorff
6feb42a19b Bump version to 2.7.11 2025-11-23 22:50:31 +01:00
Janek Bevendorff
9529c4f299 Fix AppRun path issue, fixes #12612 2025-11-23 22:45:57 +01:00
dependabot[bot]
a3d26d3790 Bump golang.org/x/crypto in /utils/keepassxc-cr-recovery
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.35.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.35.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-23 22:45:57 +01:00
Jonathan White
a3b17f4b68 Fix error in hardware key detection code on Windows 2025-11-23 22:45:57 +01:00
Jonathan White
dc9c9c443f 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-23 22:45:57 +01:00
Jonathan White
dfd4a1c12c Implement Group sync for KeeShare (#11593)
---------

Co-authored-by: ever <ever@brokenmouse.studio>
Co-authored-by: Ben Kluwe <ben.kl@go4more.de>
2025-11-23 22:45:57 +01:00
Jonathan White
e76637a1a5 Allow for escape syntax to enable literal placeholders
* Fixes #11890
2025-11-23 22:45:57 +01:00
Jonathan White
fcf993766f Don't clear clipboard if previously cleared
* Fixes #12591
2025-11-23 22:45:57 +01:00
Sven Strickroth
337baa0e79 Do not show misleading error message if user clicked cancel
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2025-11-23 22:45:57 +01:00
Sven Strickroth
b9bd1c3c00 Escape accelerators
(fixes issue #12037)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2025-11-23 22:45:57 +01:00
Markus Theil
61413e7a61 fix build with Botan 3.10
This fixes a compiler error I got,
when trying to build with Botan 3.10.

A static_cast to RSA_PrivateKey was not possible,
as the base class is virtual.

Fix by using a dynamic_cast instead.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
2025-11-23 22:45:57 +01:00
Jonathan White
d8f7d602b4 Take delays into account when Auto-Type TOTP values
* Fixes #12682
2025-11-23 22:45:57 +01:00
Jonathan White
9526f42536 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 22:45:57 +01:00
copilot-swe-agent[bot]
5211852d7e Fix CSV import regression with root group names
Fix the issue where CSV export/import creates nested root groups when the database has a custom root group name.

Added comprehensive tests to verify the fix works for both custom and default root group names, and preserves existing behavior for single-level groups.

Implement heuristic approach for CSV import root group detection:

- Analyzes all CSV rows before processing to find consistent first path components
- Only skips the first component if it appears in 80% or more of paths
- Handles absolute paths (starting with "/") by ignoring them in analysis
- Preserves existing behavior when no clear common root is found

Co-authored-by: droidmonkey <2809491+droidmonkey@users.noreply.github.com>
2025-11-23 22:45:57 +01:00
Jonathan White
e6b546f179 Support building with clang on Windows 2025-11-23 22:45:57 +01:00
Janek Bevendorff
510cd03ce5 Integrate macOS code signing into CMake
Moves code signing from the release-tool to CMake and unifies the Windows-equivalent code.
2025-11-23 22:45:57 +01:00
Janek Bevendorff
d92f9b1f49 Correctly restore window geometry when minimised to tray on startup
Fixes #10537
Fixes #11982
2025-11-23 22:45:57 +01:00
Janek Bevendorff
4a2f64ed4d Set default idle lock timeout to 15 minutes.
Addendum to #12689

The previous default of 240 seconds was too low. If we enable the lock
timeout by default, we should also set a more lenient default timeout by
default.
2025-11-23 22:45:57 +01:00
Janek Bevendorff
d473525098 Change Security/LockDatabaseIdle default to true 2025-11-23 22:45:57 +01:00
Janek Bevendorff
4daf5cee54 Enable CodeQL for all PRs and production branches 2025-11-23 22:45:57 +01:00
Janek Bevendorff
28f255733e Remove theme-based menubar icon toggle on macOS
The menubar theme detection on macOS has always been wonky, and with Liquid Glass it has become entirely useless. This removes the icon theme switch and uses the monochrome light icon as a mask until we find a better solution. This should look okay in most cases, unless the user has a very bright wallpaper.
2025-11-23 22:45:57 +01:00
Janek Bevendorff
72fa0ed58f Update sponsors list and translators fetch script 2025-11-23 22:45:57 +01:00
Janek Bevendorff
33b2e373da Add Liquid Glass icon 2025-11-23 22:45:57 +01:00
xboxones1
fdd3985af9 Fix markdown type for >= QT 5.15.18 (#12654) and advance vcpkg baseline
- Fix markdown type for >= QT 5.15.18 (#12654)

- Fix deprecation warnings about implicit capturing of "this"

- Advance vcpkg baseline to fix macOS Qt building
  Fixes Qt build errors on macOS 26 Tahoe.
  See https://github.com/microsoft/vcpkg/pull/48298
2025-11-23 22:45:57 +01:00
Juzu-O
dc9510ec64 Add URL double-click action option to Settings (#12322)
* Closes #4717

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: juzu-o <3142026+juzu-o@users.noreply.github.com>
Co-authored-by: Jonathan White <support@dmapps.us>
2025-11-02 12:35:38 -05:00
MNarath
a98d3b7c64 Fix KeeShare entries with references not updating (#11809)
A Entry that gets shared containing a reference Attribute would not write a history entry upon resolving said Attribute resulting in the import into the target database not beeing triggered despite the changes beeing written to the keeshare db.
2025-11-02 12:35:36 -05:00
Isaac Elliott
6809c4da1b Allow read-only native message files (#12236)
* Allow read-only native message files

It's possible[^1] for a native message file to be both correct and read-only.
When current versions of `keepassxc` encounter this, it fails, because
it can't write to the file. In this situation it should only fail if
the read-only file's contents are different to those it's trying to
write.

[^1]: e.g. when using an immutable OS management system like NixOS or
   home-manager.

---------

Co-authored-by: Jonathan White <support@dmapps.us>
2025-11-02 10:19:28 -05:00
Jonathan White
aeec2b8a98 Fix Auto-Type Empty Window Behavior
* Fixes #9282
* Also improve documentation for window title matching behavior
2025-11-02 10:19:27 -05:00
Sebastian Livoni
d7c7ce4cc4 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:19:26 -05:00
renner
daf23b65ad 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 10:19:25 -05:00
renner
d60826ad7f chore: reformat xml with GUI tool 2025-11-02 10:19:08 -05:00
Chris Bednarski
e19e7d2c43 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 10:18:12 -05:00
Jonathan White
abeb231bc3 Fix saving "Search Wait for Enter" setting 2025-11-02 10:18:11 -05:00
Sertonix
1705c2c94a Fix uninitialized memory when --pw-stdin is used with a pipe 2025-11-02 10:18:09 -05:00
Siddhant Shekhar
12a623f7d7 Sanitize username to prevent single-instance detection failure (#12559)
---------

Co-authored-by: Jonathan White <support@dmapps.us>
2025-11-01 10:33:34 -04:00
Janek Bevendorff
6eff15c9ec Fix AppImage launcher error, fixes #12608 2025-11-01 10:19:27 -04:00
Jonathan White
41b2a9bb60 Fix out-of-memory crash with malformed ssh keys
* Reported by Oblivionsage - thank you!
2025-11-01 10:18:58 -04:00
Jonathan White
1a7992cc57 Remove Last Accessed from GUI
* Closes #2005
2025-11-01 10:17:59 -04:00
Xì Gà
7dfeb47212 Open TOTP setup dialog if entry has no valid TOTP set (#12584)
---------

Co-authored-by: x <a@b.c>
Co-authored-by: Jonathan White <support@dmapps.us>
2025-11-01 10:17:52 -04:00
Jonathan White
17d58ecf1e release-tool: Move appimage zsync file to output dir (#12597) 2025-10-26 09:07:15 -04:00
Edward Arthur
e4676b0e4f Add option to auto-generate a password for new entries (#12593)
* Closes #626

---------

Co-authored-by: Jonathan White <support@dmapps.us>
2025-10-26 09:07:14 -04:00
Copilot
4d1a0e40d2 Bitwarden import: Add support for timestamps and password history (#12588)
* Closes #12587

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: droidmonkey <2809491+droidmonkey@users.noreply.github.com>
Co-authored-by: Jonathan White <support@dmapps.us>
2025-10-26 09:06:43 -04:00
Siddhant Shekhar
559783bcca cmake: Add POST_BUILD to custom commands for CMP0175 (#12548) 2025-10-25 19:52:11 -04:00
Copilot
99b7407a02 Implement {UUID} placeholder and nested reference support (#12511)
* Closes #12509
* Implement the {UUID} placeholder
* Implement nested placeholder de-referencing when resolving entry references to support a reference like {REF:U@I:{UUID}} which is equivalent to {USERNAME} placeholder.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: droidmonkey <2809491+droidmonkey@users.noreply.github.com>
Co-authored-by: Jonathan White <support@dmapps.us>
2025-10-25 19:52:10 -04:00