STIGUI
V-256532CAT II — Medium severitySV-256532r1268241_rule

The  Photon operating system YUM repository must cryptographically verify the authenticity of all software packages during installation.

Rule version PHTN-30-000061 · STIG v1 · 2026-08-31

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. 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.

Check

At the command line, run the following command:

# 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.

Remove any existing "gpgcheck" setting and add the following line at the end of the file:

gpgcheck=1

Identifiers

Group ID
V-256532
Group title
SRG-OS-000366-GPOS-00153
Rule ID
SV-256532r1268241_rule
Check ID
C-60207r887268_chk
Fix ID
F-60150r887269_fix