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

feat: support tls-server-end-point channel binding for SCRAM-SHA-256 #1181

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

Conversation

conradludgate
Copy link

Postgres supports "channel bindings" for SCRAM-SHA-256 authentication. This prevents certain MITM attacks. This authentication is known as "SCRAM-SHA-256-PLUS".

Postgres supports the "tls-server-end-point" channel binding form which is derived by hashing the raw bytes of the first certificate sent by the server in the TLS handshake.

Postgres also supports "requiring" channel binding. This additionally prevents a MITM sending cleartext the chosen authentication mechanism.

Related to #1145

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.

1 participant