After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759399 - DBus "Type" property of org.freedesktop.Secret.Item is inaccessible
DBus "Type" property of org.freedesktop.Secret.Item is inaccessible
Status: RESOLVED FIXED
Product: gnome-keyring
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-12-13 08:32 UTC by tomsod-m
Modified: 2015-12-16 09:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (419 bytes, patch)
2015-12-13 08:32 UTC, tomsod-m
none Details | Review

Description tomsod-m 2015-12-13 08:32:55 UTC
Created attachment 317264 [details] [review]
patch

Since the transition to GDBus there are now introspection XMLs in daemon/dbus. Since org.freedesktop.Secret.Item.Type is a non-standard property, it isn't mentioned there, but this makes DBus wrapper libraries (sometimes?) think it doesn't exist.
Specifically in my case, libgnome-keyring plugin for Qupzilla fails to change secrets with this error:
https://git.gnome.org/browse/glib/tree/gio/gdbusconnection.c#n4245 ("No such property 'Type'")
after trying to lookup its info, which was (not) loaded earlier from the above XMLs.
After adding description of "Type" to daemon/dbus/org.freedesktop.Secrets.xml, everything started working OK for me. So I've attached the fix as a patch.
I have gnome-keyring v3.18.3. Qupzilla is 1.8.9 for Qt4, in case anyone bothers to check.
Comment 1 Stef Walter 2015-12-16 09:24:26 UTC
Thanks for tracking down the issue. Will merge into master and stable branches.