Client implementation for the Go signer
Jan Dittberner
da24ae70b6
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). |
||
---|---|---|
cmd/signerclient | ||
internal | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yaml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md |
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.