[pve-devel] [PATCH manager 2/3] pvenode: add public key size & type to cert info

Alwin Antreich a.antreich at proxmox.com
Mon Jul 22 17:11:39 CEST 2019


Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
 PVE/CLI/pvenode.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/CLI/pvenode.pm b/PVE/CLI/pvenode.pm
index 1989e8b3..fd3cf52d 100644
--- a/PVE/CLI/pvenode.pm
+++ b/PVE/CLI/pvenode.pm
@@ -123,7 +123,7 @@ __PACKAGE__->register_method({
 my $print_cert_info = sub {
     my ($schema, $cert, $options) = @_;
 
-    my $order = [qw(filename fingerprint subject issuer notbefore notafter san)];
+    my $order = [qw(filename fingerprint subject issuer notbefore notafter public-key-type public-key-bits san)];
     PVE::CLIFormatter::print_api_result(
 	$cert, $schema, $order, { %$options, noheader => 1, sort_key => 0 });
 };
-- 
2.20.1





More information about the pve-devel mailing list