From: Dave Cramer <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] ad921b: Gssapi encrypted (#1821)
Date: Sat, 18 Jul 2020 03:11:50 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/44b124-ad921b@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: ad921b9e3563b28b9a03b1e2dfaad0e34efc02f1
https://github.com/pgjdbc/pgjdbc/commit/ad921b9e3563b28b9a03b1e2dfaad0e34efc02f1
Author: Dave Cramer <davecramer@gmail.com>
Date: 2020-07-18 (Sat, 18 Jul 2020)
Changed paths:
A .github/workflows/testgss.yml
M CHANGELOG.md
M README.md
M build.properties
M docs/documentation/head/connect.md
M pgjdbc/src/main/java/org/postgresql/PGProperty.java
M pgjdbc/src/main/java/org/postgresql/core/PGStream.java
M pgjdbc/src/main/java/org/postgresql/core/VisibleBufferedInputStream.java
M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java
M pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java
A pgjdbc/src/main/java/org/postgresql/gss/GSSInputStream.java
A pgjdbc/src/main/java/org/postgresql/gss/GSSOutputStream.java
M pgjdbc/src/main/java/org/postgresql/gss/GssAction.java
A pgjdbc/src/main/java/org/postgresql/gss/GssEncAction.java
M pgjdbc/src/main/java/org/postgresql/gss/MakeGSS.java
A pgjdbc/src/main/java/org/postgresql/jdbc/GSSEncMode.java
M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java
A test-gss/build.gradle
A test-gss/gradle/wrapper/gradle-wrapper.jar
A test-gss/gradle/wrapper/gradle-wrapper.properties
A test-gss/gradlew
A test-gss/gradlew.bat
A test-gss/jaas.conf
A test-gss/settings.gradle
A test-gss/src/main/groovy/Kerberos.groovy
A test-gss/src/main/groovy/PgJDBC.groovy
A test-gss/src/main/groovy/Postgres.groovy
A test-gss/src/main/groovy/TestPostgres.groovy
A test-gss/src/main/groovy/Util.groovy
Log Message:
-----------
Gssapi encrypted (#1821)
* add test-gss to test gss encrypted mode
* chore: add gss encrypted mode
This was added in PostgreSQL 12
After creating an initial socket we then try to elevate the connection to GSS encrypted
If this fails we then try ssl
All of this is dependent on the gssEncMode
* try normal authentication
* use encrypted authentication when necessary
* make test fail using Assert.that if they do not succeed
* document use of gssEncMode, add entry to changelog
Co-authored-by: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] ad921b: Gssapi encrypted (#1821)
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/44b124-ad921b@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/44b124-ad921b@github.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox