Skip to content

Measure GPU attestation evidence into RTMR with a new CEL event#659

Open
Sibcgh wants to merge 2 commits intogoogle:mainfrom
Sibcgh:gpu_rtmr_cel_event
Open

Measure GPU attestation evidence into RTMR with a new CEL event#659
Sibcgh wants to merge 2 commits intogoogle:mainfrom
Sibcgh:gpu_rtmr_cel_event

Conversation

@Sibcgh
Copy link
Collaborator

@Sibcgh Sibcgh commented Feb 12, 2026

Binding GPU measurements into RTMR. Measurements need to completed before GPU is in ready state to avoid malicious GPU workload from potentially tampering with GPU measurements before CPU can adds measurements into RTMR.

@Sibcgh Sibcgh marked this pull request as draft February 12, 2026 18:49
@Sibcgh Sibcgh force-pushed the gpu_rtmr_cel_event branch 5 times, most recently from 6ada49a to ce039d9 Compare February 13, 2026 21:49
@Sibcgh Sibcgh closed this Feb 13, 2026
@Sibcgh Sibcgh force-pushed the gpu_rtmr_cel_event branch from 9790cba to 3b011bd Compare February 13, 2026 21:53
@Sibcgh Sibcgh reopened this Feb 13, 2026
@Sibcgh Sibcgh force-pushed the gpu_rtmr_cel_event branch 3 times, most recently from b152413 to d4fd8b4 Compare February 13, 2026 23:17
@Sibcgh Sibcgh marked this pull request as ready for review February 13, 2026 23:33
@Sibcgh
Copy link
Collaborator Author

Sibcgh commented Feb 13, 2026

/gcbrun

1 similar comment
@Sibcgh
Copy link
Collaborator Author

Sibcgh commented Feb 13, 2026

/gcbrun

@Sibcgh Sibcgh requested review from alexmwu and yawangwang February 13, 2026 23:36
// measureGPUAttestationEvidence will measure GPU attestation claims into the COS
// eventlog in the AttestationAgent.
func (r *ContainerRunner) measureGPUAttestationEvidence() error {
if err := r.attestAgent.MeasureEvent(cel.CosTlv{EventType: cel.GPUDeviceAttestationBindingType, EventContent: []byte{}}); err != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's define the GPU evidence data structure first because this PR seems to depend on it.

The GPU evidence will be collected first, translated into the known data structure in launcher/teeserver/models/attestation.go, and then serialized as JSON bytes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#664 Draft PR for that change

@Sibcgh Sibcgh enabled auto-merge (squash) February 17, 2026 18:19
@Sibcgh Sibcgh disabled auto-merge February 17, 2026 18:19
@Sibcgh Sibcgh enabled auto-merge (squash) February 17, 2026 18:19
@Sibcgh Sibcgh requested review from jkl73 and removed request for alexmwu February 23, 2026 21:43
@Sibcgh Sibcgh force-pushed the gpu_rtmr_cel_event branch from d4fd8b4 to ac3710b Compare February 24, 2026 19:33
@Sibcgh
Copy link
Collaborator Author

Sibcgh commented Feb 24, 2026

/gcbrun

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