Error when started before gnome-keyring is unlocked
Bug #774930 reported by
ComputerWiz
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!
To post a comment you must log in.
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: /bugs.launchpad .net/ubuntu/ +source/ gnome-python- desktop/ +bug/432882
https:/
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: notifier. diff /usr/bin/ gvoice- notifier
patch -i ./gvoice-
Thanks, and I hope this gets incorporated/fixed soon!