Closed ukautz closed 6 years ago
The object path /org/freedesktop/secrets/collection/login is not necessarily available.
/org/freedesktop/secrets/collection/login
The D-Bus API reference from freedesktop.org specifies /org/freedesktop/secrets/aliases/default, which is commonly used. See: https://specifications.freedesktop.org/secret-service/ch12.html
/org/freedesktop/secrets/aliases/default
This patch tries to accommodate both scenarios, by first checking whether the direct path is available. If so it will be used as before, if not it will fall back to the alias path.
Here you go :)
:+1:
The object path
/org/freedesktop/secrets/collection/login
is not necessarily available.The D-Bus API reference from freedesktop.org specifies
/org/freedesktop/secrets/aliases/default
, which is commonly used. See: https://specifications.freedesktop.org/secret-service/ch12.htmlThis patch tries to accommodate both scenarios, by first checking whether the direct path is available. If so it will be used as before, if not it will fall back to the alias path.