GNOME Bugzilla – Bug 684966
Error changing keyring password
Last modified: 2012-10-15 03:59:03 UTC
When trying to change the passphrase of the login keyring I'm presented with an error like this primary: Couldn't change keyring password secondary: GDBus.Error:org.freedesktop.Secret.Error.NoSuchObject: The collection does not exist As mentioned on IRC you should also use http://developer.gnome.org/gio/unstable/gio-GDBusError.html#g-dbus-error-strip-remote-error to strip the GDBus error parts from the message.
Created attachment 226374 [details] [review] gkr: Fix regression for changing keyring password * Changing a keyring password was failing with 'The collection does not exist'. * Use the correct DBus object path when changing the keyring password.
Created attachment 226375 [details] [review] Strip possible dbus errors before displaying * It's dumb that we need to strip error messages to prevent DBus error names from leaking to the user. But do this anyway now that we're using libsecret, which uses GDBus.
Hi Stef. FWIW I ran into the same issue as David and your patches fixed it. Thank you.
Attachment 226374 [details] pushed as 4a29700 - gkr: Fix regression for changing keyring password Attachment 226375 [details] pushed as 60e7f1b - Strip possible dbus errors before displaying
(In reply to comment #3) > FWIW I ran into the same issue as David and your patches fixed it. > Thank you. Thanks for testing. Pushed patches to gnome-3-6 branch.