Rule version PHTN-40-000130 · STIG v2 · 2026-08-26
Installation of any nontrusted software, patches, service packs, device drivers, or operating system components can significantly affect the overall security of the operating system. This requirement ensures the software has not been tampered with and has been provided by a trusted vendor.
At the command line, run the following command to verify software packages are cryptographically verified during installation:
# grep '^gpgcheck' /etc/tdnf/tdnf.conf
Example result:
gpgcheck=1
If "gpgcheck" is not set to "true", "1", or "yes", this is a finding.
Navigate to and open:
/etc/tdnf/tdnf.conf
Add or update the following line:
gpgcheck=1