Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update NetHSM api client #434

Closed
wants to merge 4 commits into from

Conversation

nponsard
Copy link
Contributor

@nponsard nponsard commented Sep 12, 2023

This PR updates the NetHSM api client to the latest specification.

Changes

  • Update nethsm-api.yml file
  • Update /pynitrokey/nethsm/client folder
  • Update api calls in /pynitrokey/nethsm/init.py

Checklist

Make sure to run make check and make fix before creating a PR, otherwise the CI will fail.

  • tested with Python3.9
  • signed commits
  • updated documentation (e.g. parameter description, inline doc, docs.nitrokey)
  • added labels

Test Environment and Execution

  • OS:
  • device's model:
  • device's firmware version:

@nponsard
Copy link
Contributor Author

nponsard commented Sep 13, 2023

I need to test all the functions to check if the type changed / something broke :

  • add-key
  • add-key-tag
  • add-operator-tag
  • add-user
  • backup
  • cancel-update
  • commit-update
  • csr
  • decrypt
  • delete-certificate
  • delete-key
  • delete-key-tag
  • delete-operator-tag
  • delete-user
  • encrypt
  • factory-reset
  • generate-key
  • generate-tls-key
  • get-certificate
  • get-config
  • get-key
  • get-user
  • info
  • list-keys
  • list-operator-tags
  • list-users
  • lock
  • metrics
  • provision
  • random
  • reboot
  • restore
  • set-backup-passphrase
  • set-certificate
  • set-logging-config
  • set-network-config
  • set-passphrase
  • set-time
  • set-unattended-boot
  • set-unlock-passphrase
  • shutdown
  • sign
  • state
  • system-info
  • unlock
  • update

@nponsard nponsard force-pushed the pr/update-nethsm-doc branch 2 times, most recently from 47b76f6 to de15ed6 Compare September 13, 2023 14:33
@nponsard
Copy link
Contributor Author

There's problems with the latest versions of the code generators, I'm gonna try with an older version.

@nponsard nponsard closed this Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant