pgsql: Fix detection of passwords hashed with MD5

2019-04-23 Thread Michael Paquier
Fix detection of passwords hashed with MD5 This commit fixes an issue related to the way password verifiers hashed with MD5 are detected, leading to possibly detect that plain passwords are legit MD5 hashes. A MD5-hashed entry was checked based on if its header uses "md5" and if the string length

pgsql: Fix detection of passwords hashed with MD5

2019-04-23 Thread Michael Paquier
Fix detection of passwords hashed with MD5 This commit fixes an issue related to the way password verifiers hashed with MD5 are detected, leading to possibly detect that plain passwords are legit MD5 hashes. A MD5-hashed entry was checked based on if its header uses "md5" and if the string length

pgsql: Fix detection of passwords hashed with MD5

2019-04-23 Thread Michael Paquier
Fix detection of passwords hashed with MD5 This commit fixes an issue related to the way password verifiers hashed with MD5 are detected, leading to possibly detect that plain passwords are legit MD5 hashes. A MD5-hashed entry was checked based on if its header uses "md5" and if the string length

pgsql: Fix detection of passwords hashed with MD5 or SCRAM-SHA-256

2019-04-22 Thread Michael Paquier
Fix detection of passwords hashed with MD5 or SCRAM-SHA-256 This commit fixes a couple of issues related to the way password verifiers hashed with MD5 or SCRAM-SHA-256 are detected, leading to being able to store in catalogs passwords which do not follow the supported hash formats: - A MD5-hashed

pgsql: Fix detection of passwords hashed with MD5 or SCRAM-SHA-256

2019-04-22 Thread Michael Paquier
Fix detection of passwords hashed with MD5 or SCRAM-SHA-256 This commit fixes a couple of issues related to the way password verifiers hashed with MD5 or SCRAM-SHA-256 are detected, leading to being able to store in catalogs passwords which do not follow the supported hash formats: - A MD5-hashed

pgsql: Fix detection of passwords hashed with MD5 or SCRAM-SHA-256

2019-04-22 Thread Michael Paquier
Fix detection of passwords hashed with MD5 or SCRAM-SHA-256 This commit fixes a couple of issues related to the way password verifiers hashed with MD5 or SCRAM-SHA-256 are detected, leading to being able to store in catalogs passwords which do not follow the supported hash formats: - A MD5-hashed