Re: [PATCH v14] GSSAPI encryption support
Robbie Harwood <rharwood@redhat.com>
From: Robbie Harwood <rharwood@redhat.com>
To: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>,
Stephen Frost <sfrost@snowman.net>
Date: 2018-05-23T20:00:16Z
Lists: pgsql-hackers
Attachments
- v14-libpq-GSSAPI-encryption-support.patch (text/x-diff)
Hello -hackers, Zombie patch is back from the dead. It's been a bit more than two years since v12 (the last major revision) and almost three since it was originally submitted. (I do have enough pride to point out that it did not actually /take/ anywhere close to two years to update it.) CC'd are reviewers from before; I appreciate their input from before, but there is of course no obligation for them to page all this back in, especially if they don't want to. A large chunk of this code is unchanged from previous iterations of the patch, but this is a major re-architect. Various things have also been previously fixed as part of the GSSAPI testing efforts, for which I am grateful. So: this is GSSAPI encryption support for libpq. Based on feedback on previous versions, GSSAPI encryption has a separate negotiation step - similar to SSL negotiation. I've tried to incorporate all other feedback I've received thus far, but very likely missed things (and introduced new problems). To actually see encryption, you'll first need to configure the server as for GSSAPI authentication. You'll also need to ensure the HBA configuration has a rule that will permit it. However, there should hopefully be enough information to set this up in the corresponding docs changes (and if there isn't, I should fix it). The Kerberos/GSSAPI implementation shouldn't matter, but I am testing using MIT krb5 (through freeIPA); I wrote a post a while back for my setup here: https://mivehind.net/2015/06/11/kerberized-postgresql/ Finally, I've submitted this as a single patch because it was requested previously. I'm happy to break it apart into many commits instead, if that's helpful. Thanks, --Robbie
Commits
-
GSSAPI encryption support
- b0b39f72b990 12.0 landed
-
Fix typo
- 57c932475504 9.6.0 cited