Fixed - Updated acceptable range of private keys from `[0, n)` to `[1, n)` as per SEC spec guidance (pull 97)
3.0.0
Added - Support for python3.13 - `uv` for package management - Typing for all non C extension modules in this package and a corresponding `py.typed` marker - Github Actions for testing and publishing - Pre-commit hooks to enforce formatting and type checks - Functions in `fastedcsa.keys` specific to public and private keys: - `export_private_key` - `export_public_key` - `import_private_key` - `import_public_key` - `__self__` to `fastecdsa.curve.Curve`
Changed - `fastecdsa.encodng.KeyEncoder` interface: - All methods changed from static methods to instance methods - Encoders always return `bytes` - Decoders always take `bytes` for key data - Private key methods do not consume or return public key data in their signatures - Private key encoding _does_ take a curve parameter as some encoders do encode the public key as part of the encoded private key (in this case the public key is computed using the private key and the curve)
Removed - Support for python3.7 - Support for python3.8 - `int` tuples are no longer allowed to be passed as `Q` in `fastecdsa.ecdsa.verify`. `Q` must be of type `point.Point` now. - `fastecdsa.keys.export_key` and `fastecdsa.keys.import_key`. Superseded by functions specific to public and private keys. - Default curve parameter from `fastecdsa.point.Point` constructor - `__unicode__` from `fastecdsa.point.Point`
2.3.2
Added - Support for python3.12
Removed - CI/CD pipelines
Fixed - [Memory corruption issue](https://gist.github.com/keltecc/49da037072276f21b005a8337c15db26). Special thanks to [keltecc](https://gist.github.com/keltecc) for discovering this and to Snyk for reporting it.
2.3.1
Not secure
Added - Building wheels via CI/CD for the following architectures - Linux x86_64 - Linux i686 - MacOS x86_64 - MacOS arm64 (M1)
2.3.0
Not secure
Added - Support for python3.11 - `pyproject.toml` per [PEP-621](https://peps.python.org/pep-0621/) - Support for [PEP-517](https://peps.python.org/pep-0517/) builds