From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 686AF1FF13A for ; Wed, 22 Jul 2026 16:23:08 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 37E57214CD; Wed, 22 Jul 2026 16:23:08 +0200 (CEST) From: Nicolas Frey To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox-offline-mirror 0/3] use proxmox-pgp crate to replace verifier helper module Date: Wed, 22 Jul 2026 16:22:31 +0200 Message-ID: <20260722142234.309937-1-n.frey@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 AWL -0.525 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) KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 1.274 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 Message-ID-Hash: HN37DHTX3QOK2BT3X3TNU5D646MAQ7DJ X-Message-ID-Hash: HN37DHTX3QOK2BT3X3TNU5D646MAQ7DJ X-MailFrom: nfrey@miso.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 VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: As proxmox-pgp crate is now available, use it here and get rid of the verifier module. Also fixed two lifetime related clippy lints in the first patch. Changes since v1 (thanks @Erik!): * correctly order imports in config.rs * add migration context to the commit message, stating no functional change was intended proxmox-offline-mirror: Nicolas Frey (3): clippy: elide redundant lifetimes use proxmox-pgp crate to replace verifier helper module verifier: remove module Cargo.toml | 1 + src/bin/proxmox-offline-mirror-helper.rs | 2 +- src/config.rs | 33 +---- src/helpers/mod.rs | 3 - src/helpers/verifier.rs | 163 ----------------------- src/medium.rs | 2 +- src/mirror.rs | 7 +- 7 files changed, 7 insertions(+), 204 deletions(-) delete mode 100644 src/helpers/verifier.rs Summary over all repositories: 7 files changed, 7 insertions(+), 204 deletions(-) -- Generated by murpp 0.12.0