alexzorin / authy Goto Github PK
View Code? Open in Web Editor NEWGo library and program to access your Authy TOTP secrets.
License: MIT License
Go library and program to access your Authy TOTP secrets.
License: MIT License
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.
$ go get github.com/alexzorin/authy/cmd/authy-export
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
$ go install github.com/alexzorin/authy/cmd/authy-export@latest
go: downloading github.com/alexzorin/authy v0.3.1
go: downloading github.com/alexzorin/authy/cmd/authy-export v0.0.0-20210420073749-0c25c0dd9ab1
go: github.com/alexzorin/authy/cmd/authy-export@latest (in github.com/alexzorin/authy/cmd/[email protected]):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
This is feedback for the readme. After using go install
, I see that auth-export
is not in the path. It therefore has to be run as ~/go/bin/authy-export
. The readme can perhaps be updated with this path to the executable.
Hi,
ran your script successfully under Windows, logged the app into my authy and got two lines for Humble and Twitch. Tried to reenter these into Keepass with TOTP extension, AndOTP or other apps to check if it generates the same codes but comapred with the android app, the codes are vastly different and don't work. Anything I did wrong in using the app? Thought the output was run&go :)
Any help appreciated to let Authy finally behind :/
I don't understand why the release for v0.4.0 is missing.
This sure is a lot of detections from VT - https://www.virustotal.com/gui/file/6f9e759f8993632a23ee84513e274202fa0df1e2ced4a868c1aeb845d810e509/detection
Any explanation? Thanks....
Even though I authenticated the app correctly (it would seem) and entered the backup password without an error message, I get no results as Authenticator Tokens (Here are your authenticator tokens: ... crickets).
I'm using version 0.1.2 with the precompiled Windows version, unfortunately, the precompiled Linux binary as the same issue.
Can you provide any means for me to debug into this?
Please check your file, it's detected as trojan on windows defender and virustotal.
Running Win11, and the built-in A/V is blocking the file saying it contains a virus and Brave blocked the download which I had to turn off safe browsing. Any ideas if this file is safe?
Hi,
Windows defender just detected Trojan:Win32/Ymacco.AA22 inside the authy-export-windows-amd64.exe
binary. What's going on here?
More info about this trojan here: https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3aWin32%2fYmacco.AA22&threatid=2147757354 and https://howtofix.guide/trojanwin32-ymacco-aa22/. According to the second URL the Trojan "Attempts to connect to a dead IP:Port" and "Performs some HTTP requests" along with other things.
I suppose I will delete the tool and start changing all my TFA secrets everywhere :(.
I am getting this issue trying to run this software. Any ideas?
go get github.com/alexzorin/authy/cmd/authy-export
go get: github.com/alexzorin/authy/cmd/authy-export@none updating to
github.com/alexzorin/authy/cmd/[email protected] requires
github.com/alexzorin/[email protected]: invalid version: unknown revision 000000000000
Hi,
A lot of my TOTP secrets are just my email as the username which causes confusion when importing. Would it be possible to get the issuer from Authy and prepend it to the username and add to the issuer parameter?
Not sure if it's just my machine/account but I get an error when I try to run it (actual phone number redacted):
Device registration failed: Get "https://api.authy.com/json/users/1-2223334444/status": context deadline exceeded
First, thanks for this library, it's great. I've tried a few techniques, but having a CLI method that exports the QR to UTF8 in console was very cool, thanks!
Unfortunately, I tried to use this technique with a Twilio service, "SendGrid" and it doesn't work.
Has anyone successfully gotten this library to work with SendGrid?
Hello, I've been trying to get authy export file but after emtering the totp password the program just closed automatically. After that I tried to open the exe file multiple times and everytime it asks for the totp password and closes on entering the password.
Console log:
2019/07/30 01:15:13 Found existing device registration
2019/07/30 01:15:13 Authy User ID {{OBFUSCATED}}, Device ID {{OBFUSCATED}}
2019/07/30 01:15:13 Please provide your Authy TOTP backup password:
2019/07/30 01:15:17 Here are your authenticator tokens:
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
github.com/alexzorin/authy.decryptToken({{OBFUSCATED}})
/home/travis/gopath/src/github.com/alexzorin/authy/crypto.go:110 +0x4bb
github.com/alexzorin/authy.AuthenticatorToken.Decrypt({{OBFUSCATED}})
/home/travis/gopath/src/github.com/alexzorin/authy/objects.go:175 +0x88
main.main()
/home/travis/gopath/src/github.com/alexzorin/authy/cmd/authy-export/authy-export.go:71 +0x631
Strange that it was a panic, but there you go. :)
For those who aren't launching the tool in terminal, might include one last "Press any key to exit" prompt, the window just disappears upon completion.
Hi,
I'm using MacOS (and know how to use terminal :-) ) and I've downloaded the binary authy-export-darwin-amd64.dms
.
The instructions in your README are now to run authy-export
, but I don't know how to do this.
I tried sudo ./authy-export
or sudo ./authy-export-darwin-amd64.dms
and this doesn't work.
Any help is appreciated.
Sincerely,
Mathias
Hi! THanks for soft!
I ran on windows, I got lines like otpauth://totp/ etc...
How create from it URI-list for Authentificator Pro ?
Hello,
I would like to import all my otpauth on my Security Key (yubikey 5ci).
Is there any automatic method for doing this ?
(I used the script and it works well, but maybe it's possible to load directly into the Security Key with kind of api)
Please add reminder to sync system time with a NTP server as Step #1
Mine had drifted and led to some TOTPs not working, till I performed this crucial step.
Source of problem = user error.
Hi,
I have several 7 digit tokens (for example Twitch, Twilio, Authy Dashboard) where the QR codes resulting from the URI authy-export outputs does not yield the same tokens in 1Password or Google Authenticator when compared with Authy. Notably the longer secrets for Amazon Web Services with 6 digit tokens work just fine so it would appear there is some special treatment required for those 7 digit ones.
When use:
go install github.com/alexzorin/authy/cmd/authy-export@latest
I receive the message:
"The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module." and it is not installed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.