commit | 77a3e4bdd53978dbad32f5f95c7144bb727babe4 | [log] [tgz] |
---|---|---|
author | Anil Altinay <aaltinay@google.com> | Fri Aug 06 17:43:54 2021 +0000 |
committer | Anil Altinay <aaltinay@google.com> | Wed Aug 11 18:46:07 2021 +0000 |
tree | b8e85d196745bccf6b820fcbfd3c43cb3c02bd78 | |
parent | d35cf650e254a8c906dc4d5e5a495cd155669a67 [diff] |
alphabet-compliance: Change password hashing algorithm to sha512 BUG=b/196055702 TEST=`cat /etc/pam.d/system-auth | grep sha512` && manual testing RELEASE_NOTE=None Change-Id: I313fd14a1433f6ba1062df8aafba32285058b663 (cherry picked from commit 5f6a18fbb6ac37ad903ba1a06d8625c907b3dd15)
diff --git a/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh b/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh index e7da5fb..4ac3a37 100644 --- a/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh +++ b/alphabet-compliance/scripts/5340-set-password-hashing-algorithm.sh
@@ -14,4 +14,4 @@ # limitations under the License. ## Section: 5.3.4 Ensure password hashing algorithm is SHA-512 (Not Scored) ## -sed -i '/password/s/md5/sha2/' /etc/pam.d/system-auth +sed -i '/password/s/md5/sha512/' /etc/pam.d/system-auth