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

Add --otpauth-url for external OTP application support #6

Closed nakato closed 8 years ago

nakato commented 8 years ago

This generates the URL one would need to add their battle.net authenicator code into a mobile OTP application. Reducing the users number of needed applications and making restoration to such applications simpler.

It would be useful to add QRCode geneartion as well as a seperate command.

jleclanche commented 8 years ago

Cool! I'll merge later today/tomorrow after I get to test it.

As for QR Code generation, it's something you can add into any script. Something line bna --optauth-url | qrencode -o qrcode.png.