a workload inside the tee, served over attested tls.
run an http service inside a cloud tee, prove what code is running with a hardware quote, and serve it over attested tls — the certificate spki is bound into the quote. one engine for aws nitro, amd sev-snp, and intel tdx. a co-located app on loopback can share the same attested channel (app-proxy).
| command | role |
|---|---|
aw build |
attested build inside a tee (stage 0) |
aw run |
attested runtime with attested tls (stage 1) |
aw check <url> |
verify a live endpoint (quote + spki channel binding) |
aw check --json <url> |
machine-readable verification (+ tls_spki_hash) |
aw enclave |
nitro: build + serve in one enclave process |
aw proxy --cid N |
nitro parent: tcp:443 → vsock (tls terminates in the enclave) |
- platform measurement matches (pcr0 / snp measurement / tdx mrtd).
- value x matches (sha384 over the workload source tree).
- tls spki is bound into the hardware quote (
sha256(cert_spki) == eat.tls_spki_hash).
git clone https://github.com/maceip/attested-workload
cd attested-workload && cargo build --release && cargo test
./target/release/aw check --json https://<host>/| platform | model | notes |
|---|---|---|
| aws nitro | isolated enclave + vsock | live validated |
| amd sev-snp | confidential vm | whole-vm tls |
| intel tdx | confidential vm | whole-vm tls |
- agent platform — cvm-agent
- attestation service — attestation-service
- quote format — unified-quote
- in-tee runtime — attested-workload (here)
the receipts this runtime emits are in the unified-quote eat format. it depends
on the canonical unified-quote crate
directly (not a copy), and tests/cross_verify.rs checks that its own testdata
receipts verify under that base-layer verifier — tdx (build→runtime chain) and
aws nitro pass offline; snp needs a live amd kds fetch (--ignored).
the attested-TLS pattern this runtime implements — bind sha256(cert_spki || X)
into the hardware quote so the channel itself is attested, no ca required — is
live across the stack's cloud-rooted nodes (re-verifiable with no tee of your
own): aws sev-snp, aws nitro, and azure sev-snp. the azure node runs
the layer above (attestation-service) over attested-TLS at
https://attest.secure.build:8443/ and closes a source → silicon loop — the
binary is built in-tee by a self-hosted runner and its digest is bound as
value_x into the amd-rooted vTPM ak quote, so github build provenance and the
silicon agree on one value. status + remote re-verification commands:
https://maceip.github.io/unified-quote/live.html
