Andotp: HOTP Support

Created on 25 Jul 2017  路  13Comments  路  Source: andOTP/andOTP

Support HOTP tokens in addition to TOTP

enhancement

Most helpful comment

@sjug Yes, I was thinking about maybe dropping the hidden option for HOTP type tokens and always show something like "Tap to generate token" which has to be pressed to create a new token.

All 13 comments

I'd suggest to remove the option for adding a HOTP for the time being then.

@Datenschutz Done, I removed the HOTP option for now (was still there from some internal testing).

I'm gonna release 0.4.1 and make it stable on Google Play (if no critical issues get reported here). After that the next big step is gonna be HOTP.

Closed it a little prematurely. I have a working implementation for HOTP and you can already add accounts by scanning a QR code but there are still a few things to be done:

  • [x] Manually enter HOTP accounts
  • [x] Tests for the HOTP generation

Anyone that wants to test the HOTP support can sign up for the beta testing on the Google Play store.
I'm still trying to figure out what is the best way to distribute beta versions on F-Droid.

@flocke Releasing them as Pre-Release on GitHub is one way (but not directly done trough F-Droid)

Do we need to manually iterate the # to the left of the copy button?

@maracuja-juice Yes, that is on my todo list. But I'm currently not on my build machine with the correct signing keys.
@sjug Yes, for now you have to manually iterate the counter. Tapping the counter increases it by one, long pressing it opens a dialog where you can manually edit it. I will have to come up with an idea to improve the usability a bit.

With the hidden option enabled, it does make sense to iterate before/after reveal that way each time you show it has a new value.

@sjug Yes, I was thinking about maybe dropping the hidden option for HOTP type tokens and always show something like "Tap to generate token" which has to be pressed to create a new token.

sorry, andOTP does not seem to work for Duo Security's HOTP protocol. Tried scanning Duo's QR code or entering the secret but get error "invalid QR code" or "invalid secret" respectively, using andOTP 0.7.1.1. Am I missing something ? thanks.

@ghjkl99 use puddly/android-otp-extractor to extract Duo Mobile QR code, then scan it with AndOTP. It works.

Was this page helpful?
0 / 5 - 0 ratings