-
Notifications
You must be signed in to change notification settings - Fork 29
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: JWS for signature package #76
Conversation
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
197e83e
to
cf01889
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few nit picks otherwise LGTM
Signed-off-by: Junjie Gao <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Junjie Gao <[email protected]>
* Bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 (#14) Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.1 to 4.4.2. - [Release notes](https://github.com/golang-jwt/jwt/releases) - [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md) - [Commits](golang-jwt/jwt@v4.4.1...v4.4.2) --- updated-dependencies: - dependency-name: github.com/golang-jwt/jwt/v4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * refactor: refactor envelope and signer to support cose (#53) Signed-off-by: Binbin Li <[email protected]> * Revert "refactor: refactor envelope and signer to support cose (#53)" (#67) This reverts commit cbea2cf. Signed-off-by: Shiwei Zhang <[email protected]> * update to go 1.18 (#66) Signed-off-by: Junjie Gao <[email protected]> * refactor: rename signer to signature submodule (#71) Signed-off-by: Binbin Li <[email protected]> * refactor: refactor envelope and signer to support cose (#73) Signed-off-by: Binbin Li <[email protected]> * feat: added COSE envelope implementation Signed-off-by: Patrick Zheng <[email protected]> * update per code review Signed-off-by: Patrick Zheng <[email protected]> * update per code review Signed-off-by: Patrick Zheng <[email protected]> * update per code review Signed-off-by: Patrick Zheng <[email protected]> * resolve conflicts Signed-off-by: Patrick Zheng <[email protected]> * updated conformance test Signed-off-by: Patrick Zheng <[email protected]> * refactor: JWS for signature package (#76) Signed-off-by: Junjie Gao <[email protected]> * refactor: rename signer to signature submodule (#71) Signed-off-by: Binbin Li <[email protected]> * refactor: refactor envelope and signer to support cose (#73) Signed-off-by: Binbin Li <[email protected]> * refactor: JWS for signature package (#76) Signed-off-by: Junjie Gao <[email protected]> * Allows signing with self-signed certificate (#77) Signed-off-by: Pritesh Bandi <[email protected]> * updated conformance_test Signed-off-by: Patrick Zheng <[email protected]> * refactor: refactor comments (#78) Signed-off-by: Binbin Li <[email protected]> * updated per code review Signed-off-by: Patrick Zheng <[email protected]> * updated per code review Signed-off-by: Patrick Zheng <[email protected]> * removed CLI related maps, they should be in notation CLI Signed-off-by: Patrick Zheng <[email protected]> * resolved conflicts Signed-off-by: Patrick Zheng <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Binbin Li <[email protected]> Signed-off-by: Shiwei Zhang <[email protected]> Signed-off-by: Junjie Gao <[email protected]> Signed-off-by: Patrick Zheng <[email protected]> Signed-off-by: Pritesh Bandi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Binbin Li <[email protected]> Co-authored-by: Shiwei Zhang <[email protected]> Co-authored-by: Junjie Gao <[email protected]> Co-authored-by: Binbin Li <[email protected]> Co-authored-by: Junjie Gao <[email protected]> Co-authored-by: Pritesh Bandi <[email protected]>
This PR refactors the JWS implementation to support the new signature package.
JWS Sign
implementation was replaced by JWT SignJWS verify
used JWT package built-in steps to select SigningMethodSigned-off-by: Junjie Gao [email protected]