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

One Time Passwords do not work #125

Open
petrsnm opened this issue Mar 1, 2018 · 7 comments
Open

One Time Passwords do not work #125

petrsnm opened this issue Mar 1, 2018 · 7 comments

Comments

@petrsnm
Copy link

petrsnm commented Mar 1, 2018

application version:58e89852c32d9258ed43903e1fc929ce900eb118

For the username, I use the same account username as always. For the passcode, I use the OTP.
I've used Firefox, Internet Explorer and Chrome.
I've tried cut and pasting the OTP. I've tried with and without spaces. With and without dashes.

Error logs in the javascript console differ depending on the browser, but the end result is the same: "Login Failed".

Either I'm doing something wrong or the OTP feature is completely broken...

@gcsolaroli
Copy link
Member

Hello @petrsnm,

unfortunately this is not the first problem of OTP non working correctly; the feature is not "completely broken" (as every time we try to replicate the problem it has always behaved correctly) but there is definitely something going wrong that we have not identified yet.

The problem we have in investigating the issue is multifold:

  • all data in our DB are encrypted, and so it is not very easy to make sense of it;
  • OTP content is encrypted itself, and as soon as you try to use it (either with the right user or wrong user) its content is deleted.

Unfortunately, all the times we have looked into this problem, we have never been able to reliably reproduce it; and this means we have not been able to fix it.

I know I have to try to investigate this issue further, but I don't know when I will be able to do it.

Giulio Cesare

@petrsnm
Copy link
Author

petrsnm commented Mar 1, 2018 via email

@gcsolaroli
Copy link
Member

We have implemented OTP input validation to be as tolerant as possible; you can type in the value with or without spaces; with or without dashes; it also use and encoding that makes similar characters equivalent (zero and 'o' –both capital and lowercase– are handled the same; number one and lowercase 'L'; etc…).

We had issues with "weird" hyphen characters being pasted into the OTP field causing a wrong handling of the actual value, but we should have fixed this problem already.

Unfortunately there is still something that goes wrong (sometimes) that we haven't been able to put our fingers on yet.

We may be getting a new computer using some of the BTC donated by our users; when the new computer will arrive the first task will be to investigate the OTP issues again.

Thanks for the support.

Giulio Cesare

@jeremyreeder
Copy link

I, a new user of Clipperz, am having this same problem with OTPs. Whether I include or exclude spaces and hyphens, whether I enter the OTP manually or paste it in, and whether I press Enter or click 'login', the result is always the same: "login failed". I'm using the Brave browser with no extensions.

@karthikramas
Copy link

karthikramas commented Dec 31, 2019 via email

@jeremyreeder
Copy link

You seem to be talking about something different, @karthikramas. You're right, of course, that it would not make sense to store time-based TOTP codes such as those generated by Google Authenticator. But the topic here is Clipperz OTP codes, which serve a different purpose. Based on the documentation, each Clipperz OTP code will work in place of the main password but will work only once. What some of us are experiencing is that Clipperz OTP codes don't work at all.

@karthikramas
Copy link

karthikramas commented Jan 3, 2020 via email

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

No branches or pull requests

4 participants