notaryproject / notation-go

A collection of libraries for supporting sign and verify OCI artifacts. Based on Notary Project specifications.
Apache License 2.0
39 stars 42 forks source link

fix: added digest check on verify #313

Closed Two-Hearts closed 1 year ago

Two-Hearts commented 1 year ago

This PR adds digest check on verify.

codecov-commenter commented 1 year ago

Codecov Report

Merging #313 (cabcff3) into main (7de640b) will increase coverage by 0.02%. The diff coverage is 50.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #313      +/-   ##
==========================================
+ Coverage   74.39%   74.41%   +0.02%     
==========================================
  Files          23       23              
  Lines        2175     2177       +2     
==========================================
+ Hits         1618     1620       +2     
+ Misses        439      438       -1     
- Partials      118      119       +1     
Impacted Files Coverage Δ
notation.go 60.74% <50.00%> (+0.37%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more