-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fix: migrate signBlob to iamcredentials.googleapis.com" (#563)
Reverts #553 We have received reports that this is breaking users. See internal issue 161506225.
- Loading branch information
1 parent
c497661
commit a48b5b9
Showing
5 changed files
with
10 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,3 @@ pylintrc.test | |
pytype_output/ | ||
|
||
.python-version | ||
.DS_Store | ||
cert_path | ||
key_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -363,11 +363,11 @@ def test_with_target_audience_integration(self): | |
signature = base64.b64encode(b"some-signature").decode("utf-8") | ||
responses.add( | ||
responses.POST, | ||
"https://iamcredentials.googleapis.com/v1/projects/-/" | ||
"serviceAccounts/[email protected]:signBlob?alt=json", | ||
"https://iam.googleapis.com/v1/projects/-/serviceAccounts/" | ||
"[email protected]:signBlob?alt=json", | ||
status=200, | ||
content_type="application/json", | ||
json={"keyId": "some-key-id", "signedBlob": signature}, | ||
json={"keyId": "some-key-id", "signature": signature}, | ||
) | ||
|
||
id_token = "{}.{}.{}".format( | ||
|
@@ -477,11 +477,11 @@ def test_with_quota_project_integration(self): | |
signature = base64.b64encode(b"some-signature").decode("utf-8") | ||
responses.add( | ||
responses.POST, | ||
"https://iamcredentials.googleapis.com/v1/projects/-/" | ||
"serviceAccounts/[email protected]:signBlob?alt=json", | ||
"https://iam.googleapis.com/v1/projects/-/serviceAccounts/" | ||
"[email protected]:signBlob?alt=json", | ||
status=200, | ||
content_type="application/json", | ||
json={"keyId": "some-key-id", "signedBlob": signature}, | ||
json={"keyId": "some-key-id", "signature": signature}, | ||
) | ||
|
||
id_token = "{}.{}.{}".format( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters