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

fix: update envelope.Payload() logic #44

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

JeyJeyGao
Copy link
Contributor

@JeyJeyGao JeyJeyGao commented Aug 18, 2022

  1. Payload() returns the raw payload context instead of base64 encoded data
  2. move extract algorithm step from Sign() to getSignedAttrs()
  3. wrap the parse error in a MalformedSignatureError

@JeyJeyGao JeyJeyGao force-pushed the junjiegao/add_jws branch 2 times, most recently from 5e87245 to a66f1f5 Compare August 18, 2022 03:14
signature/jws/envelope.go Outdated Show resolved Hide resolved
@JeyJeyGao JeyJeyGao force-pushed the junjiegao/add_jws branch 2 times, most recently from 79a397e to 5b7a5dc Compare August 18, 2022 04:43
Payload() returns the raw payload context instead of base64 encoded data

Signed-off-by: Junjie Gao <43160897+JeyJeyGao@users.noreply.github.com>
@chloeyin chloeyin merged commit e5da201 into notaryproject:cose Aug 18, 2022
JeyJeyGao added a commit to JeyJeyGao/notation-core-go that referenced this pull request Sep 13, 2022
Payload() returns the raw payload context instead of base64 encoded data

Signed-off-by: Junjie Gao <43160897+JeyJeyGao@users.noreply.github.com>

Signed-off-by: Junjie Gao <43160897+JeyJeyGao@users.noreply.github.com>
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