Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COCOS-363 - Add verification of vTPM attestation to CLI #363

Merged
merged 3 commits into from
Feb 11, 2025
Merged

Conversation

dorcaslitunya
Copy link
Contributor

What type of PR is this?

What does this do?

CLI attestation changes

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

Issue #352

Have you included tests for your changes?

No, draft PR.

Did you document any new/modified feature?

Yes

Notes

@dorcaslitunya dorcaslitunya changed the title [Draft]CLI attestation changes CLI attestation changes Jan 31, 2025
@dorcaslitunya dorcaslitunya force-pushed the dorcDev branch 3 times, most recently from 0b69276 to 80a2edf Compare February 5, 2025 10:54
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

Attention: Patch coverage is 22.98387% with 191 lines in your changes missing coverage. Please review.

Project coverage is 59.51%. Comparing base (3e99214) to head (06938c4).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
cli/attestation.go 22.98% 183 Missing and 8 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #363      +/-   ##
==========================================
- Coverage   61.06%   59.51%   -1.56%     
==========================================
  Files          54       54              
  Lines        4371     4574     +203     
==========================================
+ Hits         2669     2722      +53     
- Misses       1422     1567     +145     
- Partials      280      285       +5     

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

@dorcaslitunya dorcaslitunya changed the title CLI attestation changes COCOS 363 - CLI attestation changes Feb 5, 2025
@dorcaslitunya dorcaslitunya changed the title COCOS 363 - CLI attestation changes COCOS - 363 - CLI attestation changes Feb 5, 2025
@SammyOina SammyOina changed the title COCOS - 363 - CLI attestation changes COCOS-363 - Add verification of vTPM attestation to CLI Feb 7, 2025
Copy link
Contributor

@SammyOina SammyOina left a comment

Choose a reason for hiding this comment

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

image

help menu is shown when validation fails, also error message appears twice

CLI attestation changes

Add all modes to CLI changes updates

Remove old attestation validateion command

Make updates based on PR reviews

Disable depreciated linter

Linter fixes

Resolve conflicts

resolve go.mod errors

Use previous version of go-sev-guest

Modify tests

Remove tdx attestation

Fix error messages printing

Add tests

Fix CI failures

Do proper error handling
@dborovcanin dborovcanin merged commit bb0ad29 into main Feb 11, 2025
1 of 3 checks passed
@dborovcanin dborovcanin deleted the dorcDev branch February 11, 2025 20:08
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.

Feature: Add CLI option for verifying the vTPM attestation.
4 participants