From 2b2f21deeae4941a0fc447d1f0f355bf03b60284 Mon Sep 17 00:00:00 2001 From: subh Date: Fri, 13 Feb 2026 12:59:02 +0530 Subject: added the 'sub' field to the claim set --- signedblob-privesc.py | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3