Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

[2FA] Can't authenticate through HOTP with counter 0 #280

Open
babolivier opened this issue May 21, 2016 · 1 comment
Open

[2FA] Can't authenticate through HOTP with counter 0 #280

babolivier opened this issue May 21, 2016 · 1 comment
Labels

Comments

@babolivier
Copy link
Contributor

I'm handling this one, it's more a reminder.

When resetting the HOTP counter, it sets the counter to 0 in database. As the condition on the counter for accepting an OTP in HOTP is >, the password with counter 0 can't be accepted, and in case of a change of device the user has to generate two passwords to enter its Cozy instead of one.

@babolivier babolivier changed the title [2FA] Can't authenticate through HOTP with counter 0 after counter reset [2FA] Can't authenticate through HOTP with counter 0 May 21, 2016
@babolivier
Copy link
Contributor Author

Update: This doesn't only happen after resetting the counter, but also after enabling HOTP. I'll be on it later this weekend.

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

No branches or pull requests

2 participants