{"description": " To properly set the permissions of <code>/etc/chrony.keys</code>, run the command: <pre>$ sudo chmod 0640 /etc/chrony.keys</pre>", "rationale": "Setting correct permissions on the /etc/chrony.keys file is important\nbecause this file hosts chrony cryptographic keys. Protection\nof this file is critical for system security. Assigning the correct mode\nensures exclusive control of the chrony cryptographic keys.", "severity": "medium", "references": {"anssi": ["R50"]}, "control_references": {"anssi": ["R50"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/chrony.keys does not have unix mode 0640", "ocil": "To check the permissions of <code>/etc/chrony.keys</code>,\nrun the command:\n<pre>$ ls -l /etc/chrony.keys</pre>\nIf properly configured, the output should indicate the following permissions:\n<code>0640</code>", "oval_external_content": null, "fixtext": " Configure the \"/etc/chrony.keys\" file to \"0640\" by running the following command:\n$ sudo chmod 0640 /etc/chrony.keys", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/chrony.keys file must have mode 0640 or less permissive to prevent unauthorized access.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Verify Permissions On /etc/chrony.keys File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ntp/file_permissions_etc_chrony_keys/rule.yml", "template": {"name": "file_permissions", "vars": {"filepath": "/etc/chrony.keys", "filemode": "0640"}, "backends": {}}}