Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Authenticator QR-codes import #3

Open
F-Depi opened this issue Jul 29, 2024 · 2 comments
Open

Google Authenticator QR-codes import #3

F-Depi opened this issue Jul 29, 2024 · 2 comments

Comments

@F-Depi
Copy link

F-Depi commented Jul 29, 2024

The import option does not work with the QR codes generated from Google Authenticator app, nor with the link obtainable from zbarcam --raw --quiet --oneshotot.

Is there a way to import the accounts from Google Authenticator that I'm missing?
As far as I know Google Authenticator app only gives a link of the type
otpauth-migration://offline?data=<SOMECODE>
and there are no other options.

@dkosmari
Copy link
Owner

dkosmari commented Jul 29, 2024

This extension was coded to parse otpauth:// URIs, not otpauth-migration:// URIs. The former was well documented, the new one is undocumented and proprietary, I didn't even know it existed. Up until a few months ago, my Google Authenticator produced plain otpauth:// URIs.

I'll see if I can add support for it.

In the meantime you could try using a tool to convert it to the otpauth:// scheme, but be careful to not use any "online converter", as there's a high chance it will try to steal your OTP secrets.

@F-Depi
Copy link
Author

F-Depi commented Jul 29, 2024

Thank you.

As a temporary way to obtain the secrets from the otpauth-migration:// URIs I found this that works quite well.
NOTE that npm install should be run too, at step 2 in the usage section (after making the executable and before running it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants