pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Hernández Tortosa <aht@8kdata.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Dave Cramer <davecramer@gmail.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: SCRAM inplementation
Date: Mon, 3 Apr 2017 00:25:39 +0200
Message-ID: <259ee439-3c0f-3470-6add-4b3c9125db2a@8kdata.com> (raw)
In-Reply-To: <CANP8+j+Qt-Dw_VjwCPSDp1kS8jUEBszUd0+aADTAC=yj8JJgbg@mail.gmail.com>
References: <CADK3HHJbfZQTe14T3Er-Wc1noQjnKngz3chyiXv82bNyUbF9UA@mail.gmail.com>
	<47f0171d-6d34-fc12-2849-fd157d69925b@8kdata.com>
	<CANP8+j+Qt-Dw_VjwCPSDp1kS8jUEBszUd0+aADTAC=yj8JJgbg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>



On 03/04/17 00:18, Simon Riggs wrote:
> On 2 April 2017 at 17:05, Álvaro Hernández Tortosa <aht@8kdata.com> wrote:
>
>> * Write both a client and server implementation. pgjdbc will only require
>> the former, of course, but having both will be great for testing.
>> * Do so as an independent library, also as an independent repository on
>> Github. This will help its reuse and testing by independent projects. I
>> presume it will have at least three different artifacts, a scram-common,
>> scram-server and scram-client. Only the latter will be directly imported as
>> a direct dependency by pgjdbc.
> Don't see any need for the external stuff. We just want a patch on the
> driver so any external dependencies are minimized, so we retain full
> control over what the driver is doing.

     Hi Simon.

     It's not that is a need. Its that it is what should be. Code 
re-utilization and sharing across different projects is mutually 
beneficial. C might not make this easy (it doesn't) but Java does and it 
should be leveraged. A specific external SCRAM project encourages other 
to use it, improve it, test it, outside our limited capabilities.

     I don't buy how this would mean less control over what the driver 
is doing. Code is open source, BSD license, either patches or forks 
could be created.... and it will be designed initially for pgjdbc needs. 
That's all we need, I believe.
> That can be reused easily
> enough in other projects, if they wish.

     How? Copy and paste the code somewhere else? This is exactly what I 
want to avoid. What if others find this functionality interesting? I 
think this method of being an external project favors sharing and 
collaboration among open source communities.

>
> Thanks for offering to write a patch.
>

     Thanks for all the patches you have written so far ^_^


     Á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



view thread (10+ messages)  latest in thread

Message-ID: <259ee439-3c0f-3470-6add-4b3c9125db2a@8kdata.com>
Permalink:  ../259ee439-3c0f-3470-6add-4b3c9125db2a@8kdata.com/
Also on:    postgresql.org/message-id/259ee439-3c0f-3470-6add-4b3c9125db2a@8kdata.com

 · 

reply

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, simon@2ndquadrant.com, davecramer@gmail.com
  Subject: Re: SCRAM inplementation
  In-Reply-To: <259ee439-3c0f-3470-6add-4b3c9125db2a@8kdata.com>
  References: <CADK3HHJbfZQTe14T3Er-Wc1noQjnKngz3chyiXv82bNyUbF9UA@mail.gmail.com> <47f0171d-6d34-fc12-2849-fd157d69925b@8kdata.com> <CANP8+j+Qt-Dw_VjwCPSDp1kS8jUEBszUd0+aADTAC=yj8JJgbg@mail.gmail.com> <259ee439-3c0f-3470-6add-4b3c9125db2a@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