Skip to content
Snippets Groups Projects
  1. Aug 26, 2024
    • David Runge's avatar
      fix!: Rename function for creating an OpenPGP certificate · d3f3dd04
      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: default avatarDavid Runge <dvzrv@archlinux.org>
      d3f3dd04
    • Wiktor Kwapisiewicz's avatar
      feat: Add shell completion and manpages generation · 048ca0b5
      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: default avatarWiktor Kwapisiewicz <wiktor@metacode.biz>
      048ca0b5
  2. Aug 22, 2024
  3. Aug 20, 2024
  4. Aug 19, 2024
  5. Aug 14, 2024
  6. Aug 13, 2024
  7. Aug 12, 2024
  8. Aug 04, 2024
  9. Jul 25, 2024
  10. Jul 24, 2024
  11. Jul 13, 2024
  12. Jul 12, 2024
Loading