From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id BD89B1FF142 for ; Mon, 02 Mar 2026 14:44:39 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C900333FFC; Mon, 2 Mar 2026 14:45:41 +0100 (CET) From: Lukas Sichert To: pdm-devel@lists.proxmox.com Subject: [PATCH proxmox 1/4] fix #7315: generate: add support for new certificate variant Date: Mon, 2 Mar 2026 14:45:34 +0100 Message-ID: <20260302134537.108696-2-l.sichert@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260302134537.108696-1-l.sichert@proxmox.com> References: <20260302134537.108696-1-l.sichert@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 2 AWL -2.242 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.012 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 1.188 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.93 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record URIBL_BLACK 3 Contains an URL listed in the URIBL blacklist [types.rs] Message-ID-Hash: J6VHIKFNLDR2WRRYJPBTUGIEUYORWT2X X-Message-ID-Hash: J6VHIKFNLDR2WRRYJPBTUGIEUYORWT2X X-MailFrom: lsichert@pve.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 CC: Lukas Sichert 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: Since the last time the types.rs has been generated a new Windows certificate variant was added. As no mapping for this variant to a rust enum exits, generating the types fails. To add support for this variant, add a mapping from the Perl definition to a Rust enum. Signed-off-by: Lukas Sichert --- pve-api-types/generate.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/pve-api-types/generate.pl b/pve-api-types/generate.pl index e5c5d051..ba732e9d 100755 --- a/pve-api-types/generate.pl +++ b/pve-api-types/generate.pl @@ -94,6 +94,7 @@ Schema2Rust::register_enum_variant('QemuConfigEfidisk0Efitype::2m' => 'Mb2'); Schema2Rust::register_enum_variant('QemuConfigEfidisk0Efitype::4m' => 'Mb4'); Schema2Rust::register_enum_variant('QemuConfigEfidisk0MsCert::2011' => 'CA2011'); Schema2Rust::register_enum_variant('QemuConfigEfidisk0MsCert::2023' => 'CA2023'); +Schema2Rust::register_enum_variant('QemuConfigEfidisk0MsCert::2023w' => 'CA2023w'); Schema2Rust::register_enum_variant('QemuConfigHugepages::2' => 'Mb2'); Schema2Rust::register_enum_variant('QemuConfigHugepages::1024' => 'Mb1024'); Schema2Rust::register_enum_variant('PveQmRngSource::/dev/urandom', => 'DevUrandom'); -- 2.47.3