From 88c4c41aa33db9a9a8cf0b3133d7e1e26707550c Mon Sep 17 00:00:00 2001 From: desiorac Date: Fri, 13 Nov 2026 16:11:24 +0100 Subject: [PATCH] fix(gate): smoke setup call sends an empty JSON body like smoke_test_prod (bare POST got 403 at the edge) Co-Authored-By: Claude Sonnet 5.5 --- scripts/security_smoke_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/security_smoke_test.py b/scripts/security_smoke_test.py index 350ba85..4bd7b97 100644 --- a/scripts/security_smoke_test.py +++ b/scripts/security_smoke_test.py @@ -110,7 +110,7 @@ def run(base: str, existing_key: str = ""): # free-signup no longer returns a key (address confirmation by email): take an # ephemeral key from the admin smoke setup, swept by the smoke teardown. internal_secret = os.environ.get("TRUST_LAYER_INTERNAL_SECRET", "") - s, r = _request("POST", f"{base}/v1/admin/smoke/setup", + s, r = _request("POST", f"{base}/v1/admin/smoke/setup", body={}, headers={"X-Internal-Secret": internal_secret}) free_key = r.get("free_key", "") if not free_key: