- Support key import from PEM files ([99](https://github.com/Nitrokey/nethsm-sdk-py/issues/99)) - Add `ignore_whitespace` option to `Base64.from_encoded` ([108](https://github.com/Nitrokey/nethsm-sdk-py/issues/108))
This release defines the stable API for the SDK based on the NetHSM [v1.0](nethsm-v1.0) release. It also improves the handling of base64-encoded data and simplifies the provision and restore methods.
0.5.0
This release updates the API specification and improves the Python API.
Changes
- NetHSM API changes - Adjust to /keys/{KeyID}/cert only one MIME type API change. by q-nk ([60](https://github.com/Nitrokey/nethsm-sdk-py/pull/60)) - Incorporate API specification changes on /keys/{KeyID}/cert type. by q-nk ([62](https://github.com/Nitrokey/nethsm-sdk-py/pull/62)) - Use generated client for set_key_certificate by robin-nitrokey ([64](https://github.com/Nitrokey/nethsm-sdk-py/pull/64)) - Fix return type for get_key_certificate by robin-nitrokey ([66](https://github.com/Nitrokey/nethsm-sdk-py/pull/66)) - Update OpenAPI generator and remove schema patches by robin-nitrokey ([55](https://github.com/Nitrokey/nethsm-sdk-py/pull/55)) - Adjust system restore code to system restore multipart api by q-nk ([73](https://github.com/Nitrokey/nethsm-sdk-py/pull/73)) - Pass old passphrase when setting unlock or backup passphrase by robin-nitrokey ([72](https://github.com/Nitrokey/nethsm-sdk-py/pull/72)) - Update API spec by robin-nitrokey ([98](https://github.com/Nitrokey/nethsm-sdk-py/pull/98)) - Python API refinements - Use lazy imports for generated client by robin-nitrokey ([67](https://github.com/Nitrokey/nethsm-sdk-py/pull/67)) - Support different types of bytes input by robin-nitrokey ([82](https://github.com/Nitrokey/nethsm-sdk-py/pull/82)) - Use enums instead of literals by robin-nitrokey ([81](https://github.com/Nitrokey/nethsm-sdk-py/pull/81)) - Test enum completeness by robin-nitrokey ([84](https://github.com/Nitrokey/nethsm-sdk-py/pull/84)) - Return dataclasses from get_info and encrypt by robin-nitrokey ([85](https://github.com/Nitrokey/nethsm-sdk-py/pull/85)) - Mark helpers with underscore prefix by robin-nitrokey ([87](https://github.com/Nitrokey/nethsm-sdk-py/pull/87)) - Refactor get_key and Key by robin-nitrokey ([89](https://github.com/Nitrokey/nethsm-sdk-py/pull/89)) - Use dataclasses for add_key by robin-nitrokey ([91](https://github.com/Nitrokey/nethsm-sdk-py/pull/91)) - Always use API version from API spec by robin-nitrokey ([92](https://github.com/Nitrokey/nethsm-sdk-py/pull/92)) - Make authentication optional by robin-nitrokey ([94](https://github.com/Nitrokey/nethsm-sdk-py/pull/94)) - Parse system time into datetime object by robin-nitrokey ([95](https://github.com/Nitrokey/nethsm-sdk-py/pull/95)) - Fix type annotations for add_key by robin-nitrokey ([101](https://github.com/Nitrokey/nethsm-sdk-py/pull/101))