Skip to content

Latest commit

 

History

History
173 lines (107 loc) · 7.85 KB

CHANGELOG.md

File metadata and controls

173 lines (107 loc) · 7.85 KB

Changelog

Unreleased

All Changes

v1.2.1 (2024-07-31)

Bugfixes

  • Fix authentication for partial restore, i.e. on an operational instance (#124)

All Changes

v1.2.0 (2024-07-16)

Features

  • Add support for namespaces (#110)

Bugfixes

  • Fix authentication for partial restore, i. e. on an operational instance (#120)

All Changes

v1.1.0 (2024-05-03)

Features

  • Support key import from PEM files (#99)
  • Add ignore_whitespace option to Base64.from_encoded (#108)

All Changes

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.

Breaking Changes

  • Introduce custom type for Base64-encoded data by @robin-nitrokey (#104)

Other Changes

  • Make system time optional in provision and restore by @robin-nitrokey (#105)

All Changes

v0.5.0 (2023-11-23)

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)
    • 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)

All Changes

v0.4.0 (2023-10-27)

This release updates the API specification and adds support for validating backup files.

Changes

  • 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
    • #41: Removed double Content-Type workaround (@q-nk)
    • #43: Adjust API delete certificate error message & status code (@q-nk)
  • #47: Add certifi dependency (@robin-nitrokey)
  • #52: Add backup validation (@robin-nitrokey)

All Changes

v0.3.2 (2023-09-29)

This release fixes a warning if TLS verification is disabled.

Changes

  • fix: disable warnings when tls verification is disabled by @nponsard (#31)

All Changes

v0.3.1 (2023-09-29)

This release fixes the exception data.

Changes

  • fix: exception data by @nponsard (#30)

All Changes

v0.3.0 (2023-09-29)

This release improves the exception handling.

Changes

  • refactor: exception handling by @nponsard (#27)

All Changes

v0.2.0 (2023-09-28)

This release improves the documentation, removes an unused dependency and updates the API specification.

Changes

  • 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)

All Changes

v0.1.0 (2023-09-26)

Initial release.