After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 654168 - Removing an account leaves keyring item behind
Removing an account leaves keyring item behind
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-07-07 15:44 UTC by Matthew Barnes
Modified: 2012-03-30 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove the credentials from the keyring when an account is removed (6.74 KB, patch)
2012-03-22 12:55 UTC, Debarshi Ray
none Details | Review

Description Matthew Barnes 2011-07-07 15:44:02 UTC
In testing Evolution's integration with GOA, I'm amassing quite a collection of keyring items labelled "GOA Google credentials".  I assume these items should be removed along with the GOA account?
Comment 1 David Zeuthen (not reading bugmail) 2011-07-07 15:57:42 UTC
Yeah, we definitely should.
Comment 2 Łukasz Janowski 2012-01-05 11:05:15 UTC
When you get rid of an account and try to recreate it. The error bad request wrong token is shown. Deleting the keyring manually doesn't change this state.
Comment 3 David Zeuthen (not reading bugmail) 2012-01-05 18:28:29 UTC
(In reply to comment #2)
> When you get rid of an account and try to recreate it. The error bad request
> wrong token is shown. Deleting the keyring manually doesn't change this state.

The fact that we don't delete old keyring items should have nothing to do with failures on creating new accounts. I'm not sure why you think this is so.

It's more likely that Google account creation (I'm assuming this is what you are using) fails because your local clock is not set correctly ... because I've seen from other reports that Google's servers are very picky about this.
Comment 4 David Zeuthen (not reading bugmail) 2012-01-05 19:59:17 UTC
(In reply to comment #3)
> It's more likely that Google account creation (I'm assuming this is what you
> are using) fails because your local clock is not set correctly ... because I've
> seen from other reports that Google's servers are very picky about this.

The reporter acknowledged on IRC this indeed was the problem.
Comment 5 Debarshi Ray 2012-03-22 12:55:17 UTC
Created attachment 210330 [details] [review]
Remove the credentials from the keyring when an account is removed
Comment 6 Debarshi Ray 2012-03-23 11:09:12 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 7 André Klapper 2012-03-30 13:26:14 UTC
This broke the string freeze.