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

HOPT doesn't work correctly if requested to generate 10-digit OTP. #1

Open
piapip opened this issue Jun 2, 2024 · 1 comment · Fixed by piapip/gotp#1
Open

HOPT doesn't work correctly if requested to generate 10-digit OTP. #1

piapip opened this issue Jun 2, 2024 · 1 comment · Fixed by piapip/gotp#1

Comments

@piapip
Copy link

piapip commented Jun 2, 2024

Problem:

var powers = []int{
	1,           // digit:  0
	10,          // digit:  1
	100,         // digit:  2
	1000,        // digit:  3
	10000,       // digit:  4
	100000,      // digit:  5
	1000000,     // digit:  6
	10000000,    // digit:  7
	100000000,   // digit:  8
	1000000000,  // digit:  9
	10000000000, // digit: 10
}
@piapip
Copy link
Author

piapip commented Jun 2, 2024

I can't open a PR to this repo :3

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 a pull request may close this issue.

1 participant