IconDownloader::setUrl resolved the entry's host name with the blocking QHostInfo::fromName on the GUI thread, only to find out whether the host is an IP address. When the DNS servers are slow or unreachable, the whole window stopped responding until the lookup timed out.
Check the host with UrlTools::isIpAddress instead, which parses the literal address without any network access. Also add IPv6 literal cases to the icon downloader tests.
Fixes#13989
Botan 3.14 randomizes ECDSA signatures by default, even when RFC 6979
is available, so the exact signature bytes are no longer reproducible
and the EC passkey tests fail. Verify the signatures produced by
buildSignature() against the public key embedded in the signing key's
PEM instead, which validates both deterministic and randomized
signatures.
Reject KeeShare references without a UUID and prevent synchronous reentry during import. A missing UUID previously got assigned a random UUID on each parse, causing equality checks to evaluate to false. During the merge, group removal signals could then trigger a nested import, leading to recursive destruction and use-after-free.
References without a <Group> are now rejected, nested imports are blocked by reentrance guards, and regression tests are added.
Additionally fixes file change updates arriving during a running import being silently dropped. These updates are now queue for later execution.
Sometimes KeePassXC did not restore the window geometry properly. This change moves the geometry restoration to before showing the window. That should fix issues especially when the window is moved to another monitor on Wayland, but it may also resolve other strange quirks that can happen when the window starts in the tray.
release-tool.py i18n lupdate checked for an "lupdate version 5.x" substring, which no longer matches for Qt6. The check is unnecessary, and was removed.
Further, Qt 6.11 no longer skips empty source strings, so they make their way into keepassxc_en.ts. This is unnecessary, and it creates a mismatch between a local update and the CI still running Qt 6.4. Replaced empty tr("") strings with plain "".
This is a fixup to #13682 (thanks @tikipiya).
I also found potential overflows in the OPVault importer, which are now fixed. These overflows are mostly relevant on 32-bit systems only, where Qt's decision to use signed ints for all size types comes to bite you.
Small API change: The size parameter of KeePass2RandomStream::randomBytes was widened from int to qsizetype, which is the more appropriate type anyway.
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.
Under QT_QPA_PLATFORM=offscreen the X11 native interface exists but has no
display, and DefaultRootWindow() dereferenced the null pointer at startup.
The global shortcut code already checks for a null display.
DatabaseWidget::lock() returned early when its autosave failed and a reload
began, without clearing m_attemptingLock. Every later lock() then returned at
the m_attemptingLock check, so the database could not be locked again until
KeePassXC was restarted.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
QDBusAbstractInterface::isValid() can latch an empty service owner
cached while xdg-desktop-portal is still activating, permanently
disabling auto-type and the global shortcut. Use the interfaces'
version() property reads instead: real blocking calls that trigger
activation if needed and return 0 only on failure.
* Fixes a specific warning that spams the console due to a deprecated signal that was used to indicate checkboxes state changed.
* Converted all QCheckBox::stateChanged(int) to QCheckBox::toggled(bool). All functionality still works as intended.
* Fix snap build to use latest format
- add x11-related libs to make the program functional.
- additional metadata
- remove desktop-launch
* Move to core24
* Fix Secret Service message being null in some cases when unlocking a database
* Update changelog
---------
Co-authored-by: Janek Bevendorff <[email protected]>