STIGUI
V-258864CAT I — High severitySV-258864r1015951_rule

The Photon operating system TDNF package management tool must cryptographically verify the authenticity of all software packages during installation for all repos.

Rule version PHTN-40-000199 · STIG v2 · 2026-08-26

Discussion

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.

Check

At the command line, run the following command to verify software packages are cryptographically verified during installation:

# grep gpgcheck /etc/yum.repos.d/*

If "gpgcheck" is not set to "1" in any returned file, this is a finding.

Fix

Open the file where "gpgcheck" is not set to 1 with a text editor.

Add or update the following line:

gpgcheck=1

Identifiers

Group ID
V-258864
Group title
SRG-OS-000366-GPOS-00153
Rule ID
SV-258864r1015951_rule
Check ID
C-62604r933651_chk
Fix ID
F-62513r933652_fix