Crates.io | nethsm |
lib.rs | nethsm |
version | 0.6.0 |
source | src |
created_at | 2024-03-23 10:46:51.886398 |
updated_at | 2024-09-11 08:24:02.654311 |
description | A high-level library to interact with the API of a Nitrokey NetHSM |
homepage | |
repository | https://gitlab.archlinux.org/archlinux/signstar |
max_upload_size | |
id | 1183468 |
size | 449,474 |
A high-level library abstracting the use of the nethsm-sdk-rs library.
The NetHSM is a hardware appliance, that serves as secure store for cryptographic keys. With the help of a REST API it is possible to communicate with the device (as well as the official nethsm container) for setup and various cryptographic actions.
The nethsm-sdk-rs library is auto-generated using openapi-generator. This leads to a broad API surface with sparse documentation, that this crate attempts to rectify with the help of a central struct used for authentication setup and communication.
This library is integration tested against Nitrokey's official nethsm container. To run these long running tests a podman installation is required. The tests handle the creation and teardown of containers as needed.
cargo test --all -- --ignored
This project is licensed under the terms of the Apache-2.0 and MIT.