cacert-gosigner/pkg/hsm
Jan Dittberner 3107ad8abb Implement serial link and protocol handling infrastructure
This commit adds basic serial link and protocol support. None of the commands
from the docs/design.md document is implemented yet.

The following new packages have been added:

- seriallink containing the serial link handler including COBS decoding and
  encoding
- protocol containing the protocol handler including msgpack unmarshalling
  and marshaling
- health containing a rudimentary health check implementation
- messages containing command and response types and generated msgpack
  marshaling code

A client simulation command has been added in cmd/clientsim.

README.md got instructions how to run the client simulator. The
docs/config.sample.yaml contains a new section for the serial connection
parameters.
2022-08-03 14:38:36 +02:00
..
context.go Refactor HSM setup 2022-08-03 09:59:26 +02:00
context_test.go Implement serial link and protocol handling infrastructure 2022-08-03 14:38:36 +02:00
hsm.go Allow hsm to use relative paths 2022-08-03 14:31:46 +02:00
hsm_test.go Implement serial link and protocol handling infrastructure 2022-08-03 14:38:36 +02:00
setup.go Refactor HSM setup 2022-08-03 09:59:26 +02:00
setup_test.go Refactor HSM setup 2022-08-03 09:59:26 +02:00
storage.go Refactor HSM setup 2022-08-03 09:59:26 +02:00