Client implementation for the Go signer
Find a file
2022-12-03 12:58:28 +01:00
cmd/signerclient Implement config generator 2022-12-03 12:22:00 +01:00
internal Implement config generator 2022-12-03 12:22:00 +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 documentation how to run the signer client 2022-12-03 12:58:28 +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.

Running the signer client

The signer client requires a YAML configuration file to know some information about its runtime environment. The default configuration file name is config.yaml in the working directory.

Generating a configuration file

Example configuration data is generated when the client is run with the -generate-config command line argument:

./signerclient -generate-config

Start the client

With config.yaml in the current directory you can start the client:

./signerclient

Supported command line arguments

To get a list of supported command line arguments run:

./signerclient -help