Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passwords stored as SCRAM-SHA-256 #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johanfleury
Copy link

This allows passing the password as plain text, a md5 hash or a
SCRAM-SHA-256 hash. The password will be compared to whatever hash is
stored in Postgres and updated accordingly.

The SCRAM-SHA-256 hash algorithm for password storage was introduced in
Postgres version 10 and made the default in Postgres version 14.

This allows passing the password as plain text, a md5 hash or a
SCRAM-SHA-256 hash. The password will be compared to whatever hash is
stored in Postgres and updated accordingly.

The SCRAM-SHA-256 hash algorithm for password storage was introduced in
Postgres version 10 and made the default in Postgres version 14.
@CLAassistant
Copy link

CLAassistant commented Sep 2, 2022

CLA assistant check
All committers have signed the CLA.

@johanfleury johanfleury force-pushed the feature/support-scram-sha-256-passwords branch 2 times, most recently from 87f5f37 to 2c66ca1 Compare September 6, 2022 14:38
@johanfleury
Copy link
Author

I had to drop support for Python 2 and upgrade to 3.7 to support hmac.digest.

@johanfleury johanfleury force-pushed the feature/support-scram-sha-256-passwords branch 4 times, most recently from 32164e9 to f6b4cc4 Compare September 6, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants