Sneezry / authenticator

This repository has moved to https://github.com/Authenticator-Extension/Authenticator
Apache License 2.0
175 stars 92 forks source link

Can't Delete Duplicate or Old 2FA Codes #269

Closed adsactly closed 6 years ago

adsactly commented 6 years ago

When we try to delete the old 2FA Codes that we are no longer using it deletes ones that we are not clicking on for example. If we click to delete X it deletes Y which is Above or Below.

We think our codes are all messed up when we look at the Import/Export area we see that some of the codes are duplicated in names as well the "issuer" #

Please help us troubleshoot this issue.

mymindstorm commented 6 years ago

Did you restore your backup by completely replacing or by inserting into the import / export box?

You should check the value of "index": and make sure that it increments by one (starting from 0). E.g.: {"secret1": {"index":0}, "secret2": {"index":0}, "secret3": {"index":2}} should be corrected to {"secret1": {"index":0}, "secret2": {"index":1}, "secret3": {"index":2}}. Then open and close edit mode to make sure it updates.

adsactly commented 6 years ago

This is Mindfuck now some of our 2FA codes are invalid even tho all the codes are correct. we will try what you suggested above but this is really bad we can't access our exchanges or anything now :(

adsactly commented 6 years ago

OK That Fixed everything was little time consuming but you guys have built an incredible piece of software one suggestion for future upgrades is to make it possible to down a list of your keys in a human-readable format still encrypted like a CSV File etc.

mymindstorm commented 6 years ago

It's a lot easier to work with JSON files when you have something to format it with.

adsactly commented 6 years ago

OK so is it possible in the next release we can have a Downloadable file to import and export?

mymindstorm commented 6 years ago

That's something I was thinking about looking into adding, but it will probably take some time since the code needs to be refactored before anything big like that is added