pTOTP icon indicating copy to clipboard operation
pTOTP copied to clipboard

Support 8 digit codes

Open JackZielke opened this issue 6 years ago • 2 comments

Some sites (Battle.net) use 8 digit codes. Any chance the code could be modified to support 8 digits? If you put in the secret for one of these sites, the last 6 digits will be correct, you are just missing the first 2. For legibility, some software has added a space in the middle for 8 digit codes but just having the 2 missing numbers would be wonderful.

JackZielke avatar Oct 26 '19 07:10 JackZielke

I believe this PR may be what you're looking for: https://github.com/cpfair/pTOTP/pull/6/files

cpfair avatar Oct 26 '19 21:10 cpfair

Thank you! That is a great start.

JackZielke avatar Oct 28 '19 22:10 JackZielke