Re: PGPASSWORD in crypted form, for example BlowFish or SHA-256

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PGPASSWORD in crypted form, for example BlowFish or SHA-256
Дата
Msg-id 22653.1568902197@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PGPASSWORD in crypted form, for example BlowFish or SHA-256  (Matthias Apitz <guru@unixarea.de>)
Список pgsql-general
Matthias Apitz <guru@unixarea.de> writes:
> Is there somehow an API in PG to use ciphered passwords and provide as a
> shared library the blob to decrypt it?

No.  Consider a non-password auth mechanism, for instance SSL
certificates.  You might find that an SSL certificate file
stored where libpq will find it is already about as secure as
what you're doing now.  If you want to jump through extra
hoops for more security, I think you can use ssh-agent to
hold the keys.

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Matthias Apitz
Дата:
Сообщение: Re: PGPASSWORD in crypted form, for example BlowFish or SHA-256
Следующее
От: Tom Lane
Дата:
Сообщение: Re: n_live_tup count increase after vacuum