Services and User Management
An administrator downloads vendor-tool.rpm from a vendor's website. The vendor's public GPG key has already been imported into the RPM database. Which command verifies the package's digest and signature before it is installed?
Show the answer
Correct answerC. rpm -K vendor-tool.rpm
rpm -K (--checksig) checks the digests and GPG signature of a package file against the imported keys. rpm -V is tempting, but it compares files of an already installed package against the RPM database and does not check a downloaded file's signature.