pvenode: add public key size & type to cert info

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
Alwin Antreich 2019-07-22 17:11:39 +02:00 committed by Thomas Lamprecht
parent e81645f5de
commit 64d97bfaa9

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