#1110841 secrets: 'Failed to unlock Safe' with empty password field

Package:
secrets
Source:
secrets
Description:
Manage your passwords
Submitter:
Martin Cihlar
Date:
2025-08-11 11:17:02 UTC
Severity:
normal
#1110841#5
Date:
2025-08-11 11:15:45 UTC
From:
To:
Dear Maintainer,

GNOME Secrets can no longer open my KeePass databases (KDBX) that are protected
by a keyfile but have no password set. The error shown in the UI is simply
'Failed to unlock Safe'. This occurred after the upgrade to trixie, the version
in bookworm (7.2-1) did not exhibit this behaviour.

I am not able to reproduce this issue in upstream version 11.1.1 (latest as of
writing), Flatpak.

Nothing interesting in stdout when run with the --debug option:
$ secrets --debug

(secrets:31608): Gtk-WARNING **: 12:45:47.650: Unknown key gtk-modules in
/home/martin/.config/gtk-4.0/settings.ini
11-08-25 12:45:57 | DEBUG | File selected: /redacted/path/to/kdbx
11-08-25 12:46:05 | DEBUG | Keyfile selected: /redacted/path/to/keyfile
11-08-25 12:46:07 | DEBUG | Generate key for FileProvider
11-08-25 12:46:07 | DEBUG | Adding key from FileProvider
11-08-25 12:46:07 | DEBUG | Generate key for Pkcs11Provider
11-08-25 12:46:07 | DEBUG | Generate key for YubiKeyProvider