GNOME Bugzilla – Bug 733421
Fix keyring initialization setup
Last modified: 2014-07-20 03:20:59 UTC
There's currently a few bugs that prevent the keyring initialization gnome-initial-setup tries to do from working properly. See atttached patches.
Created attachment 281204 [details] [review] keyring: open session when getting secret service Or we'll fail the call to secret_service_encode_dbus_secret().
Created attachment 281205 [details] [review] keyring: fix variant syntax We should pass a tuple.
Created attachment 281206 [details] [review] copy-worker: run in EarlyInitialization The EarlyInitialization phase was added to gnome-session for the purpose of running components that need to complete before the Initialization phase (where e.g. the keyring gets started). Use it for the initial setup copy worker.
Created attachment 281207 [details] [review] keyring: report error when failing to change keyring password Helps with debugging.
Created attachment 281208 [details] [review] keyring: use correct object path Or we'll fail the DBus call.
Review of attachment 281204 [details] [review]: OK.
Review of attachment 281205 [details] [review]: Yep.
Review of attachment 281206 [details] [review]: OK.
Review of attachment 281207 [details] [review]: OK.
Review of attachment 281208 [details] [review]: Yikes. I don't like how we're calling an org.gnome.keyring interface on /org/freedesktop/secrets, but I guess this is how it works now.
Thanks for the review! Attachment 281204 [details] pushed as 03d65b6 - keyring: open session when getting secret service Attachment 281205 [details] pushed as ce25431 - keyring: fix variant syntax Attachment 281206 [details] pushed as 95581e3 - copy-worker: run in EarlyInitialization Attachment 281207 [details] pushed as 1913723 - keyring: report error when failing to change keyring password Attachment 281208 [details] pushed as cb0aed7 - keyring: use correct object path