simplib__crypto_policy_state fact does not return user defined crypto policies

Description

RHEL 8 has two locations in which crypto-policies are stored.

  • /etc/crypto-policies/policies/*.pol For user generated custom crypto policies

  • /usr/share/crypto-policies/policies/*.pol For built in systems crypto policies

Presently the simplib__crypto_policy_state fact is only checking system crypto policy directory.

See RHEL documentation. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/security_hardening/using-the-system-wide-cryptographic-policies_security-hardening#creating-and-setting-a-custom-system-wide-cryptographic-policy_using-the-system-wide-cryptographic-policies

Activity

Show:

Details

Components

Assignee

Priority

Reporter

Who's Looking?

Open Who's Looking?

Created January 18, 2024 at 1:07 PM
Updated January 19, 2024 at 11:28 PM
Who's Looking?