Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxZcZ-0003DG-LL for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Aug 2019 16:26:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hxZcY-0001bd-GC for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Aug 2019 16:26:02 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxZcY-0001bW-3U for pgsql-hackers@lists.postgresql.org; Tue, 13 Aug 2019 16:26:02 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hxZcV-0000hy-95 for pgsql-hackers@postgresql.org; Tue, 13 Aug 2019 16:26:01 +0000 Received: by mail-pg1-x531.google.com with SMTP id e11so957626pga.5 for ; Tue, 13 Aug 2019 09:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=L+yJeE+ZIyRt+C0PLFytaVJk0yXmWKfhir6WL9Qy5Ys=; b=TMxF0TaLvH0ROhPEk5H9jo+gaswruY7k3uQ8eg8F0tKFHROprqF0dLzLZMs7ol6JUe Hci+yyPbA8U14jvTtqSm7EWCeyscg9/fKrYq6kr4iJI/HpqIzTvDcWDSdqG4gy6Ow8oa M8nPOaWQTRot66vKLHQ6ZANMLgJMvscw6DU/XE227D/X9N2HrykaaUl35iTEQTJzF9Ap wz3CHPKQYzPCOL9IznnqiieJ/gzjEw43f3gOOsHTztizvYPH+Ks7bz1BViE4B+4Wwn+u TRyuVdaUGnmV0Kl/1WyBrQoj6phvwFCq7bAQR+kgn7ma3xoTxGLOg+iP1DRki/KxrhbC qsUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=L+yJeE+ZIyRt+C0PLFytaVJk0yXmWKfhir6WL9Qy5Ys=; b=pN/D9jrLvjTUTg29q1jX2/aCHCrTiKC62m3JgwUKrdqQrZhpMvOv/UnwPj6EEapPD+ fde2wUstas9Fk4qZc+rwyf78DEtWBocVN+uUG4VqckQJFcj84QDW7uKx4aeHgV1XvBFD fjYCKoQlW2Z/GDeuDaY+ZmdiKpotpsvMTMSLqdT7XR1l66orq9sS4IBw/NDkXLvTpMRO b3z42Unp+D2X6iEPoT3NDZhcRLmxK+DBWatxpI0NOj6ti8kHZ6Mpc6GI22gV7p0sSaja aThdkFnRKEv1UGchY/2rFfp3wQjQwKic7i8G+OceKe6ij0z6ZhtKaRGmiR4QJv1fkf6z gAbg== X-Gm-Message-State: APjAAAWmx7QP7hqPC7RLtBRNVAus004sYu9/oDyxmq8Dm/TAiJNcFQ8n Ildh8M/j9kmu7uvJFWmhiyLR4w== X-Google-Smtp-Source: APXvYqzSImPcZAeB5ENJAVOiNfOP3eQYcocCVSu9CZC4xZD/qHnmep0GhmzsxOveFpOa+nyzYdQU4Q== X-Received: by 2002:a17:90a:2846:: with SMTP id p6mr3004721pjf.101.1565713556891; Tue, 13 Aug 2019 09:25:56 -0700 (PDT) Received: from jdavis ([2600:1010:b021:cf68:79e8:c09f:28f7:b726]) by smtp.gmail.com with ESMTPSA id f6sm111452008pga.50.2019.08.13.09.25.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Aug 2019 09:25:55 -0700 (PDT) Message-ID: <67726b008fa31d00d9a38257b3d1673b8afff2dd.camel@j-davis.com> Subject: Re: Add "password_protocol" connection parameter to libpq From: Jeff Davis To: Michael Paquier , Peter Eisentraut Cc: "Jonathan S. Katz" , Stephen Frost , pgsql-hackers@postgresql.org Date: Tue, 13 Aug 2019 09:25:53 -0700 In-Reply-To: <20190813025634.GF2551@paquier.xyz> References: <20190809030021.GG3194@paquier.xyz> <3bbf5968ea705700a2605d6db74d8510bea7940b.camel@j-davis.com> <20190809100922.GI3194@paquier.xyz> <20190809132850.GL16436@tamriel.snowman.net> <609482826475e0063c7d71b2449ae31c0d61b232.camel@j-davis.com> <071e45a6-97f7-1614-371c-98ecb03aed65@postgresql.org> <7a7a2f07-d013-eb80-85ba-9edaaf845038@2ndquadrant.com> <95b40ddcb3897772f075e6891521ee3f06f443d1.camel@j-davis.com> <93653d2b-7cf7-6992-7d3e-600ffd461354@2ndquadrant.com> <20190813025634.GF2551@paquier.xyz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, 2019-08-13 at 11:56 +0900, Michael Paquier wrote: > I tend to prefer #2 as well and that's the kind of approach we were > tending to agree on when we discussed this issue during the v11 beta > for the downgrade issues with libpq. And as you say extend it so as > we can apply filtering of more AUTH_REQ requests, inclusing GSS and > krb5. Can you please offer a concrete proposal? I know the proposals I've put out aren't perfect (otherwise there wouldn't be three of them), so if you have something better, please share. Regards, Jeff Davis