Closed MrPowerGamerBR closed 3 months ago
Hey @MrPowerGamerBR glad it sort of worked for you :D
I must admit it was a really fast and dirty script, I didn't put too much effort into testing (as it shows) many different accounts.
Hmm, interesting, I guess they use that field for popular services and icon packs? anyway, Happy to do a PR.
First things first: Thanks for the script! Finally decided to dump my tokens from Authy, I hate that they deprecated the desktop app and haven't provided any way of creating a offline backup.
For some reason, when I tried to dump my tokens, some of them do not have all of the keys that the script expects, here's all the errors that I found.
Here's my patched up script that I made that fixes these issues, if you think that it is good enough, I can PR the changes :3: https://gist.github.com/MrPowerGamerBR/0b34232c319fe044d22d4cd42d0a9b07
What I also noticed is that the script should use
name
instead oforiginalName
, a lot of the dumped accounts end up with my email as its name because Authy stored theoriginalName
as my email, whilename
has the name of the service (yes, theoriginalIssuer
should have the service name... but in my case not all of them have it...).Script skips
accountType
that aren'tauthenticator
, even tho the script can successfully dump themSome of my
accountType
are weird... My Discord hasdiscord
as its account type, my Stripe account isstripe
, so on and so forth, and because of that, the script skips the account, even tho it can successfully dump it.I haven't thoroughly tested it yet, but the script does generate valid TOTP codes (I tested with the dumped
discord
andtwitter
accountType
, and I was able to login with no issues) for these accounts.Maybe it would be better for the script to attempt to dump any
accountType
, and if it fails, skip it.Here's a reference of all the
accountType
that I found that weren'tauthenticator
:discord
stripe
dropbox
twitter
KeyError: 'originalName'
KeyError: 'originalIssuer'