From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id D078F1FF09F for ; Thu, 17 Sep 2026 10:20:38 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 2F90D21412; Thu, 17 Sep 2026 10:20:37 +0200 (CEST) From: Wolfgang Bumiller To: pbs-devel@lists.proxmox.com, pdm-devel@lists.proxmox.com, Dominik Csapak Subject: applied-series: [PATCH proxmox v3 0/2] check privilege paths during compilation Date: Thu, 17 Sep 2026 10:20:26 +0200 Message-ID: <178963320371.79104.11687296456597902729.b4-ty@b4> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260914123243.3216993-1-d.csapak@proxmox.com> References: <20260914123243.3216993-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1789633231864 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.788 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: NFWD2FSMQVKK7XBPHJUKTBPD4ZVFYFNU X-Message-ID-Hash: NFWD2FSMQVKK7XBPHJUKTBPD4ZVFYFNU X-MailFrom: w.bumiller@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, 14 Sep 2026 14:30:43 +0200, Dominik Csapak wrote: > This adds a check in proxmox-router to check the used parameter interpolations > in the privilege paths of api calls for existence. > > changes from v2: > * rebase on master > * drop applied patch > * correctly check strings that are smaller than 3 characters > * also check UserParam and WithParam parameter for existence > * factor out byte slice compare check from proxmox-schema and use that > * add more tests > > [...] Applied, thanks! [1/2] add proxmox-const-utils crate, factor out checks from proxmox-schema commit: 59abfb4cd82e13d9ed141faa1fc11deaff482bcf [2/2] router: compile time check privilege path parameters for existence commit: 6692f32769d2783e909ba90be257ef123262ec68