Bna

Latest version: v5.1.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

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.

5.0.2

- Fix packaging of bna script
- Allow running using `python -m bna`
- Support Python 3.9

5.0.1

- Add Korea to valid regions
- Update incorrect documentation
- Move to Github Actions for CI

5.0.0

CLI

**MAJOR**: The command line has been ported to use [click](https://github.com/pallets/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)

4.1.0

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

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.