Re: MD5 authentication needs help -SCRAM

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: MD5 authentication needs help -SCRAM
Date: 2015-03-14 07:44:02
Message-ID: 5503E6C2.7070106@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03/09/2015 04:43 PM, Abhijit Menon-Sen wrote:
> At 2015-03-09 13:52:10 +0200, hlinnaka(at)iki(dot)fi wrote:
>>
>> Do you have any insight on why the IETF working group didn't choose a
>> PAKE protocol instead of or in addition to SCRAM, when SCRAM was
>> standardized?
>
> Hi Heikki.
>
> It was a long time ago, but I recall that SRP was patent-encumbered:
>
> https://datatracker.ietf.org/ipr/search/?rfc=2945&submit=rfc
>
> The Wikipedia page says the relevant patents expired in 2011 and 2013.
> I haven't followed SRP development since then, maybe it's been revised.
>
> When SCRAM was being discussed, I can't recall any other proposals for
> PAKE protocols. Besides, as you may already know, anyone can submit an
> internet-draft about anything. It needs to gain general support for an
> extended period in order to advance through the standards process.

Ok, makes sense. Perhaps it would be time to restart the discussion on
standardizing SRP as a SASL mechanism in IETF. Or we could just
implement the draft as it is.

> Could you please explain what exactly you mean about a SCRAM
> eavesdropper gaining some advantage in being able to mount a
> dictionary attack? I didn't follow that part.

Assume that the connection is not encrypted, and Eve captures the SCRAM
handshake between Alice and Bob. Using the captured handshake, she can
try to guess the password, offline. With a PAKE protocol, she cannot do
that.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2015-03-14 07:55:44 Re: Performance improvement for joins where outer side is unique
Previous Message Amit Kapila 2015-03-14 05:04:44 Re: Parallel Seq Scan