JS-OTP icon indicating copy to clipboard operation
JS-OTP copied to clipboard

Failure to generate hotp with counter > 127

Open chudel opened this issue 7 years ago • 2 comments

Hello,

Nice javascript. I receive an error when generating an hotp with a counter size > 127.

hotp.getOtp(secret,128) will fail: my console shows the following output:

URIError: malformed URI sequence line 85 in Hotp.prototype.uintToString

chudel avatar Oct 25 '17 02:10 chudel

I'm also experiencing this issue.

xikaos avatar Oct 29 '19 01:10 xikaos

For anyone else with this issue, it's fixed in #5

zyonse avatar Feb 24 '23 03:02 zyonse