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

Failure to generate hotp with counter > 127 #3

Open
chudel opened this issue Oct 25, 2017 · 2 comments
Open

Failure to generate hotp with counter > 127 #3

chudel opened this issue Oct 25, 2017 · 2 comments

Comments

@chudel
Copy link

chudel commented Oct 25, 2017

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 chudel changed the title Failure to generate htop with counter > 127 Failure to generate hotp with counter > 127 Oct 25, 2017
@xikaos
Copy link

xikaos commented Oct 29, 2019

I'm also experiencing this issue.

@zyonse
Copy link

zyonse commented Feb 24, 2023

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

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

No branches or pull requests

3 participants