pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steven Schlansker <stevenschlansker@gmail.com>
To: Sehrope Sarkuni <sehrope@jackdb.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: [PATCH] New SSL Socket Factory With Certificate Validation
Date: Wed, 28 Aug 2013 10:53:13 -0700
Message-ID: <F99A7360-2131-4BD4-BCC5-32CD638FE453@gmail.com> (raw)
In-Reply-To: <CAH7T-aoYHdL=paQ7n9w=z6YROLGXuhy=wO_PP6THt8LxROV1sw@mail.gmail.com>
References: <CAH7T-aoYHdL=paQ7n9w=z6YROLGXuhy=wO_PP6THt8LxROV1sw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>


On Aug 28, 2013, at 7:43 AM, Sehrope Sarkuni <sehrope@jackdb.com> wrote:

> Hi-
> 
> I tried posting this a couple weeks ago but it kept getting rejected
> by the list's filter so I ended up putting all the info in a pull
> request on GitHub (https://github.com/pgjdbc/pgjdbc/pull/80). Looks
> like I can (finally) post here now so here goes …


Hi,

This looks like really cool functionality.  My main concern with the code as written is that testing it requires manual steps, including booting a virtual machine and running a separate build.

In my experience, any steps beyond the simple "run all the tests" step will never be done.  Human nature.

Would it be possible to convert the test case to run as a part of the normal test suite?

There are also a couple of scary places where exceptions are swallowed, e.g. SingleCertTrustManager#<init>

Best,
Steven




-- 
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 (4+ messages)  latest in thread

Message-ID: <F99A7360-2131-4BD4-BCC5-32CD638FE453@gmail.com>
Permalink:  ../F99A7360-2131-4BD4-BCC5-32CD638FE453@gmail.com/
Also on:    postgresql.org/message-id/F99A7360-2131-4BD4-BCC5-32CD638FE453@gmail.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: stevenschlansker@gmail.com, sehrope@jackdb.com
  Subject: Re: [PATCH] New SSL Socket Factory With Certificate Validation
  In-Reply-To: <F99A7360-2131-4BD4-BCC5-32CD638FE453@gmail.com>
  References: <CAH7T-aoYHdL=paQ7n9w=z6YROLGXuhy=wO_PP6THt8LxROV1sw@mail.gmail.com> <F99A7360-2131-4BD4-BCC5-32CD638FE453@gmail.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