pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Add TAP tests for password-based authentication methods.
Date: Mon, 20 Mar 2017 08:30:48 +0200
Message-ID: <b859f0ec-ca4d-2885-5f06-65f287bf843d@iki.fi> (raw)
In-Reply-To: <CAB7nPqRZ_LNTCJ7gGjE_SpRanGoALfTgsxdauNsKq+LBRH9fxg@mail.gmail.com>
References: <E1cooJj-0005Tu-Ky@gemulon.postgresql.org>
	<CAB7nPqRZ_LNTCJ7gGjE_SpRanGoALfTgsxdauNsKq+LBRH9fxg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 03/18/2017 02:55 PM, Michael Paquier wrote:
> On Fri, Mar 17, 2017 at 6:37 PM, Heikki Linnakangas
> <heikki.linnakangas@iki.fi> wrote:
>> Add TAP tests for password-based authentication methods.
>>
>> Tests all combinations of users with MD5, plaintext and SCRAM verifiers
>> stored in pg_authid, with plain 'password', 'md5' and 'scram'
>> authentication methods.
>
> This patch has forgotten two things:
> 1) src/test/authentication/.gitignore.
> 2) A refresh of vcregress.pl to run this test suite on Windows.
> Please find attached a patch to address both issues.

The tests don't actually work on Windows, and will all be skipped if 
try. So "vcregress authcheck" as in this patch is pretty useless.

With some effort, we could make it work on Windows. It currently assumes 
unix domain sockets, when it rewrites pg_hba.conf - that would need to 
use TCP instead. And to make it secure, use a long-enough random 
password instead of a hard-coded constant. I'm not volunteering to do 
that, though.

- Heikki



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (6+ messages)  latest in thread

Message-ID: <b859f0ec-ca4d-2885-5f06-65f287bf843d@iki.fi>
Permalink:  ../b859f0ec-ca4d-2885-5f06-65f287bf843d@iki.fi/
Also on:    postgresql.org/message-id/b859f0ec-ca4d-2885-5f06-65f287bf843d@iki.fi

 · 

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-committers@postgresql.org
  Cc: hlinnaka@iki.fi, michael.paquier@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add TAP tests for password-based authentication methods.
  In-Reply-To: <b859f0ec-ca4d-2885-5f06-65f287bf843d@iki.fi>
  References: <E1cooJj-0005Tu-Ky@gemulon.postgresql.org> <CAB7nPqRZ_LNTCJ7gGjE_SpRanGoALfTgsxdauNsKq+LBRH9fxg@mail.gmail.com> <b859f0ec-ca4d-2885-5f06-65f287bf843d@iki.fi>

* 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