Skip to content

Deployment

Web of trust and reputation

Run the scripts from src/web-of-trust.

Script Purpose
deploy/scripts/up.sh Start the identity network and the web of trust
deploy/scripts/reputation.sh Start the reputation system as well
deploy/scripts/smoke.sh Checks
deploy/scripts/logs.sh Follow logs
deploy/scripts/down.sh Stop. Keeps data
deploy/scripts/purge.sh --yes Delete keys and data
Service Variable Port
Orchestrator REP_PORT 7850
Cluster REP_CLUSTER_PORT 7851
Variable Default Meaning
REP_MIN_STAKE 100 Minimum stake
REP_EPOCH_MS 3600000 Epoch length
SNP_ROOTS, SGX_ROOTS none Paths of vendor root certificates in the orchestrator container
TEE_MEASUREMENTS none Accepted measurements
TEE_PLATFORM software-simulated Platform of the machines
ALLOW_SOFTWARE_TEE false Accept attestations by local keys

Witnesses, watchers and notaries

Run the scripts from src/support: deploy/scripts/up.sh, down.sh, logs.sh SERVICE, test.sh, e2e.sh and purge.sh --yes. Witnesses listen on 7610 to 7613, watchers on 7620 and 7621, and notaries on 7630 and 7631.

Production notes

  • Set real vendor roots and measurements, and leave ALLOW_SOFTWARE_TEE unset.
  • Keep the spawner's keys offline except when agents are created. It can define and delegate agents.
  • Operate witnesses, watchers, notaries and platforms with different organizations.
  • The private relay holds only encrypted constitutions, but protect it with its token.