WillForan / duo-hotp

16 stars 5 forks source link

update additional data expected by duo API #2

Closed ivanov closed 5 months ago

ivanov commented 7 months ago

Thanks for putting duo-hotp together, it is a quality-of-life improvement for those of us who don't use smartphones.

without these changes, I was getting this response:

{'code': 40002, 'message': 'Unsupported platform', 'stat': 'FAIL'}

and any subsequent attempt to run the same code would yield:

{'code': 40403, 'message': 'Unknown activation code', 'stat': 'FAIL'}

The actual data I got from https://github.com/revalo/duo-bypass/pull/3 Though note that duo-bypass does not currently do the signing that was added in #1, so attempts to use duo-bypass yielded

{'code': 40112, 'message': 'Signature type is not supported', 'stat': 'FAIL'}