Summary: | XDG Secrets portal does not trigger kwallet unlock | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kwallet | Reporter: | Naomi Kirby <nkirby> |
Component: | general | Assignee: | Valentin Rusu <valir> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs-null, mk.mateng, nicolas.fella |
Priority: | NOR | ||
Version First Reported In: | 6.12.0 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kwallet/-/commit/ecf9e2ec7fceca538a9266f5bb9488b4dced1d09 | Version Fixed In: | 6.18 |
Sentry Crash Report: | |||
Attachments: | Reproduction tool to dump secrets from the XDG portal |
Description
Naomi Kirby
2025-08-28 19:07:31 UTC
Thanks for the report! I think I see what's going wrong. When kwallet is already running but locked it will prompt for unlock as expected. However when it's not even running yet (because it didn't get started at login because of the autologin limitation) then trying to use it via the portal API will not start kwallet A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kwallet/-/merge_requests/128 Git commit ecf9e2ec7fceca538a9266f5bb9488b4dced1d09 by Nicolas Fella. Committed on 29/08/2025 at 21:12. Pushed by nicolasfella into branch 'master'. Add service file for portal DBus service When ksecretd is not already running and someone uses the secrets portal we need to DBus-activate ksecretd, otherwise the portal isn't functioning. M +3 -0 src/runtime/ksecretd/CMakeLists.txt A +3 -0 src/runtime/ksecretd/org.freedesktop.impl.portal.desktop.kwallet.service.in https://invent.kde.org/frameworks/kwallet/-/commit/ecf9e2ec7fceca538a9266f5bb9488b4dced1d09 |