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 8AEB91FF15C for ; Wed, 30 Oct 2024 13:51:45 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2E3D81852B; Wed, 30 Oct 2024 13:51:49 +0100 (CET) Date: Wed, 30 Oct 2024 13:51:13 +0100 (CET) From: =?UTF-8?Q?Fabian_Gr=C3=BCnbichler?= To: Proxmox VE development discussion , Maximiliano Sandoval Message-ID: <991386869.5117.1730292673558@webmail.proxmox.com> In-Reply-To: <20241030121844.226245-1-m.sandoval@proxmox.com> References: <20241030121844.226245-1-m.sandoval@proxmox.com> MIME-Version: 1.0 X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev69 X-Originating-Client: open-xchange-appsuite X-SPAM-LEVEL: Spam detection results: 0 AWL 0.049 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH manager 1/2] api: nodes: index: specify the type of SSL certificate X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" see my comments to the pmg-api patch(es).. > Maximiliano Sandoval hat am 30.10.2024 13:18 CET geschrieben: > > > The function internally calls > PVE::Certificate::get_certificate_fingerprint which in turn calls: > > ``` > my $fp = Net::SSLeay::X509_get_fingerprint($cert, 'sha256'); > ``` > > Signed-off-by: Maximiliano Sandoval > --- > PVE/API2/Nodes.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm > index e8ff6dd9..1db148af 100644 > --- a/PVE/API2/Nodes.pm > +++ b/PVE/API2/Nodes.pm > @@ -2567,7 +2567,7 @@ __PACKAGE__->register_method ({ > renderer => 'duration', > }, > ssl_fingerprint => { > - description => "The SSL fingerprint for the node certificate.", > + description => "The SSL SHA-256 fingerprint for the node certificate.", > type => 'string', > optional => 1, > }, > -- > 2.39.5 > > > > _______________________________________________ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel