Client implementation for the Go signer
Find a file
Jan Dittberner da24ae70b6 Implement CA certificate information handling
Change the behaviour of the client to use the new CAInfoCommand support in
cacert-gosigner.

The client has a new mechanism to generate new commands as reaction to
received responses. This functionality is used to retrieve CA certificate
information when certificates previously unknown to the client appear
and to trigger CRL retrieval for new certificates.

New CA certificates announced by the signer are detected and information is
retrieved. The retrieved CA certificate is stored alongside the CRL files
in a configurable directory (defaults to "public" in the working directory
of the signerclient process).
2022-12-03 11:52:32 +01:00
cmd/signerclient Implement CRL and Health response handling 2022-11-30 18:56:57 +01:00
internal Implement CA certificate information handling 2022-12-03 11:52:32 +01:00
.gitattributes Initial signer client implementation 2022-11-29 16:23:16 +01:00
.gitignore Implement CA certificate information handling 2022-12-03 11:52:32 +01:00
.golangci.yml Initial signer client implementation 2022-11-29 16:23:16 +01:00
.goreleaser.yaml Build system improvements 2022-12-02 09:49:38 +01:00
go.mod Implement CA certificate information handling 2022-12-03 11:52:32 +01:00
go.sum Implement CA certificate information handling 2022-12-03 11:52:32 +01:00
LICENSE Add Apache License 2.0 text 2022-11-29 20:14:10 +01:00
Makefile Build system improvements 2022-12-02 09:49:38 +01:00
README.md Add project description and development documentation 2022-11-29 20:15:59 +01:00

CAcert signer client

This is the CAcert signer client implementation that sends commands to the signer and handles certificate revocation lists (CRLs), OpenPGP public key signatures and X.509 certificates.

Development preconditions

You will need GNU make to build the application. On Debian systems you can install GNU make using:

sudo apt install make

Install go >= 1.17, golangci-lint >= 1.50.0 and goreleaser, as these are used for building and linting the application.

Read the documentation of these tools, to find out how to use them.

Building the binary

There is a Makefile to build the signerclient binary. Run

make

to run linting, tests and binary builds.