jleclanche / python-bna

Python implementation of the mobile Blizzard Authenticator (TOTP)
https://eu.battle.net/support/en/article/24520
MIT License
250 stars 38 forks source link

"Serial number is invalid." when setting up authenticator on Battle.net #32

Closed edwardando closed 2 years ago

edwardando commented 2 years ago

I'm putting in my EU-XXXX-YYYY-ZZZZ number and am getting this error on Battle.net, am I doing something wrong?

cbespin commented 2 years ago

I had the same issues. After a lot of trial and error, it worked for me when I omitted the dashes. Try EUXXXXYYYYZZZZ.

cbespin commented 2 years ago

It fully works for me otherwise. @edwardando If you can confirm, I could provide a pull-request @jleclanche

jleclanche commented 2 years ago

Yes please, i can't look into why this is happening right now but I'll review a pull request (if possible with a test attached)

cbespin commented 2 years ago

In the official app I still get a serial number that includes dashes. I will investigate a bit, but at least for now omitting them works.

edwardando commented 2 years ago

Seems to work perfectly, sorry for this lack of imagination!!