Skip to content

Commit f913f5b

Browse files
authored
Merge pull request ComplianceAsCode#12127 from marcusburghardt/anssi_rounds
Change default hashing algorithm settings in ANSSI profiles for RHEL
2 parents 13a5349 + 0effad1 commit f913f5b

File tree

10 files changed

+18
-2
lines changed

10 files changed

+18
-2
lines changed

linux_os/guide/system/accounts/accounts-pam/var_password_hashing_algorithm.var

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ options:
1616
default: SHA512
1717
SHA512: SHA512
1818
SHA256: SHA256
19-
yescrypt: yescrypt
19+
yescrypt: YESCRYPT

linux_os/guide/system/accounts/accounts-restrictions/password_storage/var_password_pam_unix_rounds.var

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ documentation_complete: true
33
title: Password Hashing algorithm
44

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

99
type: number

products/rhel8/profiles/anssi_bp28_enhanced.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:enhanced
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
- '!timer_logrotate_enabled'
2527
# Following rules once had a prodtype incompatible with the rhel8 product
2628
- '!cracklib_accounts_password_pam_minlen'

products/rhel8/profiles/anssi_bp28_high.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:high
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
# the following rule renders UEFI systems unbootable
2527
- '!sebool_secure_mode_insmod'
2628
- '!timer_logrotate_enabled'

products/rhel8/profiles/anssi_bp28_intermediary.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:intermediary
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
# Following rules once had a prodtype incompatible with the rhel8 product
2527
- '!cracklib_accounts_password_pam_minlen'
2628
- '!accounts_passwords_pam_tally2_deny_root'

products/rhel8/profiles/anssi_bp28_minimal.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:minimal
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
# Following rules once had a prodtype incompatible with the rhel8 product
2527
- '!cracklib_accounts_password_pam_minlen'
2628
- '!accounts_passwords_pam_tally2_deny_root'

products/rhel9/profiles/anssi_bp28_enhanced.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:enhanced
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
# Following rules once had a prodtype incompatible with the rhel9 product
2527
- '!partition_for_opt'
2628
- '!accounts_passwords_pam_tally2_deny_root'

products/rhel9/profiles/anssi_bp28_high.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:high
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
# the following rule renders UEFI systems unbootable
2527
- '!sebool_secure_mode_insmod'
2628
# Following rules once had a prodtype incompatible with the rhel9 product

products/rhel9/profiles/anssi_bp28_intermediary.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:intermediary
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
# Following rules once had a prodtype incompatible with the rhel9 product
2527
- '!partition_for_opt'
2628
- '!cracklib_accounts_password_pam_minlen'

products/rhel9/profiles/anssi_bp28_minimal.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ description: |-
2121

2222
selections:
2323
- anssi:all:minimal
24+
- var_password_hashing_algorithm=SHA512
25+
- var_password_pam_unix_rounds=65536
2426
# Following rules once had a prodtype incompatible with the rhel9 product
2527
- '!cracklib_accounts_password_pam_minlen'
2628
- '!accounts_passwords_pam_tally2_deny_root'

0 commit comments

Comments
 (0)