From 5f12e9e2a307a09dfcfcd474dd39fcab3f432058 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Mon, 21 Sep 2026 22:23:51 -0500 Subject: [PATCH] fix(gitops): use raw-request-body in webhook config for exact HMAC verification --- nixos/modules/homeserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/homeserver.nix b/nixos/modules/homeserver.nix index f992a28..48a3407 100644 --- a/nixos/modules/homeserver.nix +++ b/nixos/modules/homeserver.nix @@ -79,7 +79,7 @@ id = "deploy"; execute-command = "/home/kiskaadee/Core/scripts/gitops_dispatcher.py"; pass-arguments-to-command = [ - { source = "entire-payload"; } + { source = "raw-request-body"; } { source = "header"; name = "X-Gitea-Signature"; } { source = "header"; name = "X-Gitea-Event"; } ];