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 github.com/go-jose/go-jose and github.com/coreos/go-oidc #1997

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

cfryanr
Copy link
Member

@cfryanr cfryanr commented Jun 20, 2024

Also standardize some related imports and fix some whitespace in a test.

There was one line of code where we still need to use github.com/go-jose/go-jose/v3, so I could not entirely remove it as a direct dependency yet. But it is only used on that one line of code now. All other code uses github.com/go-jose/go-jose/v4.

Upgrading github.com/coreos/go-oidc/v3 to the latest version forced a change to our production code in jwtcachefiller.go (see diffs) because that library did not like our unsigned JWT anymore. I changed it to be a signed JWT to make the library happy. Our functionality should be unchanged, as proved by the unit tests for that file.

Release note:

None, Golang dependency upgrade only.

NONE

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 30.70%. Comparing base (1069931) to head (0380a9c).

Files Patch % Lines
...tiondomain/downstreamsession/downstream_session.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1997      +/-   ##
==========================================
+ Coverage   30.68%   30.70%   +0.02%     
==========================================
  Files         365      365              
  Lines       60617    60616       -1     
==========================================
+ Hits        18600    18615      +15     
+ Misses      41481    41466      -15     
+ Partials      536      535       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Also standardize some related imports and fix some whitespace in a test
@cfryanr cfryanr force-pushed the upgrade_jose_and_coreosoidc branch from a99aa6e to 0380a9c Compare June 21, 2024 18:16
@cfryanr cfryanr merged commit 418ec2a into main Jun 21, 2024
43 checks passed
@cfryanr cfryanr deleted the upgrade_jose_and_coreosoidc branch June 21, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants