channel binding (#5683)

## Problem

channel binding protects scram from sophisticated MITM attacks where the
attacker is able to produce 'valid' TLS certificates.

## Summary of changes

get the tls-server-end-point channel binding, and verify it is correct
for the SCRAM-SHA-256-PLUS authentication flow
This commit is contained in:
Conrad Ludgate
2023-11-27 21:45:15 +00:00
committed by GitHub
parent e09bb9974c
commit 316309c85b
15 changed files with 601 additions and 137 deletions

View File

@@ -76,3 +76,4 @@ tokio-util.workspace = true
rcgen.workspace = true
rstest.workspace = true
tokio-postgres-rustls.workspace = true
postgres-protocol.workspace = true