Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

FF keeps reseting GAuth Authenticator when updating. Why?

more options

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?

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?

所有回覆 (6)

more options

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?

more options

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

由 cicardia 於 修改

more options

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?

more options

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.

more options

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>");

more options

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).

https://bugzilla.mozilla.org/

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.