]> 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>
Tue, 23 Jul 2019 06:16:55 +0000 (08:16 +0200)
Signed-off-by: Alwin Antreich <a.antreich@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 });
 };