Re: Successor of MD5 authentication, let's use SCRAM - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Successor of MD5 authentication, let's use SCRAM
Date
Msg-id 20121012194712.GS29165@tamriel.snowman.net
Whole thread Raw
In response to Re: Successor of MD5 authentication, let's use SCRAM  (Marko Kreen <markokr@gmail.com>)
Responses Re: Successor of MD5 authentication, let's use SCRAM  (Marko Kreen <markokr@gmail.com>)
List pgsql-hackers
* Marko Kreen (markokr@gmail.com) wrote:
> As it works only on connect
> time, it can actually be secure, unlike user switching
> with SET ROLE.

I'm guessing your issue with SET ROLE is that a RESET ROLE can be issued
later..?  If so, I'd suggest that we look at fixing that, but realize it
could break poolers.  For that matter, I'm not sure how the proposal to
allow connections to be authenticated as one user but authorized as
another (which we actually already support in some cases, eg: peer)
*wouldn't* break poolers, unless you're suggesting they either use a
separate connection for every user, or reconnect every time, both of
which strike me as defeating a great deal of the point of having a
pooler in the first place...
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Successor of MD5 authentication, let's use SCRAM
Next
From: Simon Riggs
Date:
Subject: Re: Deprecating RULES