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

Refactor to use notation-core-go's SignatureEnvelope #77

Merged
merged 3 commits into from
Jul 12, 2022

Conversation

priteshbandi
Copy link
Contributor

@priteshbandi priteshbandi commented Jul 7, 2022

Change Log

  1. Refactor code to use notation-core-go's SignatureEnvelope
  2. Have removed time-stamping functionality to make this PR more readable. Tracking issue: Reenable timestamping for signing and verification #78

Dependency

  1. Update SignatureProvider to also return certificate chain and other minor changes. notation-core-go#15

Because of dependent changes build will fail. Once dependent PR is approved I will update this PR with updated go.sum.

Signed-off-by: Pritesh Bandi [email protected]

@qmuntal
Copy link
Contributor

qmuntal commented Jul 7, 2022

@priteshbandi this PR is difficult to review because signature/jws files has been moved one level up and Git is not smart enough to detect them as renamed files. Could you leave the directory reorganization for a later PR or split the work in different commits?

@priteshbandi
Copy link
Contributor Author

@qmuntal Updated PR to not move files from signature/jws to signature, will post separate PR for moving files.

@priteshbandi priteshbandi force-pushed the main branch 2 times, most recently from faf962b to 3b5638e Compare July 11, 2022 21:09
signature/plugin.go Outdated Show resolved Hide resolved
signature/plugin.go Outdated Show resolved Hide resolved
signature/plugin.go Outdated Show resolved Hide resolved
signature/plugin.go Outdated Show resolved Hide resolved
signature/plugin.go Outdated Show resolved Hide resolved
signature/plugin.go Show resolved Hide resolved
signature/signer.go Outdated Show resolved Hide resolved
signature/signer.go Show resolved Hide resolved
signature/verifier.go Show resolved Hide resolved
Copy link

@gokarnm gokarnm left a comment

Choose a reason for hiding this comment

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

LGTM! Tracking open issues in #80 .

Pritesh Bandi added 3 commits July 12, 2022 10:35
@priteshbandi
Copy link
Contributor Author

priteshbandi commented Jul 12, 2022

Mistakenly closed while trying to resolving merge conflicts..Reopening

@priteshbandi priteshbandi reopened this Jul 12, 2022
JeyJeyGao pushed a commit to JeyJeyGao/notation-go that referenced this pull request Jul 22, 2022
* Refactor to use notation-core-go's SignatureEnvelope
* move code from signature/jws to signature

Signed-off-by: Pritesh Bandi <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
@dtzar dtzar modified the milestones: RC-1, alpha-3 Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants