Releases: Nitrokey/nethsm-sdk-py
Releases · Nitrokey/nethsm-sdk-py
v1.2.1
v1.2.0
v1.1.0
Features
v1.0.0
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.
Changelog
- Introduce custom type for Base64-encoded data by @robin-nitrokey in #104
- Make system time optional in provision and restore by @robin-nitrokey in #105
Full Changelog: v0.5.0...v1.0.0
v0.5.0
Changelog
- NetHSM API changes
- Adjust to /keys/{KeyID}/cert only one MIME type API change. by @q-nk in #60
- Incorporate API specification changes on /keys/{KeyID}/cert type. by @q-nk in #62
- Use generated client for set_key_certificate by @robin-nitrokey in #64
- Fix return type for get_key_certificate by @robin-nitrokey in #66
- Update OpenAPI generator and remove schema patches by @robin-nitrokey in #55
- Adjust system restore code to system restore multipart api by @q-nk in #73
- Pass old passphrase when setting unlock or backup passphrase by @robin-nitrokey in #72
- Update API spec by @robin-nitrokey in #98
- Python API refinements
- Use lazy imports for generated client by @robin-nitrokey in #67
- Support different types of bytes input by @robin-nitrokey in #82
- Use enums instead of literals by @robin-nitrokey in #81
- Test enum completeness by @robin-nitrokey in #84
- Return dataclasses from get_info and encrypt by @robin-nitrokey in #85
- Mark helpers with underscore prefix by @robin-nitrokey in #87
- Refactor get_key and Key by @robin-nitrokey in #89
- Use dataclasses for add_key by @robin-nitrokey in #91
- Always use API version from API spec by @robin-nitrokey in #92
- Make authentication optional by @robin-nitrokey in #94
- Parse system time into datetime object by @robin-nitrokey in #95
- Fix type annotations for add_key by @robin-nitrokey in #101
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Changelog
- Fix and extend typing checks
- #35: fix: type error whith mime_type (@nponsard)
- #42: Update OpenAPI client and extend mypy checks (@robin-nitrokey)
- #44: Enable strict mypy checks for nethsm module (@robin-nitrokey)
- Improve tests
- #37: Allow a time delta in the time test (@q-nk)
- #51: Extend backup/restore tests (@robin-nitrokey)
- Adapt to API changes
- #47: Add certifi dependency (@robin-nitrokey)
- #52: Add backup validation (@robin-nitrokey)