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

Can't enter code manually on linux #1

Open
bevhost opened this issue Feb 1, 2016 · 12 comments
Open

Can't enter code manually on linux #1

bevhost opened this issue Feb 1, 2016 · 12 comments

Comments

@bevhost
Copy link

bevhost commented Feb 1, 2016

I added the Application to chrome v48.0.02564.82 on my CentOS EL6 Gnome3 Desktop.

When I try to add a key by manually entering it, after I paste the code, I press ENTER, but nothing happens.

@inbasic
Copy link
Owner

inbasic commented Feb 1, 2016

Can you try adding by QR code screenshot instead? If I remember correctly the Chrome version does not show warnings. I'll fix this soon.

@bevhost
Copy link
Author

bevhost commented Feb 1, 2016

One of my codes is from screen connect, it does not display a QR code, only the text code.

@inbasic
Copy link
Owner

inbasic commented Feb 6, 2016

I see, okay then please wait for a new days. I am going to push a new update soon. The new version should display some more info if submission failed.

@inbasic
Copy link
Owner

inbasic commented Feb 14, 2016

Please try the new release and let me know if the problem is fixed.

@sprinl
Copy link

sprinl commented Jun 21, 2016

I have setup your application on a MacBook Pro with OS X 10.11.5.
I can setup account by screenshot but the manual input failed.
I get the following message: "Cannot read property 'spli'' of undefined"

messageinputmanualkey

I guess that I miss something.
In all case, I thank you for your usefull application.

@DanielFragaBR
Copy link

DanielFragaBR commented Jul 16, 2016

I have the same issue. When I enter manually the key, I get:

Secret key starts with "otpauth://totp".

If I put "otpauth://totp" before the key, it gives the error about the url split. It's a bit confusing... any hints?

@pifon
Copy link

pifon commented Oct 27, 2016

Great app. It works on one (CentOS), but after re-installing kububtu at home, I cannot add account.
Tried added link, screenshot. It just stopps, as if I did not enter anything.
Every restart of firefox it tries to create new repository. So I think it is actually never created.
Tried to remove it from browser, add it back - nothing helps.
May this be some permissions problems?

@inbasic
Copy link
Owner

inbasic commented Oct 27, 2016

@DanielFragaBR here is the format of supported keys; https://github.com/google/google-authenticator/wiki/Key-Uri-Format

@inbasic
Copy link
Owner

inbasic commented Oct 27, 2016

@pifon Can you confirm this on a clean profile? http://blog.add0n.com/2016/01/30/how-to-use-firefox-profile-manager.html

If you want to debug the current profile, open the Console Error (Ctrl + Shift +J). Now try to add a key and see if you get an error in the console.

@pifon
Copy link

pifon commented Oct 27, 2016

@inbasic Created new profile, all the same. Selecting qr code does nothing. Checked on console: iotfauthenticator:TypeError: str is null (core.js:106) and then stack trace.

@DanielFragaBR
Copy link

@inbasic thanks. I tried:

otpauth://totp/Example:email@gmail.com?secret=XXXXXXXXXXXXXXXXX

and after hitting Enter, nothing happens.

Suggestion: wouldn't it be better to ask just for the secret code instead of forcing the user to type the whole URI?

@pkhadka56
Copy link

Any progress on this as I am also facing similar error as faced by DanielFragaBR. How about

otpauth://totp/SECRET-KEY

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

6 participants