From: Álvaro Hernández Tortosa <aht@8kdata.com>
To: pgjdbc list <pgsql-jdbc@postgresql.org>
Subject: Add SCRAM support
Date: Sun, 11 Jun 2017 23:34:44 +0200
Message-ID: <95dea232-aeeb-d619-e917-abf32b44ef8a@8kdata.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Hi list!
Hopefully this is good news, I have submitted a PR adding SCRAM
support to the driver:
https://github.com/pgjdbc/pgjdbc/pull/842
PR is very simple on itself, since most of the work has been done
on this external SCRAM library:
https://github.com/ongres/scram
This library was purpose-written for pgjdbc, but with the idea that
it could be easily re-used by third parties.
TODOs:
- pgjdbc:
* Patch is not integrated with current pgjdbc test system.
Contributions are welcome, I will focus my efforts on improving now the
library!
* I guess patch needs the "magic macros" that prevent the code from
being included in Java < 8 versions
- library:
* Current version is 1.0.0-beta2. I will bump the version to 1.0.0
once StringPrep support is added and any bugs are ironed out, such that
pgjdbc release will depend on 1.0.0.
* Library is currently decently tested (>70 unit tests) but more
work will be done here
Testing, contributions and ideas are welcome.
Thanks!
Álvaro
--
Álvaro Hernández Tortosa
-----------
<8K>data
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: aht@8kdata.com
Subject: Re: Add SCRAM support
In-Reply-To: <95dea232-aeeb-d619-e917-abf32b44ef8a@8kdata.com>
References: <95dea232-aeeb-d619-e917-abf32b44ef8a@8kdata.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