mirror of
https://github.com/floci-io/floci.git
synced 2026-12-05 02:58:00 -05:00
* feat(dsql): answer a PostgreSQL server's password challenge * refactor(dsql): move BackendAuthenticator beside PostgresWire * test(dsql): run the AuthenticationOk checks over both SCRAM modes * fix(dsql): refuse an empty SCRAM salt * fix(dsql): refuse a SCRAM mandatory extension and repeated attributes * fix(dsql): refuse a password request once the authentication started * fix(dsql): allow one SASL exchange per connection * fix(dsql): require the server nonce to extend the client nonce * fix(dsql): bound the SCRAM messages and salt a backend sends * fix(dsql): prepare a SCRAM password with SASLprep as PostgreSQL does * refactor(rds): log the proxy in to its backend through BackendAuthenticator * fix(dsql): check a SCRAM password before NFKC, as PostgreSQL does * test(rds): take the mock MD5 backend's expected answer from BackendAuthenticator