-
Notifications
You must be signed in to change notification settings - Fork 382
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(storage): scopes should disable self-signed JWTs #10369
fix(storage): scopes should disable self-signed JWTs #10369
Conversation
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
Codecov ReportBase: 93.86% // Head: 93.86% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #10369 +/- ##
==========================================
- Coverage 93.86% 93.86% -0.01%
==========================================
Files 1600 1600
Lines 145421 145412 -9
==========================================
- Hits 136504 136492 -12
- Misses 8917 8920 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
4769779
to
c8afd89
Compare
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
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.
Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @coryan)
google/cloud/storage/oauth2/service_account_credentials.cc
line 137 at r1 (raw file):
// Storage has more stringent requirements w.r.t. self-signed JWTs // than most services (which the base class // Disable them in the implementation class
Either some formatting or wording is off in this comment block.
Code quote:
// Storage has more stringent requirements w.r.t. self-signed JWTs
// than most services (which the base class
// Disable them in the implementation class
The storage service does not support self-signed JWTs with scopes. With this change, self-signed JWTs will be automatically disabled when using the legacy `storage::oauth2::Credentials`.
c8afd89
to
57d0432
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.
Reviewable status: 4 of 6 files reviewed, all discussions resolved (waiting on @scotthart)
google/cloud/storage/oauth2/service_account_credentials.cc
line 137 at r1 (raw file):
Previously, scotthart (Scott Hart) wrote…
Either some formatting or wording is off in this comment block.
Fixed I think, PTAL.
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
The storage service does not support self-signed JWTs with scopes. With this change, self-signed JWTs will be automatically disabled when using the legacy
storage::oauth2::Credentials
.This change is