Skip to content

Support Launch Measurement Corim (feature-gated)#122

Open
mingweishih wants to merge 11 commits into
microsoft:mainfrom
mingweishih:launch_corim
Open

Support Launch Measurement Corim (feature-gated)#122
mingweishih wants to merge 11 commits into
microsoft:mainfrom
mingweishih:launch_corim

Conversation

@mingweishih
Copy link
Copy Markdown

This PR builds on top of #99 and adds the support of generating Launch Measurement Corim that endorses the launch measurement and maps the measurement to SVN.
The PR also introduces IgvmSeralizer that allows the user to query the launch measurement computed based on IGVM file.

@mingweishih mingweishih requested a review from a team as a code owner May 26, 2026 20:13
Add the corim module that generates and validates CoRIM (Concise
Reference Integrity Manifest) documents for IGVM launch endorsements
per draft-ietf-rats-corim-10.

The crate produces CBOR-encoded, tag-501-wrapped CoRIM documents
containing:
- A reference-values triple with the launch measurement digest
- A conditional-endorsement-series triple mapping the digest to an
  exact SVN (microsoft#6.552)

Supported platforms (via IgvmPlatformType):
- Intel TDX (SHA-384, mkey "MRTD")
- AMD SEV-SNP (SHA-384, mkey "MEASUREMENT")
- Microsoft VBS (SHA-256, mkey "MEASUREMENT")

Key design decisions:
- Self-contained CBOR builder using ciborium::Value (no full corim
  crate dependency)
- Strict profile enforcement: profile URI required, exactly one CoMID,
  CES required, only exact SVN, tag-id verified via UUIDv5
- Profile URI: tag:microsoft.com,2026:igvm-launch-endorsement/v1

Signed-off-by: Ming-Wei Shih <mishih@microsoft.com>
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.

2 participants