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 to go-jose v4.0.1 #276

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Update to go-jose v4.0.1 #276

merged 2 commits into from
Apr 1, 2024

Conversation

rturner3
Copy link
Collaborator

There are some breaking changes in v4 that affect go-spiffe code:

  • When parsing a JWS-protected JWT, the caller must now explicitly pass the accepted signature algorithms (corresponding to alg JWS header) into the parsing function.
  • CompactSerialize() was removed in favor of just Serialize(), which has identical behavior.

go-jose v4 updates the minimum Go version requirement to 1.21, which was released 2023-08-08.

v2/go.mod Outdated Show resolved Hide resolved
@rturner3
Copy link
Collaborator Author

rturner3 commented Apr 1, 2024

This PR depends on #277 to be merged first.

There are some breaking changes in v4 that affect go-spiffe code:
- When parsing a JWS-protected JWT, the caller must now explicitly pass
  the accepted signature algorithms (corresponding to `alg` JWS header)
  into the parsing function.
- `CompactSerialize()` was removed in favor of just `Serialize()`, which
  has identical behavior.

go-jose v4 updates the minimum Go version requirement to 1.21, which was
released 2023-08-08.

Signed-off-by: Ryan Turner <turner@uber.com>
@azdagron azdagron merged commit bf6eecf into spiffe:main Apr 1, 2024
6 checks passed
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