Thread: Re: Re: Proposal for encrypting pg_shadow passwords

Re: Re: Proposal for encrypting pg_shadow passwords

From
Bruce Momjian
Date:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Also, I now need two salts, one base62 for crypt and a new one for MD5.
>
> They're carried in two different messages, so I don't see the problem.

But the salt is configured on startup, before you know your auth method,
right?  Do I need to move that?  Right now I have two salt fields based
on the same random and I send the appropriate one.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026