Thread: change p/w hashing

change p/w hashing

From
"Jean-Yves F. Barbier"
Date:
Hi list,

Is there an easy way to discard Pg default md5 password hashing and replace it
by SHA256 (or SHA512) + salt?

JY
--
Psychiatry is the care of the id by the odd.

Re: change p/w hashing

From
Josh Kupershmidt
Date:
On Fri, Jun 17, 2011 at 3:56 AM, Jean-Yves F. Barbier <12ukwn@gmail.com> wrote:
> Is there an easy way to discard Pg default md5 password hashing and replace it
> by SHA256 (or SHA512) + salt?

I doubt there's an "easy way". First, the md5 authentication of
clients via libpq would be broken. Second, AFAIK the only hash algo
built into core is MD5 (SHA-256 and friends are in
./contrib/pgcrypto).

Josh