FF keeps reseting GAuth Authenticator when updating. Why?
I have a permanent tab on my FF with the HTML version of Gauth Authenticator - https://github.com/gbraad/html5-google-authenticator
FF randomly resets my Gauth when updating, not always though. Also, reset my gauth just by opening and closing FF, again, not always. I've reported to the dev and he says it's a problem on your end. Can you help me solve this?
All Replies (6)
I'm not sure what you mean by resetting the application. Is this something that is caused by simply reloading the page, or is there more to it, such as clearing cookies and/or local storage?
Hi, you feed the "app" with the secret keys for several websites. you then use it to get the OTPs. what I mean by resetting is everything in the app is deleted and it re-opens as a blank.
I have to keep a backup of the webappsstore.sqlite so I don't loose the keys. Since I thought that's where the keys were stored, I recently didn't take care cleaning the cookies and I lost it all again.
please check devs comment - https://github.com/gbraad/html5-google-authenticator/issues/48
Ti ṣàtúnṣe
Oh, clearing cookies clears that data as well? That makes some sense, since they look very cookie-like (key-value pairs associated with specific sites). I'm not sure what is the "correct" or "intended" behavior or whether there is any plan to change it. How would you want it to work?
I'll be carefull next time I clean cookies. Anyway, FF keeps resetting my Gauth sometimes when updating, other times when simply shutting FF down. That's not good. Did you check - https://github.com/gbraad/html5-google-authenticator/issues/48 ?
The dev says this is a known FF issue.
Did you make a backup of that data via the command line in the Web Console (Firefox/Tools > Web Developer) with that website open as posted in that thread?
export = document.createElement('a'); export.setAttribute('href', 'data:text/plain;charset=utf-8,' + localStorage.getItem("accounts")); export.setAttribute('download', "gauth-export.json"); export.click();
This code should restore the data saved in the gauth-export.json file.
localStorage.setItem("accounts", "<paste the content of the JSON file here>");
Hi cicardia, I looked at the github thread each time before replying, but it isn't helpful in understanding the source of the problem.
To see whether anyone has filed a bug on this, you can try searching on the bug tracking system (however, I often find it difficult to track them down).
If you are inclined to file a bug, they will ask for steps to recreate the problem, so you might want to monitor it for a few days to see if you can spot any pattern.