v1.2.1 (2024-07-31)
- Fix authentication for partial restore, i.e. on an operational instance (#124)
v1.2.0 (2024-07-16)
- Add support for namespaces (#110)
- Fix authentication for partial restore, i. e. on an operational instance (#120)
v1.1.0 (2024-05-03)
v1.0.0 (2023-11-27)
This release defines the stable API for the SDK based on the NetHSM v1.0 release. It also improves the handling of base64-encoded data and simplifies the provision and restore methods.
- Introduce custom type for Base64-encoded data by @robin-nitrokey (#104)
- Make system time optional in provision and restore by @robin-nitrokey (#105)
v0.5.0 (2023-11-23)
This release updates the API specification and improves the Python API.
- NetHSM API changes
- Adjust to /keys/{KeyID}/cert only one MIME type API change. by @q-nk (#60)
- Incorporate API specification changes on /keys/{KeyID}/cert type. by @q-nk (#62)
- Use generated client for set_key_certificate by @robin-nitrokey (#64)
- Fix return type for get_key_certificate by @robin-nitrokey (#66)
- Update OpenAPI generator and remove schema patches by @robin-nitrokey (#55)
- Adjust system restore code to system restore multipart api by @q-nk (#73)
- Pass old passphrase when setting unlock or backup passphrase by @robin-nitrokey (#72)
- Update API spec by @robin-nitrokey (#98)
- Python API refinements
- Use lazy imports for generated client by @robin-nitrokey (#67)
- Support different types of bytes input by @robin-nitrokey (#82)
- Use enums instead of literals by @robin-nitrokey (#81)
- Test enum completeness by @robin-nitrokey (#84)
- Return dataclasses from get_info and encrypt by @robin-nitrokey (#85)
- Mark helpers with underscore prefix by @robin-nitrokey (#87)
- Refactor get_key and Key by @robin-nitrokey (#89)
- Use dataclasses for add_key by @robin-nitrokey (#91)
- Always use API version from API spec by @robin-nitrokey (#92)
- Make authentication optional by @robin-nitrokey (#94)
- Parse system time into datetime object by @robin-nitrokey (#95)
- Fix type annotations for add_key by @robin-nitrokey (#101)
v0.4.0 (2023-10-27)
This release updates the API specification and adds support for validating backup files.
- Fix and extend typing checks
- Improve tests
- Adapt to API changes
- #47: Add certifi dependency (@robin-nitrokey)
- #52: Add backup validation (@robin-nitrokey)
v0.3.2 (2023-09-29)
This release fixes a warning if TLS verification is disabled.
- fix: disable warnings when tls verification is disabled by @nponsard (#31)
v0.3.1 (2023-09-29)
This release fixes the exception data.
- fix: exception data by @nponsard (#30)
v0.3.0 (2023-09-29)
This release improves the exception handling.
- refactor: exception handling by @nponsard (#27)
v0.2.0 (2023-09-28)
This release improves the documentation, removes an unused dependency and updates the API specification.
- doc: document lib usage by @nponsard (#11)
- fix: remove request dependency by @nponsard (#12)
- feat: update api spec with format: binary by @nponsard (#19)
- doc: document update() workaround by @nponsard (#20)
v0.1.0 (2023-09-26)
Initial release.