Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Not all Accounts being shown #1

Closed
taylorcoffelt opened this issue Jul 25, 2019 · 12 comments
Closed

Not all Accounts being shown #1

taylorcoffelt opened this issue Jul 25, 2019 · 12 comments

Comments

@taylorcoffelt
Copy link

I have 9 total accounts in Authy, and only 6 are being exported by the tool. I'm not sure why, or what's different about the ones that aren't being exported.

@alexzorin
Copy link
Owner

Sorry for the late response, for some reason I didn't get notified about this issue.

Did you see any "Failed to decrypt token" messages when it ran?

Were the three missing accounts definitely TOTP accounts, rather than Authy-type accounts? Do you mind sharing which websites/services any of them were registered with?

@taylorcoffelt
Copy link
Author

No "Failed to decrypt token" messages. The ones that came through were ones for

  • Coinbase
  • Backblaze
  • SSDNodes
  • Battle.net
  • Firefox
  • Bitwarden

Ones that were missing were:

  • Facebook
  • GitLab
  • Custom TOTP for my server's SSH

@alexzorin
Copy link
Owner

Thanks. GitLab is one that definitely works for me, so looks like it's not specific to providers (and all 36/36 exported for me 😢).

Might be a bit tricky to investigate since I can't just ask you for your data. I'll have a think about it. Thanks for reporting.

@taylorcoffelt
Copy link
Author

No problem. Mine is to a self-hosted version of GitLab. I'm not sure if that makes a difference or not. (I'd think not)

alexzorin added a commit that referenced this issue Jul 29, 2019
To enable, run with environment variable:

    AUTHY_DEBUG=1

This will hopefully make it easier to investigate issues like #1.
@jmcbee
Copy link

jmcbee commented Jul 29, 2019

I'm experiencing this as well. The URI exported is just

tpauth://totp?digits=6&secret=XXX

They list of unknown services for me are:

  • facebook
  • skrill
  • github
  • linode
  • namecheap

@jmcbee
Copy link

jmcbee commented Jul 29, 2019

I tried AUTHY_DEBUG:

{"account_type":"linode","digits":6,"encrypted_seed":"xxx","name":"Linode","original_name":null,"password_timestamp":1563434621,"salt":"xxx","unique_id":"123"}

I think it's happening when original_name is null

alexzorin added a commit that referenced this issue Jul 29, 2019
Will use Name if it is available, and otherwise will use UniqueID, which
is not descriptive but should always be available.

Should fix one of the complaints reported in #1.
@alexzorin
Copy link
Owner

Thanks. I don't really know what the difference between name and original_name is. My Linode tokens have both values set and I've not encountered an empty one before.

I've pushed a change to fall back to other values if original_name is empty.

Not sure this is the same issue as reported by @taylorcoffelt though - your tokens were totally missing, right? If you ever get a chance, builds for authy 0.1.2 are available and if you run with the environment variable AUTHY_DEBUG=1, you could see whether the missing tokens are absent from the API response or whether I'm skipping over them for some dumb reason.

@taylorcoffelt
Copy link
Author

Yeah, my tokens were missing completely from the output. I'll try running that in a bit and see if they end up in the API response.

@taylorcoffelt
Copy link
Author

Weird, they're not in the API response

@taylorcoffelt
Copy link
Author

Alright, I figured it out. The three other accounts weren't backing up, even though they were showing "Backed Up" in the authy app. I installed the Authy chrome extension, and only the first 6 accounts were showing up. I went into the app, toggled the backups, waited until all the accounts showed "Backed Up" again, and now all 9 are showing in the authy chrome extension and the authy exporter.

@alexzorin
Copy link
Owner

👍 Awesome - I was about to comment with the same theory. Will leave a note in the README mentioning it.

@taylorcoffelt
Copy link
Author

(As a side note, the changes you made to the app in v0.1.2 for the original_name fixed my exported tokens having names in the totp url)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@alexzorin @taylorcoffelt @jmcbee and others