Re: Encrypting pg_shadow passwords

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vince Vielhaber <vev(at)michvhf(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Encrypting pg_shadow passwords
Date: 2001-06-15 18:02:30
Message-ID: 25154.992628150@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vince Vielhaber <vev(at)michvhf(dot)com> writes:
>> More to the point, how does the postmaster know that it's now dealing
>> with encrypted passwords and must use the double-salt auth method?

> The first three characters are md5 in the code I sent Bruce.

Uh ... so if I use a password that starts with "md5", it breaks?

Seems like adding an additional column to pg_shadow would be a better
technique.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-06-15 18:27:02 Re: RE: Row Versioning, for jdbc updateable result sets
Previous Message Peter Eisentraut 2001-06-15 17:56:46 Re: Protocol Documentation