From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id E7E531FF161 for ; Tue, 27 Aug 2024 09:56:04 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 477C71EF4A; Tue, 27 Aug 2024 09:56:31 +0200 (CEST) From: Maximiliano Sandoval To: pbs-devel@lists.proxmox.com Date: Tue, 27 Aug 2024 09:56:27 +0200 Message-Id: <20240827075627.79819-2-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240827075627.79819-1-m.sandoval@proxmox.com> References: <20240827075627.79819-1-m.sandoval@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.108 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 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 0.001 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.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [crypt.rs] Subject: [pbs-devel] [PATCH proxmox 2/2] sys: crypt: use is_some_and X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" U2lnbmVkLW9mZi1ieTogTWF4aW1pbGlhbm8gU2FuZG92YWwgPG0uc2FuZG92YWxAcHJveG1veC5j b20+Ci0tLQogcHJveG1veC1zeXMvc3JjL2NyeXB0LnJzIHwgOSArKysrKysrLS0KIDEgZmlsZSBj aGFuZ2VkLCA3IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvcHJv eG1veC1zeXMvc3JjL2NyeXB0LnJzIGIvcHJveG1veC1zeXMvc3JjL2NyeXB0LnJzCmluZGV4IDU1 NjVkMGQ1Li41ZDg4MjZhOSAxMDA2NDQKLS0tIGEvcHJveG1veC1zeXMvc3JjL2NyeXB0LnJzCisr KyBiL3Byb3htb3gtc3lzL3NyYy9jcnlwdC5ycwpAQCAtNzEsNyArNzEsMTIgQEAgcHViIGZuIGNy eXB0KHBhc3N3b3JkOiAmW3U4XSwgc2FsdDogJlt1OF0pIC0+IFJlc3VsdDxTdHJpbmcsIEVycm9y PiB7CiAgICAgICAgIC8vID4gb3V0cHV0IGZpZWxkIG9mIHRoZWlyIGRhdGEgYXJndW1lbnQsIGFu ZCBjcnlwdCB3cml0ZXMgYW4gaW52YWxpZCBoYXNoIHRvIGl0cyBzdGF0aWMKICAgICAgICAgLy8g PiBzdG9yYWdlIGFyZWEuICBUaGlzIHN0cmluZyB3aWxsIGJlIHNob3J0ZXIgdGhhbiAxMyBjaGFy YWN0ZXJzLCB3aWxsIGJlZ2luIHdpdGggYSDigJgq4oCZLAogICAgICAgICAvLyA+IGFuZCB3aWxs IG5vdCBjb21wYXJlIG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