This is a Go library that allows you to access your Authy TOTP tokens.
It was created to facilitate migrating from Authy to Token2 hardware tokens (including Molto2 multi-profile TOTP hardware token) or other TOTP Apps. Additionally, it supports exporting profiles to WinAuth, a desktop TOTP app, and as Raivo JSON export which can be imported by, say, 2FAS an Open Source app for iOS and Android.
Please note that this tool only migrates non-Authy-hosted accounts (the ones that are generating 7-digit OTP with 10/20 seconds intervals). The tool is intended to migrate "standard" TOTP profiles: 6 or 8 digits, 30 seconds (Authy app supports only 30 seconds TOTP profiles in addition to its native accounts).
This program will enrol itself as an additional device on your Authy account and export all of your TOTP tokens in Key URI Format.
Installation
Pre-built binaries are available from the page.
Alternatively, it can be compiled from source, which requires Go 1.12 or newer:
Follow the steps below to run the script from source code:
Install Go 1.12 or newer
Download the latest version of the toolset:
git clone https://github.com/token2/authy-migration.git
cd authy-migration
Install the qrcode module (other required modules will be installed automatically on the first run)
go get github.com/skip2/go-qrcode
Unzip to a folder, launch command line and change folder to {path}/cmd/authy-export and launch the command
go run authy-export.go
To use it:
authy-export.go
push
method. This will send a push notification to your existing Authy apps (be it on Android, iOS, Desktop or Chrome), and you will need to respond that from your other app(s).$HOME/authy-go.json
for further uses. Make sure to delete this file and de-register the device after you're finished.The module below is used for generating QR codes
See LICENSE
All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement