Error when started before gnome-keyring is unlocked

Bug #774930 reported by ComputerWiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Google Voice Notifier
New
Undecided
Unassigned

Bug Description

If the program is started before the password is given to gnome-keyring to unlock it, then the Google voice login info is prompted and the following is displayed by gnome-keyring:

** Message: secret service operation failed: Cannot get secret of a locked object

Is there any way to prompt the user to unlock the keyring before giving up and asking for the Google credentials? Due to this bug, the program can't be run on startup unless the keyring is unlocked automatically (which can be a security issue).

Thanks and amazing program!

Revision history for this message
ComputerWiz (pcprodigy) wrote :

I wrote up a patch for this bug. It turns out that there is a bug in the python gnomekeyring library that does not allow you to easily unlock the keyring:
https://bugs.launchpad.net/ubuntu/+source/gnome-python-desktop/+bug/432882

I supplied a fix by creating a fake key, then deleting it immediately after. This will prompt the user for their keyring password. After doing this, the program can be run on startup without any issue.

To apply the temporary patch:
patch -i ./gvoice-notifier.diff /usr/bin/gvoice-notifier

Thanks, and I hope this gets incorporated/fixed soon!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.