Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpqqK-0001uL-0e for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Mar 2017 06:31:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cpqqJ-0006nb-GI for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Mar 2017 06:30:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cpqqI-0006nR-Kh for pgsql-hackers@postgresql.org; Mon, 20 Mar 2017 06:30:58 +0000 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cpqqF-0007X4-3P for pgsql-hackers@postgresql.org; Mon, 20 Mar 2017 06:30:57 +0000 Received: by mail-lf0-x233.google.com with SMTP id z15so51368887lfd.1 for ; Sun, 19 Mar 2017 23:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=F1yqcAFpP2kOHm3oyDnAeiqaUeNY8yAkfBq2GPxpP0c=; b=IqFjeq8T6IX8cYy/1DMeDYxeMx2iz59Je5LTv4CB/wq7iQUfG+ZBaMfFfz31l6tkGs wHTA/YYc+DtYPbYEcxl7o4Bvf5Ug9sXxg8X7WK20zXcdE6AFpLBUOMGwQ9pPmxV3BkZT hS9ry7hSiQX7nfScCkjI9yfqvqEg0JJphJxq0NPklf0eGY8PZs7p/sH/CVIdlUllO75n iPeItjuRSCNWgrzX2AiKZLmzpXaBGuRnDF/DyqMek64LmM9tmp5zI/nsMJvFAxV8IBti u3v6GlPXAX5ovAvKxzyGEJeJifa14z/qIPLesJlpyaVXw6TXUdvxcVBTK4JR+MXa2e3X YjrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=F1yqcAFpP2kOHm3oyDnAeiqaUeNY8yAkfBq2GPxpP0c=; b=FxDM0Odl2ppTDI2qW1CulEhqZlGpN06zrbeDMtFPSZlNHdlLGtcj0g4w2sOP3nGPc8 KRS1Bhq5f3Wx3/WtlDuOO2TFsbL65F/52Sv88/X7PTecFz+kFtX54HSDrdEuBQp58BSm P3iebpLWk4SXejE/TsskGQ8znxxU6Uij3KU5AUKYPbxAOV2bdTPRL/bHz7blkAQuu4UM KAzkB3bTfGbGS+PsYlHVsn33RgAjsi3TA9azrmdytPDlA9nCDb3Lo0YEZ3d5TsY2Yv/E Lgi/5ZM8WwbC+eSpFFv8ntfGn1H7KrCRTDL8prTuKz3lCQxtPBWM3Q/riTLRYxDriUp+ dtVA== X-Gm-Message-State: AFeK/H34pBJyHO61s2SELfBqu4lYI81Zg5mtDm+RBofYYrz1oWBF+FzgkBeBdd0JIfjfMA== X-Received: by 10.25.242.73 with SMTP id d9mr7587168lfk.89.1489991452715; Sun, 19 Mar 2017 23:30:52 -0700 (PDT) Received: from [10.222.24.205] ([82.203.205.235]) by smtp.gmail.com with ESMTPSA id y21sm2838283lfj.12.2017.03.19.23.30.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Mar 2017 23:30:52 -0700 (PDT) Subject: Re: [COMMITTERS] pgsql: Add TAP tests for password-based authentication methods. To: Michael Paquier References: Cc: PostgreSQL mailing lists From: Heikki Linnakangas Message-ID: Date: Mon, 20 Mar 2017 08:30:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 03/18/2017 02:55 PM, Michael Paquier wrote: > On Fri, Mar 17, 2017 at 6:37 PM, Heikki Linnakangas > 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