password storage docs

From: Richard Hector <richard(at)walnut(dot)gen(dot)nz>
To: pgsql-docs(at)postgresql(dot)org
Subject: password storage docs
Date: 2018-08-20 01:35:56
Message-ID: 2da8edec-c930-bd42-1ba0-a8ed172c80f4@walnut.gen.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hi,

Sending this as requested by xocolatl on #postgresql (irc).

On discovering that (md5) password hashes are stored in postgres in a
manner similar to this:

'md5' || md5('the most secret password' || 'username')

i.e. without the use of a random salt, it was suggested I should look
into the scram alternative.

I can't find information about the storage format for that at all -
other than "... and supports storing passwords on the server in a
cryptographically hashed form that is thought to be secure."

It would be nice to see more information on this.

Thanks,

Richard

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Paquier 2018-08-20 02:46:54 Re: password storage docs
Previous Message Thomas Munro 2018-08-17 01:25:42 Re: typo in parallel safety doc