Skip to content

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

Merged
dborovcanin merged 3 commits into
mainfrom
dorcDev
Feb 11, 2025
Merged

COCOS-363 - Add verification of vTPM attestation to CLI#363
dborovcanin merged 3 commits into
mainfrom
dorcDev

Conversation

@dorcaslitunya

Copy link
Copy Markdown
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
Comment thread cli/attestation.go Outdated
Comment thread cli/attestation.go Outdated
Comment thread cli/attestation.go Outdated
Comment thread go.mod
@dorcaslitunya dorcaslitunya force-pushed the dorcDev branch 3 times, most recently from 0b69276 to 80a2edf Compare February 5, 2025 10:54
Comment thread cli/attestation.go Outdated
@codecov

codecov Bot commented Feb 5, 2025

Copy link
Copy Markdown

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

@SammyOina SammyOina left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread cli/attestation.go Outdated
Comment thread cli/attestation.go Outdated
Comment thread cli/attestation.go Outdated
Comment thread cli/attestation.go Outdated
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
Comment thread cli/attestation.go Outdated
@dborovcanin dborovcanin merged commit bb0ad29 into main Feb 11, 2025
@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