Files
neon/proxy/src
Conrad Ludgate d5304337cf proxy: simplify password validation (#7188)
## Problem

for HTTP/WS/password hack flows we imitate SCRAM to validate passwords.
This code was unnecessarily complicated.

## Summary of changes

Copy in the `pbkdf2` and 'derive keys' steps from the
`postgres_protocol` crate in our `rust-postgres` fork. Derive the
`client_key`, `server_key` and `stored_key` from the password directly.
Use constant time equality to compare the `stored_key` and `server_key`
with the ones we are sent from cplane.
2024-03-21 13:54:06 +00:00
..
2024-03-07 18:23:19 +00:00
2023-11-27 21:45:15 +00:00
2024-02-12 18:41:02 +00:00
2024-03-07 18:23:19 +00:00
2023-12-18 10:59:49 +00:00
2024-01-31 14:51:11 +01:00
2023-11-06 17:44:44 +00:00
2022-07-04 23:46:37 +03:00