Issue metadata
Sign in to add a comment
|
Browser loses sign-in state when re-launched
Reported by
gwh...@kupulau.com,
Jun 19 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2767.4 Safari/537.36 Steps to reproduce the problem: 1. Launch chrome 2. Sign in to your google account 3. Note that sign in succeeded. 4. Exit and re-launch. Make sure all instances are gone prior to restart. 5. Note that you are not signed in, anywhere. What is the expected behavior? Sign in state should persist. What went wrong? Sign in state did not persist. Did this work before? N/A Chrome version: 53.0.2767.4 Channel: dev OS Version: Flash Version: Shockwave Flash 22.0 r0 As you'd expect, this is across *all* websites (since the profile is apparently re-synced?) I blew away my profile directory and did a clean setup, just to be sure, and the problem persisted.
,
Jun 20 2016
I did start from a fresh profile. My bad. It would appear that a restart of gnome-keyring-daemon is required. Here's how I got this to reproduce: (1) Start with a fresh Chrome profile and kill gome-keyring-daemon. You can also delete the keyring called 'Default keyring', just to start from scratch. (2) Launch chrome. gome-profile-daemon should prompt you to create Default keyring. Do this thing. (3) Login to chrome. (4) Exit chrome. (5) Kill gnome-keyring-daemon [nb: this basically simulates restarting your login session, from the keyring point of view.] (6) Start chrome. (7) Note that the chrome user profile now requires a sign in. (8) If you look in Default keyring before/after killing the daemon, you will note that the chrome data is still there.
,
Jun 20 2016
gnome-keyring-daemon version: gwhite@ringle ~$ gnome-keyring-daemon --version gnome-keyring-daemon: 3.20.0 testing: enabled
,
Jun 20 2016
Also, note that gnome-keyring-daemon is *still* used, even if chrome is launched with --password-store=basic or --password-store=kwallet
,
Jun 21 2016
Thank you for providing more feedback. Adding requester "rnimmagadda@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 21 2016
One other data point: disabling gnome-keyring-daemon will fix this problem. Hardly ideal. Where is chrome storing my private data? I don't see it connected to kwallet....
,
Jun 23 2016
Could someone from Dev team please look into this issue. The reporter has mentioned to disabling gnome-keyring-daemon. Thank you.
,
Sep 19 2016
Issue still present on Chromium 53.0.2785.116. Tested on Arch Linux, Gnome keyring version: 3.20.0.
,
Sep 19 2016
,
Sep 19 2016
If I manually unlock Gnome keyring before I start Chromium, everything is fine, but if Chromium triggers unlock prompt on start, he complains that user need to login again, I guess Chromium tried to retrive data from keyring before I entered password and therefore unlocked keyring, looks like some race condition, or some timeout for waiting user to unlock keyring is to small?
,
Sep 23 2016
Any progress on this?
,
Sep 28 2016
Issue 645474 has been merged into this issue.
,
Sep 28 2016
,
Sep 28 2016
+ewald@, nothing changed in signin code that should affect this. I suspect there might have been a change to how Chrome interacts with gnome-keyring per #10 and other comments here and in the dupe bugs. Any idea who could know how to triage this?
,
Sep 28 2016
+cfroussios, who's been working on OSCrypt. Any insight about this, especially considering comment #10? Thanks!
,
Sep 28 2016
+Rachel for help triaging from desktop perspective
,
Sep 28 2016
+thomas for Linux, and +vasilii for password manager in case he knows what changed here or how to fix this
,
Sep 28 2016
sounds like a dupe of bug 631171 cfroussios@ can you confirm?
,
Sep 28 2016
I want to add that it works if I change default keyring to have no/empty password. Also in password protected scenario in which Chromium prompts for password but requires re-authenticating, if I re-authenticate, stop Chromium, than manually lock keyring again, than start Chromium again, it will prompt for password and successfully unlock keyring, and will keep successfully unlocking (there is caveat) until one restart keyring daemon. Caveat is that it seems Chromium can't retrieve cookies in this case as I noticed that some sites' settings are be lost.
,
Sep 28 2016
When re-authentication is required I see this in log: [6634:6634:0928/213554:ERROR:account_tracker.cc(357)] OnGetTokenFailure: Not authorized. [6634:6634:0928/213554:ERROR:account_tracker.cc(357)] OnGetTokenFailure: Not authorized. After reauthenticating: [6857:6897:0928/213740:ERROR:gcm_store_impl.cc(922)] Failed to restore security token. [6857:6879:0928/213743:ERROR:mcs_client.cc(706)] Failed to log in to GCM, resetting connection. [6857:6857:0928/213750:ERROR:data_type_manager_impl.cc(34)] Passwords cryptographer error was encountered: Then after restart: [7078:7118:0928/213825:ERROR:gcm_store_impl.cc(627)] LevelDB remove failed: NotFound: [7078:7100:0928/213825:ERROR:mcs_client.cc(524)] GCM Update failed!
,
Sep 29 2016
This does sound like a duplicate of issue 631171 . I'm going to merge it. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by rnimmagadda@chromium.org
, Jun 20 2016Labels: Needs-Feedback
9.7 MB
9.7 MB View Download