]> git.proxmox.com Git - pve-manager.git/commitdiff
pvenode: add public key size & type to cert info
authorAlwin Antreich <a.antreich@proxmox.com>
Mon, 22 Jul 2019 15:11:39 +0000 (17:11 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Jul 2019 07:29:48 +0000 (09:29 +0200)
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
(cherry picked from commit ee3fd393c4721b6c68d7adb47bb498976235d82f)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pvenode.pm

index 1989e8b34e97a32ed206d56b4d81fcb1305564ef..fd3cf52d47dba806c989d94e18cab26267f58a99 100644 (file)
@@ -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 });
 };