SecureValueRecovery2/host
gram-signal 9d5df31e6a
Some checks failed
CI / test (push) Has been cancelled
Update SVR to Ubuntu 22.04 and Debian bookworm.
2025-04-18 14:50:02 -07: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 editorconfig and run goimports 2025-03-06 13:23:47 -06:00
dispatch Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
enclave Add editorconfig and run goimports 2025-03-06 13:23:47 -06: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
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 SVR to Ubuntu 22.04 and Debian bookworm. 2025-04-18 14:50:02 -07:00
service Add editorconfig and run goimports 2025-03-06 13:23:47 -06:00
servicetest Add editorconfig and run goimports 2025-03-06 13:23:47 -06: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 for host 2025-01-23 10:33:45 -08:00
go.sum Update go dependencies for host 2025-01-23 10:33:45 -08:00
host.config.sample Squashed history. 2023-05-05 16:25:12 -06:00
main.go Add editorconfig and run goimports 2025-03-06 13:23:47 -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')