Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 0D2C0B5DBDB for ; Tue, 24 May 2011 01:58:40 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 54710-04 for ; Tue, 24 May 2011 04:58:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from atcmail.atc.tcs.com (atcmail.atc.tcs.co.in [203.200.212.145]) by mail.postgresql.org (Postfix) with ESMTP id 5CDEEB5DBBD for ; Tue, 24 May 2011 01:58:30 -0300 (ADT) Received: from [172.25.149.79] (marc.atc.tcs.com [172.25.149.79]) by atcmail.atc.tcs.com (8.13.8/8.13.8) with ESMTP id p4O4wKwv012053; Tue, 24 May 2011 10:28:21 +0530 Message-ID: <4DDB3A6A.3000608@atc.tcs.com> Date: Tue, 24 May 2011 10:26:10 +0530 From: =?ISO-8859-1?Q?Marc-Andr=E9_Laverdi=E8re?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: Craig Ringer CC: Kris Jurka , pgsql-jdbc@postgresql.org Subject: Re: Support for cert auth in JDBC References: <4DD34FE5.3020609@atc.tcs.com> <4DD35BEA.3020902@postnewspapers.com.au> <4DD361CA.3070907@atc.tcs.com> <4DD36EFC.6070707@postnewspapers.com.au> <4DD379C5.1030703@atc.tcs.com> <4DD3C751.5080908@postnewspapers.com.au> <4DD4AED1.2080008@postnewspapers.com.au> <4DD4B535.1050707@atc.tcs.com> In-Reply-To: <4DD4B535.1050707@atc.tcs.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/70 X-Sequence-Number: 21900 Hi folks, It is not over... It is not in the CVS repository yet :D What would be the next step? My guess is that we need to update the testware for it. That sounds like a tricky proposition that would mess up a bunch of things here and there... Any ideas on how to do it best? Marc-André Laverdière Software Security Scientist Innovation Labs, Tata Consultancy Services Hyderabad, India On Thursday 19 May 2011 11:44 AM, Marc-André Laverdière wrote: > Hi guys, > > Here are some improvements based on the comments I saw so far. > I'm also adding a small cheapo tester. Definitely not JUnit-ready :) > > Marc-André Laverdière > Software Security Scientist > Innovation Labs, Tata Consultancy Services > Hyderabad, India > > On Thursday 19 May 2011 11:16 AM, Craig Ringer wrote: >> On 05/18/2011 11:32 PM, Kris Jurka wrote: >>> >>> >>> On Wed, 18 May 2011, Craig Ringer wrote: >>> >>>> Alas the SSLSocketFactory interface doesn't offer any really nice >>>> options like a way to pass a Properties instance to the ctor, >>> >>> That'd be an easy thing to fix, just add another case to >>> org.postgresql.ssl.MakeSSL#convert to pass through the provided >>> Properties object. I've thought about that in the past, but with no real >>> use case, I wasn't in a big rush to do so. >> >> OK, good to know. >> >> It wasn't a big issue for me in the end, as I landed up fetching my >> configuration using the String argument form as a key to an >> application-specific configuration provider. It's much easier to pass a >> String argument through various layers one often has over the JDBC >> driver, like an ORM or the like. >> >> -- >> Craig Ringer >> >> >>