Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuqTr-0002Oh-5m for pgsql-jdbc@arkaria.postgresql.org; Mon, 03 Apr 2017 01:08:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cuqTq-0007aJ-Js for pgsql-jdbc@arkaria.postgresql.org; Mon, 03 Apr 2017 01:08:26 +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 1cuqTK-0005pq-Ee for pgsql-jdbc@postgresql.org; Mon, 03 Apr 2017 01:07:54 +0000 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cuqTH-0002Uu-9S for pgsql-jdbc@postgresql.org; Mon, 03 Apr 2017 01:07:53 +0000 Received: by mail-wr0-x236.google.com with SMTP id l43so149216968wre.1 for ; Sun, 02 Apr 2017 18:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8kdata-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=bIKi/tu4CS2/S4KMiDQnizaZM9WWuYgVs26eGfl5wj0=; b=e7JyIiPVPx19dLb3K0P1ZwPZolgmrX3nAk9IGAJpBvXq68FSkSK+7H5P1Gt6kb9xx5 jFgkzqaG+BL+NGSCy0kaxE7q1l+7aeGVy3E4f8G67J6IJDzITg/YJ1A9oDbufWB0oKmq gaTcv/WVyHCgIg2RoWXeC9tp1AH8Cdsg9vmUyRFJlSjv6Egf84U2QwbUlJh2LLlbl0Cy VpeE6OBfalATV9syd1VDgPc+u2ckffPIgOcqj6Q+GXU2HpXWYvWe3QNeAg3V51oPqk76 Nlz9qI5vGclXVp+Trfk3YPEPF3JzMEaI1mWAYpZCPn2teLSV041HvOYMMxPAi5a8yvEG Z0qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=bIKi/tu4CS2/S4KMiDQnizaZM9WWuYgVs26eGfl5wj0=; b=TyMlj/sTcPrXRV6+QZpXVo9c1o6Mh3rwy+Wf33e7BVcadrSxVOOUHUW7EWdEokc1EE Dv5kl8ofZuaiaOE0o8Book9DfazKNjWuMvfK7cOOioxkcJLEMcjk1uNxhuVHq+jkT2nE uh98iSkNRFbf8C1zh0gLedm2utX5dSeTv55WJt9Gag/F9ZeflBZQJJ3PJD5/Hfegumef FJeKU5k/0LhgRBfFyIZH2P56JunzxwAgQ5+hphz3SnXfnTyWNk8h75MdHoWwNCj+eWv5 QbmR+wtoz7seRAFSBMWD8ZSTC95RAmdJlceBQ/Sj1oRXSTr+yRMEopJDIIfTVJ6xCYnB 4mRA== X-Gm-Message-State: AFeK/H2UXij+VchrklJmc0Bjik5o8NW6rxvmkWb84eACZtYvI6cO2R0/sw64abaH7QYtyw== X-Received: by 10.223.176.58 with SMTP id f55mr13273825wra.124.1491181670302; Sun, 02 Apr 2017 18:07:50 -0700 (PDT) Received: from [192.168.1.130] (148.126.218.87.dynamic.jazztel.es. [87.218.126.148]) by smtp.gmail.com with ESMTPSA id f38sm4001118wrf.22.2017.04.02.18.07.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Apr 2017 18:07:49 -0700 (PDT) Subject: Re: SCRAM inplementation To: Michael Paquier References: <47f0171d-6d34-fc12-2849-fd157d69925b@8kdata.com> Cc: Dave Cramer , List From: =?UTF-8?Q?=c3=81lvaro_Hern=c3=a1ndez_Tortosa?= Message-ID: Date: Mon, 3 Apr 2017 03:07:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 03/04/17 02:50, Michael Paquier wrote: > On Mon, Apr 3, 2017 at 9:34 AM, Álvaro Hernández Tortosa wrote: >> Same as above: the idea is to have it as a general-purpose library. >> Maybe others want SHA-1. It is very simple to implement it, it adds no extra >> effort. > You may be interested in something like this one: > https://github.com/ogrebgr/scram-sasl Thanks. I already did have a look at it. But this library comes with 0 tests. And has some code copied over other projects, which becomes (probably) unmaintained. I'm writing a clean-room implementation, with proper tests and no code copied (dependencies if required). There are some nice ideas in the library, though. Álvaro -- Álvaro Hernández Tortosa ----------- <8K>data -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc