A nix flake providing the necessary python environment to allow registering 2FA apps on battle.net without needing Blizzard's proprietary app.
- Log in to battle.net account overview
- On the Security screen select, add a mobile authenticator
$ nix develop
$ bna new # this will output the serial number you must enter into battle.net
$ bna show # this will output the authenticator code you enter into battle.net
- Submit the form on battle.net and it should succeed
- Add the code to your chosen MFA application
$ bna show-url | qr # this will generate a QR code you can scan in most OTP apps
Not all OTP apps work with the codes battle.net are using. I can only confirm this works with FreeOTP+.