Bug 462244 - DBus interface does not update `org.freedesktop.Secret.Collection.Locked`
Summary: DBus interface does not update `org.freedesktop.Secret.Collection.Locked`
Status: RESOLVED DUPLICATE of bug 459287
Alias: None
Product: frameworks-kwallet
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.100.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-25 15:02 UTC by Cristian Le
Modified: 2022-11-28 19:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Le 2022-11-25 15:02:13 UTC
SUMMARY
I wanted to use the dbus to make an autostart application (`~/.config/autostart`) wait for the secret service/kwallet to be unlocked. However, while navigating the dbus interface: `org.kde.kwalletd5` -> `/org/freedesktop/secrets/collection/kdewallet` -> `org.freedesktop.Secret.Collection.Locked` (and equivalently for the items within), I have noticed that it is not unlocked, even though the wallet is unlocked (e.g. `ownCloud` is able to connect).

I have compared with `org.freedesktop.secrets` -> `/org/freedesktop/secrets/collection/Default_...` -> `org.freedesktop.Secret.Collection.Locked` (managed by `gnome-keyring-daemon`) and it shows `Locked = False` when I am logged in.

Am I interfacing with DBus wrongly via `D-Feet`, or is the property not well returned in the daemon? 


STEPS TO REPRODUCE
???
Not sure if it's only on my system

OBSERVED RESULT
DBus property `org.freedesktop.Secret.Collection.Locked` is True when wallet is unlocked.

EXPECTED RESULT
DBus property `org.freedesktop.Secret.Collection.Locked` is False when wallet is unlocked.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37/5.26.3
Comment 1 michaelk83 2022-11-28 19:29:21 UTC

*** This bug has been marked as a duplicate of bug 459287 ***