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

chore: adding constants defined by notary project spec #234

Closed
wants to merge 2 commits into from

Conversation

Two-Hearts
Copy link
Contributor

@Two-Hearts Two-Hearts commented Oct 8, 2024

Adding constants MediaTypePayloadV1 and AnnotationX509ChainThumbprint to the library as they are defined by notary project spec.

They should be put at types.go of notation-core-go along with other types defined by the spec.

Related issue: notaryproject/notation-go#398.

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.76%. Comparing base (e90546b) to head (dfb2a51).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #234   +/-   ##
=======================================
  Coverage   91.76%   91.76%           
=======================================
  Files          30       30           
  Lines        2065     2065           
=======================================
  Hits         1895     1895           
  Misses        115      115           
  Partials       55       55           

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

@shizhMSFT
Copy link
Contributor

Shouldn't those constants be exported in notation-go?

@Two-Hearts Two-Hearts closed this Oct 8, 2024
@Two-Hearts Two-Hearts deleted the signature branch October 10, 2024 02:09
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.

2 participants