Accessing DBus interface `org.freedesktop.Secret.Collection.Locked` while keyring is locked time-outs
I have tried to access DBus property: org.freedesktop.secrets
-> /org/freedesktop/secrets/collection/Default_...
-> org.freedesktop.Secret.Collection.Locked
, while there is dialog asking to unlock the keyring and D-Feet stalled.
Why is this important
I wanted to implement a wait for an autostart program (~/.config/autostart
) that waits for the keyring to be unlocked before starting the app. Some apps like owncloud
do not do a proper check of the keyring before giving up and trying to get new credentials. But the problem with implementing this is that it will stall the system unnecessarily (due to dbus-send
instead of a sleep
function).