Re: WIP: SCRAM authentication

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP: SCRAM authentication
Date: 2015-08-18 04:35:46
Message-ID: CAB7nPqTQScwZ=LwBn_Y1dZmc8bXCSvXTEUaQ1MRA_-9VchtQuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 12, 2015 at 1:37 PM, Michael Paquier wrote:
> For now, I am attaching a new series of patches, and the SCRAM
> authentication is still using the new catalog pg_auth_verifiers.
> Switching to a one-verifier-per-role approach or similar does not seem
> to be a huge task to me.

Attached is a new series of patches. Compared to the last version
submitted, encoding routines for base64, escape and hex have been
moved to src/common to avoid duplication between frontend and backend.
I have as well fix a couple of issues in the SCRAM implementation and
made some cosmetic changes to make the code easier to read and more
understandable.
Regards,
--
Michael

Attachment Content-Type Size
0001-Add-facility-to-store-multiple-password-formats.patch text/x-diff 75.7 KB
0002-Move-sha1.c-to-src-common.patch text/x-diff 3.8 KB
0003-Refactor-sendAuthRequest.patch text/x-diff 5.5 KB
0004-Refactor-RandomSalt-to-handle-salts-of-different-len.patch text/x-diff 2.0 KB
0005-Move-encoding-routines-to-src-common.patch text/x-diff 22.7 KB
0006-SCRAM-authentication.patch text/x-diff 72.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kaare Rasmussen 2015-08-18 05:11:15 Re: jsonb array-style subscripting
Previous Message Victor Wagner 2015-08-18 04:18:50 Proposal: Implement failover on libpq connect level.