Skip to content

Releases: jleclanche/python-bna

Release 5.1.0

11 Feb 14:21
5.1.0
Compare
Choose a tag to compare

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

01 Mar 11:46
5.0.2
Compare
Choose a tag to compare
  • Fix packaging of bna script
  • Allow running using python -m bna
  • Support Python 3.9

Release 5.0.1

07 Jan 09:56
5.0.1
Compare
Choose a tag to compare
  • Add Korea to valid regions
  • Update incorrect documentation
  • Move to Github Actions for CI

Release 5.0.0

11 Oct 23:05
5.0.0
Compare
Choose a tag to compare

CLI

MAJOR: The command line has been ported to use click. The following commands have changed:

  • bna --new is now bna new
  • bna --delete is now bna delete
  • bna --list is now bna list
  • bna --restore is now bna restore
  • bna --restore-code is now bna show-restore-code
  • bna --otpauth-url is now bna show-url
  • bna --set-default is now bna set-default. --set-default flag
    still works on new and restore commands.
  • New command: bna show-secret
  • New command: bna show (Same as no arguments)
  • bna -i shorthand 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

24 Nov 17:01
4.1.0
Compare
Choose a tag to compare

Changelog:

  • Add --otpauth-url to generate a url compatible with mobile OTP applications. The corresponding api function bna.get_otpauth_url can be used to generate one.
  • Update paper restore (--restore) URLs to the latest API
  • Fix error on unexpected restore challenge responses