pgwire: align client cert validation with pg #47403
Labels
A-security
A-sql-pgwire
pgwire protocol issues.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
It so happens that pg also provides fine-grained configuration of how client certs are to be validated:
https://www.postgresql.org/docs/current/auth-pg-hba-conf.html
Today cockroachdb only supports either "nothing" (no cert validation whatsoever) or "verify-full" (via the
cert
auth method). It would be good if pg's other modes could be checked.pg support cert checks in addition to any other auth method. In crdb, cert checks are exclusive with every other method.
cc @aaron-crl
The text was updated successfully, but these errors were encountered: