inbasic/open-two-factor-authenticator

Can't enter code manually on linux

Opened this issue · 12 comments

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.

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.

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

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.

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

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.

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 commented

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?

@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 commented

@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.

@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?

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

otpauth://totp/SECRET-KEY