pvenode: add public key size & type to cert info

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
(cherry picked from commit ee3fd393c4721b6c68d7adb47bb498976235d82f)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Alwin Antreich 2019-07-22 17:11:39 +02:00 committed by Thomas Lamprecht
parent 3103cd9a41
commit c6966f357b

View 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 });
};