]> xenbits.xensource.com Git - libvirt.git/commit
tools: reimplement virt-pki-validate in C
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 7 Jun 2024 10:27:10 +0000 (11:27 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 11 Jun 2024 11:50:23 +0000 (12:50 +0100)
commit8e97fd418195a9a510e54010a015169fbed280ae
tree5e0e200383360b31080c8ed98d73a8f9c6866140
parent3faa78d98d9fdce2de95c7d4bd5d6f67c2d27b63
tools: reimplement virt-pki-validate in C

The virt-pki-validate tool is currently a shell script. We have a
general goal of eliminating use of shell in the project. By doing a
new implementation in C, we can also make use of our more thorough
sanity checking code to validate the certificate setup.

This new implementation the same output format as the host validation
tool for a more consistent user experiance.

It also eliminates the requirement to have certtool installed on
libvirt hosts, which has been an issue for Fedora flatpak packages
since certtool isn't in the default platform runtime.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/manpages/virt-pki-validate.rst
libvirt.spec.in
po/POTFILES
tools/meson.build
tools/virt-pki-validate.c [new file with mode: 0644]
tools/virt-pki-validate.in [deleted file]