| From: | Dave Cramer <noreply(at)github(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
| Subject: | [pgjdbc/pgjdbc] ad921b: Gssapi encrypted (#1821) |
| Date: | 2020-07-18 10:11:50 |
| Message-ID: | pgjdbc/pgjdbc/push/refs/heads/master/44b124-ad921b@github.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: ad921b9e3563b28b9a03b1e2dfaad0e34efc02f1
https://github.com/pgjdbc/pgjdbc/commit/ad921b9e3563b28b9a03b1e2dfaad0e34efc02f1
Author: Dave Cramer <davecramer(at)gmail(dot)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(dot)vladimir(at)gmail(dot)com>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vladimir Sitnikov | 2020-07-18 16:05:35 | [pgjdbc/pgjdbc] 6d4dc7: chore: move testgss to main.yml to avoid duplicate... |
| Previous Message | Vladimir Sitnikov | 2020-07-14 14:17:20 | [pgjdbc/pgjdbc] 44b124: chore: fix style in pgjbc/build.gradle.kts |