GNOME Bugzilla – Bug 693723
Try to unlock keyring when storing
Last modified: 2013-02-19 06:11:08 UTC
If the keyring we're trying to store to is locked, currently libsecret fails to store the password. It should try to unlock the keyring.
Created attachment 235907 [details] [review] Try to unlock locked collection when storing an item And add tests to verify this behavior.
Jan, could you look this patch over? It's hard to find reviewers, so I usually ask those who point out bugs/requests features to help review the patch. Thanks in advance.
Review of attachment 235907 [details] [review]: It looks good to me. I've also successfully tested the patch with libsecret 0.13. ::: libsecret/secret-methods.c @@ +1065,3 @@ + secret_service_unlock_dbus_paths (service, paths, store->cancellable, + on_store_unlock, g_object_ref (async)); + aren't we leaking error here?
Created attachment 236721 [details] [review] Try to unlock locked collection when storing an item And add tests to verify this behavior.
Attachment 236721 [details] pushed as 0e9870b - Try to unlock locked collection when storing an item Thanks. Added line to free the error, and pushed.