Skip to content

Commit

Permalink
Merge pull request #12127 from marcusburghardt/anssi_rounds
Browse files Browse the repository at this point in the history
Change default hashing algorithm settings in ANSSI profiles for RHEL
  • Loading branch information
vojtapolasek authored Jul 4, 2024
2 parents 13a5349 + 0effad1 commit f913f5b
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ options:
default: SHA512
SHA512: SHA512
SHA256: SHA256
yescrypt: yescrypt
yescrypt: YESCRYPT
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ documentation_complete: true
title: Password Hashing algorithm

description: |-
Specify the number of SHA rounds for the system password encryption algorithm.
Specify the number of rounds for the system password encryption algorithm.
Defines the value set in <tt>/etc/pam.d/system-auth</tt> and <tt>/etc/pam.d/password-auth</tt>

type: number
Expand Down
2 changes: 2 additions & 0 deletions products/rhel8/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:enhanced
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
- '!timer_logrotate_enabled'
# Following rules once had a prodtype incompatible with the rhel8 product
- '!cracklib_accounts_password_pam_minlen'
Expand Down
2 changes: 2 additions & 0 deletions products/rhel8/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:high
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
# the following rule renders UEFI systems unbootable
- '!sebool_secure_mode_insmod'
- '!timer_logrotate_enabled'
Expand Down
2 changes: 2 additions & 0 deletions products/rhel8/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:intermediary
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
# Following rules once had a prodtype incompatible with the rhel8 product
- '!cracklib_accounts_password_pam_minlen'
- '!accounts_passwords_pam_tally2_deny_root'
Expand Down
2 changes: 2 additions & 0 deletions products/rhel8/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:minimal
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
# Following rules once had a prodtype incompatible with the rhel8 product
- '!cracklib_accounts_password_pam_minlen'
- '!accounts_passwords_pam_tally2_deny_root'
Expand Down
2 changes: 2 additions & 0 deletions products/rhel9/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:enhanced
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
# Following rules once had a prodtype incompatible with the rhel9 product
- '!partition_for_opt'
- '!accounts_passwords_pam_tally2_deny_root'
Expand Down
2 changes: 2 additions & 0 deletions products/rhel9/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:high
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
# the following rule renders UEFI systems unbootable
- '!sebool_secure_mode_insmod'
# Following rules once had a prodtype incompatible with the rhel9 product
Expand Down
2 changes: 2 additions & 0 deletions products/rhel9/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:intermediary
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
# Following rules once had a prodtype incompatible with the rhel9 product
- '!partition_for_opt'
- '!cracklib_accounts_password_pam_minlen'
Expand Down
2 changes: 2 additions & 0 deletions products/rhel9/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ description: |-

selections:
- anssi:all:minimal
- var_password_hashing_algorithm=SHA512
- var_password_pam_unix_rounds=65536
# Following rules once had a prodtype incompatible with the rhel9 product
- '!cracklib_accounts_password_pam_minlen'
- '!accounts_passwords_pam_tally2_deny_root'
Expand Down

0 comments on commit f913f5b

Please sign in to comment.