BaselineWatch
Apply as published
Desk

Linux RHEL-10-001050

DISA STIG RHEL-10-001050 (CAT I): RHEL 10 must have GNU Privacy Guard (GPG) signature verification enabled for all software repositories.

DISA STIG recommends

RHEL-10-001050 CAT I

RHEL 10 must have GNU Privacy Guard (GPG) signature verification enabled for all software repositories.

NIST SP 800-53: CM-14

Check

Verify RHEL 10 software repositories defined in "/etc/yum.repos.d/" have been configured with "gpgcheck" enabled with the following command: $ sudo grep -w gpgcheck /etc/yum.repos.d/*.repo | more gpgcheck = 1 If "gpgcheck" for software packages and repositories is not set to either "1", "true", or "yes" (keywords containing letters are case insensitive), or if the option is missing or commented out, ask the system administrator how the GPG signatures of local software packages are being verified. If no process to verify GPG signatures has been approved by the organization, this is a finding.

Fix

Configure RHEL 10 software repositories defined in "/etc/yum.repos.d/" to have "gpgcheck" enabled with the following command: $ sudo sed -i 's/gpgcheck\s*=.*/gpgcheck=1/g' /etc/yum.repos.d/* Note: Any of the following are acceptable: "1", "true", or "yes" (keywords containing letters are case insensitive).

Our decision

Apply as published

No decision recorded: the recommendation stands. The owner signs in to change it.

All Linux decisions · The Linux baseline · The Linux test plan