Skip to content

Conversation

@zyonse
Copy link
Owner

@zyonse zyonse commented Feb 21, 2023

Closes #16

This was actually already fixed in a pull request in the JS-OTP repo: jiangts/JS-OTP#5
I tested various values from 0 to 99999999 and it resolves the issues I had.

@bscholer
Copy link
Collaborator

Looks awesome, thanks for the help! I'll publish in the next couple days. I graduated so I can't test anything though.

@bscholer bscholer merged commit a76a5c9 into zyonse:master Feb 24, 2023
@zyonse zyonse deleted the counter_fix branch February 24, 2023 03:49
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

Successfully merging this pull request may close these issues.

Generated HOTP code is incorrect when "counter" value reaches 128 or greater

2 participants