1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-03 09:13:20 +03:00

Allow plaintext 'password' authentication when user has a SCRAM verifier.

Oversight in the main SCRAM patch.
This commit is contained in:
Heikki Linnakangas
2017-03-17 11:33:27 +02:00
parent ff30aec759
commit c6305a9c57
3 changed files with 87 additions and 22 deletions

View File

@@ -31,5 +31,7 @@ extern char *scram_build_verifier(const char *username,
const char *password,
int iterations);
extern bool is_scram_verifier(const char *verifier);
extern bool scram_verify_plain_password(const char *username,
const char *password, const char *verifier);
#endif /* PG_SCRAM_H */