Re: passwords

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: mixo <mixo(at)beth(dot)uniforum(dot)org(dot)za>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: passwords
Date: 2003-03-13 14:27:04
Message-ID: 200303131427.h2DER4520566@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

mixo wrote:
>
> I have been playing around with passwords on 7.2.3. So far what I
> have noticed is that password are either sent via tcp/ip as clear text ()
> or, encrypted using "crypt" and "md5". Are the anymore more encryption
> methods suppored like "sha"? And, when passwords are stored as encrypted,
> what is used to encrypt them? Does "pg_passwd" app use the same encryption
> as that used when the passwords are store internally?

No, only those three, and once you store them as encrypted, you can only
use MD5 and password, crypt doesn't work. In 7.3, encrypted passwords
are stored by default.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James Gregory 2003-03-13 14:33:20 Audit trail
Previous Message James Thompson 2003-03-13 14:22:43 Re: Audit trail