AuthenticatorPro icon indicating copy to clipboard operation
AuthenticatorPro copied to clipboard

AuthenticatorPlus import not working

Open id628 opened this issue 4 years ago • 23 comments

No matter what I do when I try to import my authplus.db file, I get "The password is incorrect or the file is corrupt".

I've tried the Authplus password, a blank password, etc. Is there any way to debug this?

id628 avatar Feb 01 '21 16:02 id628

This seems like #110 again. What version of the app are you running?

jamie-mh avatar Feb 02 '21 07:02 jamie-mh

It comes up as 1.14.2

Also of note, should I be able to import the Accounts.txt file from Plus's export ZIP file using the URI list format? That doesn't work either - "The file could not be imported".

id628 avatar Feb 02 '21 14:02 id628

There must be something strange in your uri list that is throwing it off. Is there anything that looks out of the ordinary? If so, try removing the line and importing the uri list again.

jamie-mh avatar Feb 03 '21 15:02 jamie-mh

Hi,

Is this issue still relevant, does anything need fixing? Thanks.

jamie-mh avatar Feb 08 '21 19:02 jamie-mh

I tried a few edits, but ended up going with a different app that imported my list without issues. Should it be fixed still for others? Yes. Unfortunately I'm not able to spend a lot of time to debug right now due to other commitments.

id628 avatar Feb 09 '21 16:02 id628

Just a note confirming that the import from AuthenticatorPlus still isn't working. I even imported into Aegis Authenticator then exported to the plain text file from that app but AuthenticatorPro couldn't import from that export either :(

Gazoo avatar Feb 11 '21 17:02 Gazoo

OK I figured it out. Any duplicate entries that you have in your export will cause the entire import to fail.

Gazoo avatar Feb 11 '21 19:02 Gazoo

Good find, this does indeed cause a failure. I've made some changes to address this. It never crossed my mind that you could have the same authenticator multiple times in Authenticator Plus. But, why would you though, it seems a little strange.

jamie-mh avatar Feb 11 '21 20:02 jamie-mh

Good find, this does indeed cause a failure. I've made some changes to address this. It never crossed my mind that you could have the same authenticator multiple times in Authenticator Plus. But, why would you though, it seems a little strange.

I think it might just be a bug in the Authenticator Plus export. I don't remember there being duplicate entries listed in the app itself but there were a bunch in the export.

Gazoo avatar Feb 11 '21 20:02 Gazoo

@Gazoo thank you for that find. I was able to clean up the export from Auth+. I can confirm, mine had a complete set duplicate of all entries when viewed in a text editor. Likely the reason the authplus.db import fails is it probably has duplicate entries in it as well, even though it does not display any duplicates in the Auth+ UI.

numbawon avatar Feb 14 '21 03:02 numbawon

@numbawon How did you view the db in a text editor? I've tried using DB Browser for SQLite and it doesn't seem to want to open it.

gilgongo avatar Feb 17 '21 09:02 gilgongo

@gilgongo just export it as plaintext until the fix is published. Don't use the authplus.db format. Then you can use import it using the URI list (plain text list of otpauth URIs).

Gazoo avatar Feb 17 '21 14:02 Gazoo

@Gazoo Sorry, I meant how do I open the authplus.db so as to get the plain text? Is its SQLCipher method something non-standard? What tool did you use?

gilgongo avatar Feb 17 '21 14:02 gilgongo

@gilgongo I imported into Aegis Authenticator then exported to the plain text file.

Gazoo avatar Feb 17 '21 14:02 Gazoo

Hi,

Is this still an issue in the latest version?

jamie-mh avatar Feb 25 '21 13:02 jamie-mh

Yes. I'm getting an error that the file is not a valid authenticator pro backup file. The backup file was encrypted with a pasword but I'm not even making it to the stage where I'm being prompted for it. I made my backup with one phone, and now I'm in the process of switching phones, and I can't import any of my backups.

quietmansoath avatar Mar 05 '21 00:03 quietmansoath

I just tried again, and it worked. The only difference was that this time I made the backup without a password.

quietmansoath avatar Mar 05 '21 00:03 quietmansoath

I'm a noob and don't know anything about this duplicates thing, but I do have multiple of the same type of account? Like various google accounts have their own codes. I've also had to delete some in the past and re-do them. They don't show up in the app but maybe they are still hidden somewhere?

quietmansoath avatar Mar 05 '21 00:03 quietmansoath

I tried various methods to read/import the encrypted file but none of them worked. I transferred all my accounts manually in the end.

gilgongo avatar Mar 05 '21 07:03 gilgongo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 24 '21 07:05 stale[bot]

I was able to migrate from Auth+ mid september without any of the above mentioned issues. I did somehow lose a code while migrating (Firefox account) on one device - however I was able to recover it from a second device.

l-marchesi avatar Sep 20 '21 13:09 l-marchesi

Importing authplus.db as of 2022 with APP version 1.15.7 worked without problems for me.

c0deright avatar Jan 05 '22 11:01 c0deright

Just commenting because I found this thread when searching for "authenticator pro the file could not be imported".

I was able to import by exporting from Aegis via a plain-text backup. My Aegis backups were encrypted JSON files, and those did not work.

TodBonzalez avatar Jun 09 '22 16:06 TodBonzalez

Due to the lack of activity, I'm closing this issue.

jamie-mh avatar Dec 03 '23 11:12 jamie-mh