jleclanche / python-bna

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

bna new fails due to KR region #28

Closed deadmeu closed 3 years ago

deadmeu commented 3 years ago

https://github.com/jleclanche/python-bna/blob/64a4004cc1212fc29224f4d559eec05ddc35a94d/bna/http.py#L92

When creating a new authenticator using bna new Blizzard assigns me a serial id in a "KR" region, which breaks this check. I'm running this in Australia, but a workaround is using a VPN to place yourself in another country such as the US or UK.

It may be necessary for a "KR" region to be added to this list.

jleclanche commented 3 years ago

Fixed in 5.0.1, thanks @Davis-A