Re: Re: Proposal for encrypting pg_shadow passwords

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Re: Proposal for encrypting pg_shadow passwords
Date: 2001-08-16 17:05:24
Message-ID: Pine.LNX.4.30.0108161903120.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian writes:

> OK, here is a new patch that creates a new md5 keyword on pg_hba.conf.
> That certainly makes my coding easier, and when I apply the patch to use
> larger salt for MD5, there is now a good reason to have a different
> keyword. With the old system, they could have used an old client to
> reply a sniffed packet, while now, if the host is set to MD5, they have
> a much larger namespace with no fallback to crypt.

I don't follow this argument. You added a config option that toggles
whether to use the old crypt(3) method or the new md5 method. If the old
method is enabled then everything works as until now. If the new method
is enabled, old clients will fail smoothly. I don't see why you need to
introduce a new authentication type token; I thought the idea was to allow
this to work transparently.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-08-16 17:06:45 Re: Re: Proposal for encrypting pg_shadow passwords
Previous Message Tom Lane 2001-08-16 17:04:46 Re: Re: Proposal for encrypting pg_shadow passwords