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

Upgrade to go-jose/v4 #272

Closed
wants to merge 1 commit into from
Closed

Upgrade to go-jose/v4 #272

wants to merge 1 commit into from

Conversation

mcpherrinm
Copy link

This upgrades from /v3 to /v4, which had a few breaking changes:

  1. Compact Serialization is now the only supported type, and the method name switched to just Serialize()
  2. ParseSigned takes a list of supported algorithms, building in the supported check
  3. Audience in jwt.Expected was renamed AnyAudience and does an intersection check, matching the jwt spec and expected behavior better

This upgrades from /v3 to /v4, which had a few breaking changes:

1. Compact Serialization is now the only supported type, and the method name switched to just Serialize()
2. ParseSigned takes a list of supported algorithms, building in the supported check
3. Audience in jwt.Expected was renamed AnyAudience and does an intersection check, matching the jwt spec and expected behavior better

Signed-off-by: Matthew McPherrin <[email protected]>
@mcpherrinm
Copy link
Author

Duplicated by #276

@mcpherrinm mcpherrinm closed this Apr 1, 2024
@azdagron
Copy link
Member

azdagron commented Apr 1, 2024

Thanks for opening this, @mcpherrinm! @rturner3 missed this when opening 276 :) Looks like the approaches are almost identical. Appreciate the contrib anyway!

@mcpherrinm
Copy link
Author

If you could cut a new release soon that would be great, so we can update ghostunnel’s go-spiffe to include the upgraded go-jose

@azdagron
Copy link
Member

azdagron commented Apr 1, 2024

Yes, will do. I can cut a new release first thing tomorrow morning.

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