- Aug 26, 2024
-
-
David Runge authored
The function `NetHsm::add_openpgp_cert` only creates an OpenPGP certificate and does not in fact persist the resulting certificate in the NetHSM. Persisting the certificate using `NetHsm::import_key_certificate` would require switching to a user in the Administrator role and the function would therefore require using both users in the Operator and in the Administrator role. Renaming the function to `NetHsm::create_openpgp_cert` and adapting its documentation is the more future-proof solution, as it narrows the permission scope and reflects the current implementation properly. Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
Wiktor Kwapisiewicz authored
This PR adds two commands to the `justfile`: - `just generate shell_completions nethsm-cli` - `just generate manpages nethsm-cli` It also makes the `nethsm-cli` expose a minimal set of APIs for exposing CLI interface for `clap_allgen`. Fixes: #45 Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
- Aug 22, 2024
-
-
Wiktor Kwapisiewicz authored
Fixes: #47 See: https://nethsmdemo.nitrokey.com/api_docs/index.html#/default/get_keys__KeyID__cert Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
- Aug 20, 2024
-
-
Wiktor Kwapisiewicz authored
Fixes: #36 Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
Wiktor Kwapisiewicz authored
Fixes: #37 Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
Wiktor Kwapisiewicz authored
Fixes: #19 Fixes: #37 Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
- Aug 19, 2024
-
- Aug 14, 2024
-
-
David Runge authored
According to upstream documentation, a user in the Backup not in the Administrator role is required: https://docs.nitrokey.com/nethsm/administration#backup Fixes #40 Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
- Aug 13, 2024
-
-
Wiktor Kwapisiewicz authored
Fixes: #26 Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
- Aug 12, 2024
-
-
Wiktor Kwapisiewicz authored
Fixes: #15 Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
- Aug 04, 2024
-
-
renovate authored
Signed-off-by:
renovate <renovate@archlinux.org>
-
- Jul 25, 2024
-
-
Wiktor Kwapisiewicz authored
This patch introduces a commented-out section which waits for the NetHSM device to be operational before continuing. This makes the venerable `sleep 2` call unnecessary and uses a more granular `sleep 1` call instead. Fixes: #23 Signed-off-by:
Wiktor Kwapisiewicz <wiktor@metacode.biz>
-
- Jul 24, 2024
-
-
David Runge authored
Instead of relying on individual license attribution per file, configure license attribution in the REUSE.toml file. Moreover, use the generic "Signstar Contributors" as attribution and in a comment point out that the license attribution is not tracked individually, but that interested parties can get to this information with the help of git. Set SPDX package supplier to "Arch Linux" as the meaning of the field is better reflected by an organization than an individual: https://spdx.github.io/spdx-spec/v2.3/package-information/#75-package-supplier-field Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
- Jul 13, 2024
-
-
David Runge authored
Update all dependencies and add a CHANGELOG.md. Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
- Jul 12, 2024
-
-
David Runge authored
Add documentation and examples for the nethsm-cli crate. Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Signed-off-by:
David Runge <dvzrv@archlinux.org>
-