Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/maintenance/cis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
that:
- ssh_key_type != 'ed25519'
fail_msg: FIPS policy does not currently support ed25519 SSH keys on RHEL family systems
when: ansible_facts.os_family == 'RedHat'
when: ansible_facts.os_family == 'RedHat' and rhel9cis_crypto_policy == 'FIPS'

- name: Ensure the cron package is installed on ubuntu
ansible.builtin.package:
Expand Down
5 changes: 3 additions & 2 deletions etc/kayobe/inventory/group_vars/cis-hardening/cis
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ rhel9cis_rule_3_4_1_2: false
# Don't configure selinux
rhel9cis_selinux_disable: true

# NOTE: FUTURE breaks wazuh agent repo metadata download
rhel9cis_crypto_policy: FIPS
# NOTE: Using DEFAULT crypto policy. FIPS breaks ed25519 SSH keys, and FUTURE
# breaks wazuh agent repo metadata download.
rhel9cis_crypto_policy: DEFAULT

# Skip package updates
rhel9cis_rule_1_9: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
security:
- |
Updates the default CIS hardening configuration to set
``rhel9cis_crypto_policy`` to ``DEFAULT`` instead of ``FIPS``. This
resolves SSH issues with some modern key types such as ``ed25519``.
Loading