Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jkl73
Copy link
Contributor

@jkl73 jkl73 commented Feb 19, 2025

merging rtmr branch to main.

cs main image starts to based on cos-tdx-113-lts which will be used for both sev and tdx.

jkl73 and others added 6 commits October 10, 2024 18:37
Allow a TDX machine to create a TD quote and request a hardware
rooted attestation from the attestation verifier.

./launcher ci will now only run in linux.

Upgrade go-sev-guest.

Signed-off-by: Jiankun Lu <[email protected]>
Launcher Attestation Agent now can support multiple Root of Trust.
Extend operation will extend measurements to all RoTs.
Attest will generate quote/report using a technology specific
RoT (like TDX RTMR), and fallback to use TPM if no such technology
specific RoT can be found.

Signed-off-by: Jiankun Lu <[email protected]>
@jkl73
Copy link
Contributor Author

jkl73 commented Feb 19, 2025

/gcbrun


switch v := attResult.(type) {
case *pb.Attestation:
a.logger.Info("attestation through TPM quote")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this log line is extraneous. We already have a log line when we select the avRot.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right, but I'd prefer to have some extra logging here, might be helpful for debugging later once there are more attestation type.

v.CanonicalEventLog = cosCel.Bytes()
req.Attestation = v
case *verifier.TDCCELAttestation:
a.logger.Info("attestation through TDX quote")
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here.

CertChain: certs,
}

if request.Attestation.GetSevSnpAttestation() != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we handling this? If this is for the cmdline, let's go and make those changes to force the cmdline to use the API correctly rather than have this complex logic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The logic is added here b30d373
I think it's for the cmd tool.

I think we currently don't have a seperate API for SNP yet.

We probably need to create seperate PR for this.

verifyReq.TeeAttestation = sevsnp
}

if request.Attestation.GetTdxAttestation() != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment here for TDX: make the cmdline tool use go-tdx-guest directly

@jkl73 jkl73 merged commit 775a60e into google:main Feb 26, 2025
10 of 11 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.

3 participants