Skip to content

NOISSUE - Remove go-tpm-tools TEE verification#406

Merged
dborovcanin merged 1 commit into
ultravioletrs:mainfrom
danko-miladinovic:cli
Mar 19, 2025
Merged

NOISSUE - Remove go-tpm-tools TEE verification#406
dborovcanin merged 1 commit into
ultravioletrs:mainfrom
danko-miladinovic:cli

Conversation

@danko-miladinovic

Copy link
Copy Markdown
Contributor

What type of PR is this?

This is a refactor because it changes the CLI attestation verification option. The go-tpm-tools library has depricated the TEE verification feature. This PR changes that and uses the go-sev-guest verification functions.

What does this do?

This PR changes that and uses the go-sev-guest verification functions instead of the go-tpm-tools TEE verification in the CLI attestation validate command.

Which issue(s) does this PR fix/relate to?

No issue.

Have you included tests for your changes?

Tests have been updated.

Did you document any new/modified feature?

No need for documentation.

Notes

@codecov

codecov Bot commented Mar 14, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 5.97015% with 63 lines in your changes missing coverage. Please review.

Project coverage is 56.87%. Comparing base (33744a1) to head (a873d12).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
cli/attestation.go 5.97% 61 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #406      +/-   ##
==========================================
+ Coverage   56.67%   56.87%   +0.20%     
==========================================
  Files          59       59              
  Lines        5078     5051      -27     
==========================================
- Hits         2878     2873       -5     
+ Misses       1900     1876      -24     
- Partials      300      302       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dborovcanin dborovcanin merged commit bfaa489 into ultravioletrs:main Mar 19, 2025
@danko-miladinovic danko-miladinovic deleted the cli branch August 8, 2025 15:31
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