Skip to content

feat: Implements VerifyBlob functionality#394

Merged
priteshbandi merged 55 commits intonotaryproject:mainfrom
priteshbandi:BlobVerify
Jun 27, 2024
Merged

feat: Implements VerifyBlob functionality#394
priteshbandi merged 55 commits intonotaryproject:mainfrom
priteshbandi:BlobVerify

Conversation

@priteshbandi
Copy link
Copy Markdown
Contributor

@priteshbandi priteshbandi commented Apr 2, 2024

priteshbandi and others added 7 commits April 2, 2024 09:52
…quest (notaryproject#390)

Add contract version to plugin sign request and plugin verify request.
As per [specification](https://github.com/notaryproject/specifications/blob/main/specs/plugin-extensibility.md) `contractVersion` is a mandatory field.

Signed-off-by: Pritesh Bandi <[email protected]>
bumping up oras-go to v2.5.0 along with golang version to v1.21.

Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
@priteshbandi priteshbandi marked this pull request as ready for review April 2, 2024 18:11
Signed-off-by: Pritesh Bandi <[email protected]>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 2, 2024

Codecov Report

Attention: Patch coverage is 85.05747% with 52 lines in your changes missing coverage. Please review.

Project coverage is 80.29%. Comparing base (9ff1891) to head (e201168).
Report is 24 commits behind head on main.

Files Patch % Lines
verifier/verifier.go 71.90% 25 Missing and 9 partials ⚠️
verifier/trustpolicy/oci.go 90.00% 5 Missing and 4 partials ⚠️
verifier/trustpolicy/trustpolicy.go 92.72% 3 Missing and 1 partial ⚠️
verifier/trustpolicy/blob.go 93.61% 2 Missing and 1 partial ⚠️
notation.go 93.75% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #394      +/-   ##
==========================================
+ Coverage   73.43%   80.29%   +6.86%     
==========================================
  Files          24       33       +9     
  Lines        2507     2340     -167     
==========================================
+ Hits         1841     1879      +38     
+ Misses        526      324     -202     
+ Partials      140      137       -3     

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

Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
priteshbandi and others added 8 commits June 23, 2024 22:06
Co-authored-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Co-authored-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Co-authored-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Co-authored-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
@priteshbandi priteshbandi requested review from a user and rgnote June 25, 2024 06:34
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Overall LGTM, with a few suggestions left.

priteshbandi and others added 4 commits June 26, 2024 22:19
Co-authored-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Co-authored-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Co-authored-by: Junjie Gao <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
ghost
ghost previously approved these changes Jun 27, 2024
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

LGTM with unit tests fixed.

Signed-off-by: Pritesh Bandi <[email protected]>
@priteshbandi priteshbandi requested review from a user and JeyJeyGao June 27, 2024 06:20
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

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

LGTM with a nit

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.

4 participants