Rule version PHTN-30-000060 · STIG v1 · 2026-08-31
Installation of any nontrusted software, patches, service packs, device drivers, or operating system components can significantly affect the overall security of the operating system. Cryptographically verifying the authenticity of all software packages during installation ensures the software has not been tampered with and has been provided by a trusted vendor.
At the command line, run the following command:
# grep "^gpgcheck" /etc/tdnf/tdnf.conf
If "gpgcheck" is not set to "1", this is a finding.
Navigate to and open:
/etc/tdnf/tdnf.conf
Remove any existing "gpgcheck" setting and add the following line:
gpgcheck=1