scito / extract_otp_secrets

Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.
https://scito.ch/content/extract-secret-keys-google-authenticator-qr-export
GNU General Public License v3.0
1.16k stars 138 forks source link

ERROR: Cannot decode otpauth-migration migration payload. #72

Closed zdary closed 1 year ago

zdary commented 1 year ago

exporting from recent version of google authenticator the process fails ERROR: Cannot decode otpauth-migration migration payload.

scito commented 1 year ago

I'm using latest version of Google Authenticator Version (5.20R4) and I do not have any problems extracting the secrets.

Which version of Google Authenticator are you using? Are you extracting directly from camera or from file? What are the steps to reproduce the problem? (Maybe you can use a test entry.)

Can you try re-run in debug mode? Use parameter -vvv

./extract_otp_secrets -vvv

Can you provide the debug output? (Note: Remove any secret information form debug output.)