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

Update data model with latest notation spec #62

Closed
wants to merge 1 commit into from

Conversation

qmuntal
Copy link
Contributor

@qmuntal qmuntal commented Jun 20, 2022

This PR addresses some comments from previous plugin PRs and updates the data model to the latest version, defined in notaryproject/specifications#158.

The main change is that notation.Payload is now agnostic to the envelope type thanks to the JWS specific claims being generalized and moved to notation.JWSProtectedHeader.

@Wwwsylvia @rgnote @gokarnm

Signed-off-by: qmuntal [email protected]

Signed-off-by: qmuntal <[email protected]>
@qmuntal qmuntal requested a review from a team June 20, 2022 17:49
@gokarnm
Copy link

gokarnm commented Jun 20, 2022

Welcome back @qmuntal !! 😃

@SteveLasker SteveLasker added this to the RC-1 milestone Jul 5, 2022
@gokarnm
Copy link

gokarnm commented Jul 7, 2022

Resolve as duplicate?

  • Signature envelope definition is moved to notation-core-go in this merged PR and has been updated to include recent changes like - expiry, signing time and signing agent.
  • Refactoring of notation-go to use envelope types from notation-core-go and updates to Payload type are addressed in this open PR

@qmuntal @shizhMSFT @priteshbandi

@qmuntal
Copy link
Contributor Author

qmuntal commented Jul 7, 2022

Resolve as duplicate?

  • Signature envelope definition is moved to notation-core-go in this merged PR and has been updated to include recent changes like - expiry, signing time and signing agent.
  • Refactoring of notation-go to use envelope types from notation-core-go and updates to Payload type are addressed in this open PR

@qmuntal @shizhMSFT @priteshbandi

Agree!

@qmuntal qmuntal closed this Jul 7, 2022
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.

3 participants