EvidenceOS includes runtime-selectable TEE attestation backends. This is not roadmap-only: backend selection and attestation collection are active code paths.
TeeBackend currently supports:
disabled(default): no attestation backend loaded.noop: development/test backend that emits synthetic attestations.amd-sev-snp(aliassev-snp): AMD SEV-SNP helper-backed backend.
These values are selected with EVIDENCEOS_TEE_BACKEND.
- No attestation is collected.
- Suitable for environments where TEE attestation is intentionally unavailable.
- Requires explicit opt-in:
EVIDENCEOS_TEE_ALLOW_NOOP=1(ortrue). - Returns synthetic payload with
NOOP_ATTESTATION_DO_NOT_USE_IN_PRODUCTIONprefix. - Daemon logs a warning when enabled.
Security posture: experimental/dev-only. No hardware trust guarantees.
- Invokes an external helper executable.
- Expected helper path:
- from
EVIDENCEOS_SEV_SNP_HELPER, or - default
/usr/local/bin/evidenceos-sev-snp-attest.
- from
- Helper is called as:
<helper> --report-data <measurement_sha256_hex>
- Helper must exit
0on success. - Helper must write a non-empty attestation blob to
stdout. - Any non-zero exit status or empty
stdoutis treated as backend failure. - EvidenceOS base64-encodes returned bytes into
attestation_blob_b64.
- The helper binary and its filesystem path are trusted and protected from tampering.
- Host/OS compromise that can replace/interpose helper execution is out of scope for this backend.
- Returned blob authenticity/chain validation is deployment-dependent and must be verified by policy tooling (e.g.,
evidenceos-attestworkflows).
Security posture: experimental until deployment-specific verification and hardening are complete.
- EvidenceOS computes
measurement_sha256_hexfrom the input measurement bytes. - For SEV-SNP backend, that hex digest is passed as
--report-datato helper. - Final report object includes:
backend_namemeasurement_hexattestation_blob_b64
- Use
disabledunless you have a validated attestation verification pipeline. - Use
nooponly in local/dev environments. - Treat
amd-sev-snpas experimental integration and gate promotion behind attestation verification tests.
crates/evidenceos-core/src/tee.rscrates/evidenceos-daemon/src/server/core.rscrates/evidenceos-attest/src/lib.rs