You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Support transport encryption using GSSAPI #1322
Hi @jackhill , I'm interested in working on this. Before I start, a few scoping questions:
Would you accept a PR adding a gssencmode option (disable / prefer / require)?
The main work is the GSSENCRequest handshake plus a transport wrapper that does GSS wrap/unwrap, since there's no start_tls equivalent. Does that approach fit how you'd want it structured?
Tests would need a Kerberos KDC. Would you prefer those gated behind an optional marker/CI job, or kept out of the default suite?
Should prefer be the default as in libpq, or should it start opt-in to avoid changing existing behavior?
Happy to start with a design sketch if that's easier to review first.
Activity
mayankdas2005 commentedon Oct 8, 2026
Hi @jackhill , I'm interested in working on this. Before I start, a few scoping questions:
Would you accept a PR adding a gssencmode option (disable / prefer / require)?
The main work is the GSSENCRequest handshake plus a transport wrapper that does GSS wrap/unwrap, since there's no start_tls equivalent. Does that approach fit how you'd want it structured?
Tests would need a Kerberos KDC. Would you prefer those gated behind an optional marker/CI job, or kept out of the default suite?
Should prefer be the default as in libpq, or should it start opt-in to avoid changing existing behavior?
Happy to start with a design sketch if that's easier to review first.