/otpauth

Google Authenticator migration decoder

Primary LanguageGoISC LicenseISC

Google Authenticator migration decoder

Convert Google Authenticator transfer links to plain otpauth links.

Usage

Navigate to Menu -> Transfer accounts -> Export accounts and extract the link from QR-code using your preferred software.

Example

go get github.com/dim13/otpauth
otpauth -link "otpauth-migration://offline?data=CjEKCkhlbGxvId6tvu8SGEV4YW1wbGU6YWxpY2VAZ29vZ2xlLmNvbRoHRXhhbXBsZTAC"
# Output:
otpauth://totp/Example:alice@google.com?issuer=Example&secret=JBSWY3DPEHPK3PXP