Skip to content
Snippets Groups Projects

Add `openpgp` subcommand

Merged Wiktor Kwapisiewicz requested to merge wiktor/signstar:wiktor/add-openpgp-generate into main

Adds the following subcommands under nethsm openpgp:

  • generate [KEY_ID] [USER_ID] - creates an OpenPGP certificate backed by an already existing key KEY_ID and appends one User ID, the certificate is saved to NetHSM and outputted on stdout,
  • sign [KEY_ID] - creates an OpenPGP signature for data on stdin and outputs the signature on stdout, this command requires that the generate command has been run,
  • import - imports an OpenPGP TSK file, extracts the certificate and stores it in NetHSM

Fixes #19 (closed)

Fixes #35 (closed)

Fixes #36 (closed)

Fixes #37 (closed)

Edited by Wiktor Kwapisiewicz

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading