Skip to content

feat(tee): land Azure CVM distinct runtime.platform value (agentrust-trace 0.4)#411

Merged
imran-siddique merged 1 commit into
mainfrom
feat/azure-cvm-distinct-platform
Jul 21, 2026
Merged

feat(tee): land Azure CVM distinct runtime.platform value (agentrust-trace 0.4)#411
imran-siddique merged 1 commit into
mainfrom
feat/azure-cvm-distinct-platform

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

Re-lands the distinct-platform switch that was intended for #407 but did not make it onto main — the #407 merge (322f49f) kept the original amd-sev-snp mapping. Right now agentrust-trace 0.4.0, trace-tests (#41), and ca2a (#58) all support/expect the distinct azure-cvm-sev-snp platform, but cMCP still emits amd-sev-snp for Azure and distinguishes it only by evidence shape — the inconsistency this closes.

Changes

  • agentrust-trace dependency >=0.1>=0.4 (the release that adds the platform value)
  • _PROVIDER_MAP: azure-cvm-sev-snpazure-cvm-sev-snp (was amd-sev-snp)
  • verify.py: dispatch on the explicit azure-cvm-sev-snp platform; drop the _is_azure_cvm_evidence envelope-sniff workaround; add azure-cvm-sev-snp to _KNOWN_PLATFORMS
  • CHANGELOG updated

An Azure cMCP claim now reports runtime.platform: azure-cvm-sev-snp, so a consumer keying on runtime.platform sees the root of trust is vTPM-rooted (paravisor model), not a guest-controlled SNP report_data. 72 attestation/verify tests pass against 0.4.0; ruff + mypy clean.

🤖 Generated with Claude Code

…race 0.4)

Azure CVM attestation previously mapped onto the amd-sev-snp platform and was
distinguished at verify time by its evidence envelope, to avoid an
agentrust-trace release. With agentrust-trace 0.4 adding the distinct
azure-cvm-sev-snp platform value, use it directly: a consumer keying on
runtime.platform now sees that the root of trust is vTPM-rooted (paravisor
model), not a guest-controlled SNP report_data.

- bump agentrust-trace dependency to >=0.4
- _PROVIDER_MAP: azure-cvm-sev-snp -> azure-cvm-sev-snp (was amd-sev-snp)
- verify.py: dispatch on the explicit platform; drop the envelope-sniff helper;
  add azure-cvm-sev-snp to _KNOWN_PLATFORMS
- CHANGELOG updated

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@imran-siddique
imran-siddique merged commit a9d100d into main Jul 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant