Releases: jleclanche/python-bna
Releases · jleclanche/python-bna
Release 5.1.0
This release removes dashes from authenticator serials, as those are no longer supported by Blizzard. There is no other meaningful change. Older releases can still work if you simply remove dashes from the generated serials.
This release also drops support for Python 3.6, and adds official support for Python 3.10.
Release 5.0.2
- Fix packaging of bna script
- Allow running using
python -m bna - Support Python 3.9
Release 5.0.1
- Add Korea to valid regions
- Update incorrect documentation
- Move to Github Actions for CI
Release 5.0.0
CLI
MAJOR: The command line has been ported to use click. The following commands have changed:
bna --newis nowbna newbna --deleteis nowbna deletebna --listis nowbna listbna --restoreis nowbna restorebna --restore-codeis nowbna show-restore-codebna --otpauth-urlis nowbna show-urlbna --set-defaultis nowbna set-default. --set-default flag
still works onnewandrestorecommands.- New command:
bna show-secret - New command:
bna show(Same as no arguments) bna -ishorthand has been removed (use --interactive)
Other changes to the app:
- Storing secrets as base32 now, instead of hex. Old hex-formatted secrets are converted accordingly.
- Added dependency on PyOTP (#10), now using PyOTP to generate codes and otpauth uri
- Renamed all instances of Battle.net to Blizzard
- Fixed #12
API
- Split up bna.py into multiple modules under bna/
- Use an APIClient for all http requests
- Fixed restore code support in China (now correctly using chinese hosts)
- Added typings
- Switched to consistent use of base32 whenever passing secrets (no longer expecting bytes)
- Dropped support for Python < 3.6
- Dropped get_token() (use PyOTP instead)
BNA 4.1.0
Changelog:
- Add
--otpauth-urlto generate a url compatible with mobile OTP applications. The corresponding api functionbna.get_otpauth_urlcan be used to generate one. - Update paper restore (
--restore) URLs to the latest API - Fix error on unexpected restore challenge responses