From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Michael Samuel <michael(at)miknet(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: Encrypting pg_shadow passwords |
Date: | 2001-07-11 17:00:42 |
Message-ID: | 200107111700.f6BH0gi14812@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> That is not true. The internet happily allows for active attacks. In
> fact, active attacks are easier on the internet than passive ones.
>
> My concern is, that by having something that we proclaim to be secure, we
> need for it to really be secure.
>
> An HMAC would be a better alternative to the current crypt scheme, as
> it would provide integrity, without the overhead of having privacy.
>
> Of course, HMAC would require the postgres protocol to talk in "packets",
> as it can't accept the data as being valid until it verifies the MAC. I'm
> not familiar with the protocol yet.
>
> I suggest these authentication options:
>
> * password - The current meaning of password, but with passwords hashed
> using md5crypt() or something. (The usual crypt unneccessarily limits
> passwords to 8 characters)
Once I do crypting of pg_shadow/double-crypt for 7.2, we don't need
password anymore. It is around only for very old clients and for
secondary password files but wWe will not need that workaround with
double-crypt.
> * HMAC - Wrap all postgres data in an HMAC (I believe this requires an
> plaintext-like password on the server as does crypt and the double
> crypt scheme)
No, double-crypt has the passwords stored encrypted.
> * Public Key (RSA/DSA) - Use public key cryptography to negotiate a
> connection. (When I'm not busy, I may decide to do this myself)
SSL?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-07-11 17:02:49 | Re: Re: Encrypting pg_shadow passwords |
Previous Message | Tom Lane | 2001-07-11 16:26:43 | Re: Re: SOMAXCONN (was Re: Solaris source code) |