Re: pgsql: Use SASLprep to normalize passwords for SCRAM authentication.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Use SASLprep to normalize passwords for SCRAM authentication.
Date: 2017-04-08 01:23:51
Message-ID: 8934.1491614631@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> writes:
> Use SASLprep to normalize passwords for SCRAM authentication.

The test script that this adds appears to fail unless the environment
selects a UTF8-based locale. On my RHEL6 machine, I see:

LANG=C make check fail
LANG=en_US.iso88591 make check fail
LANG=en_US.utf8 make check ok

I'm surprised that more of the buildfarm hasn't fallen over.
Please do something about that.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Euler Taveira 2017-04-08 01:26:32 Re: pgsql: Add infrastructure to support EphemeralNamedRelation references.
Previous Message Andres Freund 2017-04-08 00:19:09 Re: pgsql: Improve 64bit atomics support.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-04-08 01:28:34 Re: Push down more UPDATEs/DELETEs in postgres_fdw
Previous Message Keith Fiske 2017-04-08 01:18:46 Re: Partitioned tables vs GRANT