#Remote Attestation Demo (Dockerized)
Simulates TPM-style attestation between a prover and verifier using Docker containers.
- Verifier: Flask app with a web UI to define trusted file state and verify attestations
- Prover: Measures local files, signs a quote, and submits it to the verifier
docker-compose up --build- Visit: http://localhost:8000
- Upload
start.shandconfig.json - Click Request Nonce
docker-compose up --build proverYou should see status: ok in the logs and/or UI.
verifier/ # Flask app, UI, and expected file logic
prover/ # Prover script + files to be measured
docker-compose.yml
- TPM-style PCR extension (hash chaining of files)
- Remote attestation with signed quotes
- Replay prevention via nonces
- Manual attestation policy control (via file uploads)
- Containers communicate via Docker network (
attestation-net) - Files are remeasured on each run
- No persistent volume: prover key and PCR reset every time
docker-compose down