Expand description
Device attestation for provenance (issue #453, Rust side of #393).
Each signed event’s provenance block carries a device_attestation
entry from an AttestationProvider:
- With a TPM signer,
Attestor(featurehttp) keeps a current TPM2 quote registered with PhyCloud: it fetches a nonce (POST /api/v1/attestation/nonce), has the TPM quote its PCRs over it with the attestation key, submits the quote (POST /api/v1/attestation/quotes), and events reference the result:{"mode": "tpm", "quote_id": "...", "quote_status": "verified"}. Quotes are refreshed once per interval, not per event. - Without a TPM,
SoftwareAttestationmarks the block{"mode": "software", "warning": "no hardware root of trust"}, so a software agent is never mistaken for an attested one.
The blocks are identical to the Python SDK’s.
Structs§
- Attestor
- Keeps a current TPM quote registered with PhyCloud.
- Software
Attestation AttestationProviderfor agents without a TPM.
Traits§
- Attestation
Provider - Supplies the
device_attestationblock for the next event.
Functions§
- software_
attestation - The attestation block of an agent without a TPM.