https://bugs.kde.org/show_bug.cgi?id=523878

thomas <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from thomas <[email protected]> ---
I hit what looks like the same bug once, on 2026-11-21, after a normal login.
The journal shows the same startup sequence as above (the G_IS_DBUS_PROXY
assertion and the portal message), but those lines appear at every login here,
including the ones where everything works.

Symptom: ksshaskpass showed its passphrase dialog for an SSH key whose
passphrase is stored in the wallet, and ticking "Remember password" didn't
help.

What I found:

1. The secret was intact in ksecretd. Reading the item directly over
org.freedesktop.secrets (plain session) returned the correct passphrase; I
checked it against the key.
2. A dbus-monitor capture of one ksshaskpass run: ksshaskpass calls open,
entryType (returns 1) and readPassword on kwalletd6. For each of the last two,
kwalletd6 calls SearchItems on ksecretd, which returns the item, then
GetSecrets with session /org/freedesktop/secrets/session/3, and ksecretd
replies with a 16-byte parameter and a 16-byte value. kwalletd6 then returns ""
from readPassword.
3. kwalletd6 logged "Can't find session /org/freedesktop/secrets/session/3",
the same session path it had passed to GetSecrets, but only when the passphrase
was submitted with "Remember password" ticked. The failed reads logged nothing.
4. Restarting only kwalletd6 (kquitapp6 kwalletd6, ksecretd left running) fixed
it: the new instance returned the correct value. Its startup log was identical
to the broken instance's.
5. No KDE, Qt, libsecret or QtKeychain package changed between a login where
this worked and this one.

So in my case ksecretd and the wallet were fine, and the fault sat in
kwalletd6's use of its Secret Service session. An app that generates a new key
when the read comes back empty would overwrite its stored key at that point,
which would match the Chromium and Electron reports here and in bug 510038.

Kubuntu 26.04.1, Plasma 6.6.6, KDE Frameworks 6.24.0, Qt 6.10.2, libsecret
0.21.7, QtKeychain 0.15.0, Wayland. If it happens again I can capture more; let
me know what would help.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to