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 1iITQ1-0002Bz-Uq for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Oct 2019 08:03:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iITQ0-0004x2-Q3 for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Oct 2019 08:03:28 +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 1iITQ0-0004wp-Gg for pgsql-hackers@lists.postgresql.org; Thu, 10 Oct 2019 08:03:28 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iITPu-0005l2-7z for pgsql-hackers@postgresql.org; Thu, 10 Oct 2019 08:03:28 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id EC98521B7C; Thu, 10 Oct 2019 04:03:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 10 Oct 2019 04:03:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=M8+H/BkuW9fPJ6yp8vGBS0EEGNB 0ExKOVqos+N42NLM=; b=hnP2UBihzZplhRoGPQ+g1Q/XpmbSgGIgL60ZoUVyLJ/ NavEbeUF/lba93VfYGpLFvnmkRVp2xf/vZL9a95T9GDrAo8ge3Zwnugl6/xRAwTG +uoAQh9id8/nDn/uSEZjXg1c+4niflfiQR+CAizAHQ+hu8q8T1rFQxeVpRFZUber /b8aN3J2nHcS8aTHjv6o9SMqsczSy7s6kzFdOOUo+xxtmMo6ooeD88vTMwCk7C08 biBocJSZjxBty5JzBe0Ff6ABqsFqVfA7mmMeedmNoB1+RRYRRUO0wL2+7zt6o3Fu KY1Zp4Kq7RpcI/mYO6P1VBLCVNyn/zkM6ip1EmYDaSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=M8+H/B kuW9fPJ6yp8vGBS0EEGNB0ExKOVqos+N42NLM=; b=rbhTfQXR1R6GzwRHe5LvRh AMvxhFp3+iZxHP22CkFlmV8aR5n3Dj8cQ7jK9sLHB5lPkVKQAZ+scIRBv84Nwcdm E2fHchvhnd2XOP3I5RVpAok9o1CoSWDMG1a2G5K3Fvc2a3OC5AUleRGRcTpqd7+O kXfDiZoX8yj3aWBOzVcqpHITz+w6cDfNy/v73kxrY8TIAM5vH5Nv6VngP3hG944t TYswhX+YItOLS70KjdPk6UpZHBDEzZLbjqs6pAFEr9CkMDRHZAVsNYpX9ozTtPKz Iymbvbq8qHK5wZOHK0dV/qkbCCHW1m1XhbvQBkyAE2i7OmgOyNJm7v8Q5PpLo4ww == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedriedvgddufedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepudduuddruddtvddrudektddrudekheenucfrrghr rghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 71101D60063; Thu, 10 Oct 2019 04:03:19 -0400 (EDT) Date: Thu, 10 Oct 2019 17:03:16 +0900 From: Michael Paquier To: Peter Eisentraut Cc: pgsql-hackers , Heikki Linnakangas Subject: Re: use of the term "verifier" with SCRAM Message-ID: <20191010080316.GI1852@paquier.xyz> References: <73ba767c-f7dc-ce9e-3810-0daa184918a0@2ndquadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="x+RZeZVNR8VILNfK" Content-Disposition: inline In-Reply-To: <73ba767c-f7dc-ce9e-3810-0daa184918a0@2ndquadrant.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --x+RZeZVNR8VILNfK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 10, 2019 at 09:08:37AM +0200, Peter Eisentraut wrote: > Here is my proposed patch to adjust this. Looks fine to me reading through. I think that you are right to not change the descriptions in build_server_final_message(), as that's described similarly in RFC 5802. By renaming scram_build_verifier() to scram_build_secret() you are going to break one of my in-house extensions. I am using it to register for a user SCRAM veri^D^D^D^D secrets with custom iteration and salt length :) -- Michael --x+RZeZVNR8VILNfK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl2e5cQACgkQnvQgOdby QH17Ww/+NXgh2KulFyspwQimcLaWpAkb6cjDSW6HI2NJNyZ1Pdm8zvdr9YYfhRXT 4vY2CvV5gWAESaFBqb3TzSoo5sCMcBDu6fCgKTd85DbNIqil2zrHHEip297zugYm sPvNwI4fi93q0dM/Bj37HoTBNa7BX5mN4+OSjJ+hiPT3yVwSrjU5+02jLwvKPfNF ivrcH+IqhFZlgRo4kGqtutlyJsCHygJbnQWUoamr2RiS4XhPGScCpxyKa6Q7lF/G 2Nut0v7W10MxMEk4CGOV70OGCQp/n/3vBeZxLfIO/Niwec0E2XHQ91EjTkTg1Muk GoW+OKZbQhiR86XwGV9PQAtheH91gPeeVdXssOqtwqVCiaACj8qXmd4JoSSk7PZe CLgs22kSYeX/RjwF5ijwuEElhXWWfMYhC6rsStD3nEQieG9OyKIdMXufFvrGRHAA mHprbl7O1Vpo4ARfP6oQzDf0NXa9ud814sMHdckzmiS4YvQKGKlm8cAuYiXBm48U M3U0kPTf2I2s3SqHAcHBmKmaOCdWUdBK+JA9A9i3bjbLT4wNQkTqgPHslb9SKA/C aMJBef2ktcNrKo8zfJqXLdsll1fBVrwhktGmEKnSjMRU4TynuYOTmnynhvknliB2 f1eWogD8rsn3OpTjMuVzZt2yyhWaoUYuKDyqPwOB224FmIKT1Rg= =5kaQ -----END PGP SIGNATURE----- --x+RZeZVNR8VILNfK--