SecureValueRecovery2/host
Chris Eager 42a3069a41
Some checks failed
CI / test (push) Has been cancelled
Update Go dependencies
2025-12-11 10:45:14 -06:00
..
auth Squashed history. 2023-05-05 16:25:12 -06:00
cmd Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
config Add OpenTelemetry metrics sink 2025-12-11 10:45:14 -06:00
dispatch Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
enclave Update dependencies. 2025-09-25 13:28:57 -07:00
health Add regular liveness checks to service. 2024-01-25 19:53:00 -07:00
integration Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
logger Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
metrics Update Go dependencies 2025-12-11 10:45:14 -06:00
miniredis AMD SEV-SNP attestation verification. 2023-06-22 13:03:09 -06:00
peer Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
peerid Switch control command to provide multiple subcommands based on request type. 2024-05-23 08:47:13 -06:00
proto Add Control mode to print out status of all peers. 2024-03-27 10:10:32 -06:00
raftmanager Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
rate Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
rustclient Update host/rustclient/Cargo.lock 2025-12-03 16:05:55 -06:00
service Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
servicetest Update dependencies. 2025-09-25 13:28:57 -07:00
util Update Go dependencies. 2024-03-01 10:02:02 -07:00
web Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
.gitignore Update attestation to work with GCP AK-certs. 2024-03-15 16:53:44 -06:00
.tool-versions Update host/README.md 2025-03-06 13:23:47 -06:00
enclave.config.sample Squashed history. 2023-05-05 16:25:12 -06:00
go.mod Update Go dependencies 2025-12-11 10:45:14 -06:00
go.sum Update Go dependencies 2025-12-11 10:45:14 -06:00
host.config.sample Squashed history. 2023-05-05 16:25:12 -06:00
main.go Add OpenTelemetry metrics sink 2025-12-11 10:45:14 -06:00
Makefile Integrate Kyber1024 client/server communication into SVR*. 2024-08-15 15:02:14 -07:00
README.md Update host/README.md 2025-03-06 13:23:47 -06:00

SVR2 Host Code

This codebase provides a host-side binary for running and interacting with an enclave, while also interacting with the outside world (external services, clients, etc), and acts as a bridge between these two worlds. It follows typical Go paradigms.

Go Version

This code was developed on Go 1.19+, so yay, generics are a thing.

Testing

The usual go test ./... wont necessarily work, because some tests depend on the enclave and generated code. Run make -C .. [docker_]host_test

Formatting

One gofmt to rule them all, except goimports for, you know, the imports:

go install golang.org/x/tools/cmd/goimports@latest # if needed
goimports -w -local 'github.com/signalapp/svr2' $(find . -name '*.go' -not -path '*.pb.go')