Skip to content

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

@Neustradamus
Copy link

Dear @conradludgate,

I have discovered today by chance your PR, one year after, nice, good job! :)

Dear @lib team, @fdr, @otan, @Johnto, @rafiss: Have you seen this PR?

It is solves not fully:

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